A React interface for Ampache player.
Phyks (Lucas Verney) 1add19319d Add Travis-CI build + restore stylelint 5 years ago
app Add Travis-CI build + restore stylelint 5 years ago
hooks Add Travis-CI build + restore stylelint 5 years ago
scripts Translations improved 5 years ago
vendor Manage CSS with webpack as well, reduce number of final scripts 5 years ago
.babelrc Fix mixed content blocked when browsing the UI on HTTPS 5 years ago
.bootstraprc Move to CSS modules Also includes misc fixes 5 years ago
.eslintignore Initial commit 5 years ago
.eslintrc.js Hot reloading with webpack 5 years ago
.gitignore Translations improved 5 years ago
.stylelintrc Add Travis-CI build + restore stylelint 5 years ago
.travis.yml Add Travis-CI build + restore stylelint 5 years ago
CONTRIBUTING.md Move to CSS modules Also includes misc fixes 5 years ago
LICENSE Initial commit 5 years ago
README.md Translations improved 5 years ago
TODO Fix issue #3, focus issue on navbar 5 years ago
favicon.ico Initial commit 5 years ago
fix.ie9.js Initial commit 5 years ago
index.all.js Move to CSS modules Also includes misc fixes 5 years ago
index.development.js Translations improved 5 years ago
index.html Hot reloading with webpack 5 years ago
index.js Accessibility stuff 5 years ago
index.production.js Translations improved 5 years ago
package.json Add Travis-CI build + restore stylelint 5 years ago
webpack.config.base.js Add Travis-CI build + restore stylelint 5 years ago
webpack.config.development.js Move to CSS modules Also includes misc fixes 5 years ago
webpack.config.js Initial commit 5 years ago
webpack.config.production.js Hot reloading with webpack 5 years ago

README.md

Ampache React

This is an alternative web interface for Ampache built using Ampache XML API and React.

Trying it out

Just drop this repo in a location served by a webserver and head your browser to the correct URL :)

Support

The supported browsers should be:

  • IE >= 9 (previous versions of IE are no longer supported by Microsoft)
  • Any last three versions of major browsers (> 1% net share).
  • No support provided for Opera Mini.

If you experience any issue, please report :)

Building

Building of this app relies on webpack.

First do a npm install to install all the required dependencies.

Then, to make a development build, just run webpack in the root folder. To make a production build, just run NODE_ENV=production webpack in the root folder. All files will be generated in the app/dist folder.

Please use the Git hooks (in hooks folder) to automatically make a build before comitting, as commit should always contain an up to date production build.

Compilation cache is stored in .cache at the root of this repo. Remember to clean it in case of compilation issues.

Contributing

See CONTRIBUTING.md file for extra infos.

License

This code is distributed under an MIT license.

Feel free to contribute and reuse. For more details, see LICENSE file.