1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 18:33:38 +02:00
Modern user interface for https://github.com/airsonic/airsonic – CURRENTLY INACTIVE
  • Clojure 96.1%
  • Sass 2.8%
  • JavaScript 0.7%
  • HTML 0.4%
Find a file
2018-05-28 13:24:15 +02:00
public Move all source files to src folder 2018-05-28 13:24:15 +02:00
src Move all source files to src folder 2018-05-28 13:24:15 +02:00
.gitignore Add description for university project 2018-04-18 15:57:20 +02:00
package-lock.json Improve deploy script 2018-05-28 13:20:48 +02:00
package.json Move all source files to src folder 2018-05-28 13:24:15 +02:00
README.md Improve deploy script 2018-05-28 13:20:48 +02:00
shadow-cljs.edn Move all source files to src folder 2018-05-28 13:24:15 +02:00

Airsonic Web Client

This is just meant for exploration. If you want to see something more serious, take a look at airsonic-ui.

Implemented so far

  • Login
  • Welcome screen (most recently played)
  • Artist detail
  • Album detail
  • Play Track w/ next and previous
  • Currently playing notification

Development

The project is written in ClojureScript and uses re-frame for structure and peace of mind. The build tool is shadow-cljs, which offers nice editor integration and interoparibility with the whole JavaScript ecosystem. If you haven't worked with re-frame: I highly recommend it. Good resources are the project's docs and a post about its building blocks.

To build the project make sure you have Node.js (v6.0.0), npm and Java 8 installed in your system.

# after cloning the project, first install all dependencies
$ npm install
# start a continuous build with hot-code-reloading; first build takes a while. open http://localhost:8080
$ npm run dev
# build and optimize the code once for production
$ npm run build

Note: In dev mode this project comes with re-frame-10x. You can hit Ctrl + h to display the overlay and have a time traveling debugger.

Build artifacts

Everything you need to serve the app can be found inside the public folder.

Deploy to github

# will build everything and publish everything in /public via gh-pages
$ npm run deploy