i deleted that what the hell
This commit is contained in:
parent
09964b6be7
commit
4e1dee476a
2 changed files with 16 additions and 3 deletions
18
README.md
18
README.md
|
@ -1,5 +1,19 @@
|
||||||
# now listening
|
# now listening
|
||||||
A replacement for the old /now page on lastfm profiles
|
A replacement for the old /now page on lastfm profiles!
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
https://now.flash.moe/#/{last.fm username}
|
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.
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
api_key = your api key here
|
|
Loading…
Reference in a new issue