Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbeley/django-lastfm
A simple django website with some handy lastfm tools.
https://github.com/dbeley/django-lastfm
django lastfm lastfm-collage lastfm-collage-generator
Last synced: about 2 months ago
JSON representation
A simple django website with some handy lastfm tools.
- Host: GitHub
- URL: https://github.com/dbeley/django-lastfm
- Owner: dbeley
- Created: 2020-03-14T22:02:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-30T13:35:54.000Z (6 months ago)
- Last Synced: 2024-07-02T23:54:54.882Z (6 months ago)
- Topics: django, lastfm, lastfm-collage, lastfm-collage-generator
- Language: Python
- Homepage: https://lastfm-tools.dbeley.ovh
- Size: 172 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-lastfm
Simple django site acting as a frontend for:
- [lastfm_cg](https://github.com/dbeley/lastfm_cg): Last.fm collage generator
- [lastfm_pg](https://github.com/dbeley/lastfm_pg): Last.fm playlist generator
- [lastfm-wordcloud](https://github.com/dbeley/lastfm-wordcloud): Last.fm wordcloud generator
- [lastfm-scraper](https://github.com/dbeley/lastfm-scraper): Some lastfm scripts## Secrets
To run the website, you will need some config files.
### secret.ini
```
[django]
SECRET_KEY = secret_key_here
```### config_lastfm.ini
```
[lastfm]
username=username_here
api_key=api_key_here
api_secret=api_secret_here
```### .env file
```
REDIS_URL=redis://domain.tld
# optional, for docker + traefik
DEFAULT_NETWORK=traefik-network
DOMAIN=domain.tld
ALLOWED_HOSTS='127.0.0.1 localhost domain.tld'
```### Environment variables
If you can't use ini files (i.e. when deploying with heroku), you can use those environment variables:
- `PYLAST_USERNAME`
- `PYLAST_API_KEY`
- `PYLAST_API_SECRET`
- `DJANGO_SECRET_KEY`
- `REDIS_URL`