bump, improve/update now playing component to use listenbrainz, update deploy link, update env variables in readme
This commit is contained in:
parent
ffe9419db1
commit
b6b99d26f4
6 changed files with 340 additions and 67 deletions
21
README.md
21
README.md
|
@ -8,15 +8,9 @@ It's built with Next.js and Tailwind CSS. aidxnCC will always be a work in progr
|
|||
|
||||
## Deploy with Vercel
|
||||
|
||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fihatenodejs%2FaidxnCC&env=LASTFM_API_URL&envDescription=LastFM%20public%20API%20link%20for%20your%20username%20(https%3A%2F%2Flastfm-last-played.biancarosa.com.br%2FUSERNAME%2Flatest-song)&envLink=https%3A%2F%2Fgit.pontusmail.org%2Faidan%2FaidxnCC%2Fsrc%2Fbranch%2Fmain%23deploy-with-vercel)
|
||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fihatenodejs%2FaidxnCC&env=BRAINZ_USER_AGENT,LISTENBRAINZ_TOKEN&envDescription=You%20will%20need%20both%20a%20custom%20user%20agent%20(for%20identifying%20yourself%20to%20MusicBrainz)%2C%20and%20a%20ListenBrainz%20User%20Token.%20See%20the%20README%20for%20more%20information.&envLink=https%3A%2F%2Fgit.pontusmail.org%2Faidan%2FaidxnCC&project-name=aidxn-cc&repository-name=aidxnCC)
|
||||
|
||||
To deploy with Vercel, simply click the button above. When prompted for `LASTFM_API_URL`, simply input:
|
||||
|
||||
```plaintext
|
||||
https://lastfm-last-played.biancarosa.com.br/USERNAME/latest-song
|
||||
```
|
||||
|
||||
where `USERNAME` is your LastFM username.
|
||||
To deploy with Vercel, simply click the button above. When prompted for environment variables, see the section below.
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -24,7 +18,16 @@ Any and all contributions are welcome! Simply create a pull request and I should
|
|||
|
||||
Please use common sense when contributing :)
|
||||
|
||||
## Environment Variables
|
||||
|
||||
You will need some environment variables set to properly self-host aidxnCC. They are listed below.
|
||||
|
||||
| Environment Variable | Description | Example |
|
||||
|----------------------|-------------|---------|
|
||||
| `BRAINZ_USER_AGENT` | User agent used to make requests to MusicBrainz (should include your contact info) | `aidxnCC/1.0 ( aidan@p0ntus.com )` |
|
||||
| `LISTENBRAINZ_TOKEN` | Your ListenBrainz user token (get this in [settings](https://listenbrainz.org/settings/)) | `0e0x0a0m-0p0l-0e0t-0o0k-0e0n00000000` |
|
||||
|
||||
## To-Do
|
||||
|
||||
- [ ] Dockerize for easier deployment
|
||||
|
||||
- [ ] Improve speed of fetching now playing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue