now.flash.moe/README.md

20 lines
828 B
Markdown
Raw Normal View History

2016-06-12 18:52:15 +00:00
# now listening
2017-03-19 15:02:58 +00:00
A replacement for the old /now page on lastfm profiles!
2016-06-12 18:52:15 +00:00
## Usage
2017-03-19 15:02:58 +00:00
https://now.flash.moe/#/{username}
## Configuration
Create an application [here](https://www.last.fm/api/account/create), take the api and place it in a file called `.apikey` in the root (*not the public dir*).
## Building
To compile the LESS and TypeScript assets you need to have the individual compilers installed,
both are available through yarn and can be installed with the following command:
`yarn global add less typescript`.
After that just run `build.sh`.
The server side uses a PHP script with dependencies to fetch the data without exposing the API key.
To install these dependencies you're going to need [composer](https://getcomposer.org/).
After installing composer you can simply run `composer install` in the root directory.