https://github.com/pmhalvor/radio
A containerized webapp displaying Spotify content, as seen at: https://perhalvorsen.com/radio
https://github.com/pmhalvor/radio
Last synced: 4 months ago
JSON representation
A containerized webapp displaying Spotify content, as seen at: https://perhalvorsen.com/radio
- Host: GitHub
- URL: https://github.com/pmhalvor/radio
- Owner: pmhalvor
- License: gpl-3.0
- Created: 2025-03-07T13:26:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-13T13:14:48.000Z (over 1 year ago)
- Last Synced: 2025-07-24T13:03:09.886Z (11 months ago)
- Language: Python
- Homepage:
- Size: 500 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# radio
A webapp displaying user's content from Spotify.
## Getting started
**Files needed:**
- `docker-compose.yml`
- `.env` needs the following variables:
- `SPOTIFY_CLIENT_ID` (from [Spotify Developer Dashboard](https://developer.spotify.com/dashboard))
- `SPOTIFY_CLIENT_SECRET`
- `.token` (generated by the app after first run)
Alternatively, export the needed variables from `.env` in your shell.
**First run:**
Run the app on your local machine first, in order to authenticate Spotify via web browser.
That process should generate a `.token` file in the root directory.
```
make run
```
**Serve from Docker:**
Once `.token` is generated, you can run the app from Docker.
The token needs to be mounted as a volume,
which may require extra configuration if using Docker Desktop (more info in error message).
```
docker compose up --build
```