Files
quizify/README.md
2025-05-19 20:05:31 +02:00

61 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Quizify Music Quiz with Spotify
Quizify is a music quiz that uses your Spotify playlists. Guess the artist, title, or release year of songs from your own playlists directly in your browser!
## Features
- Login with Spotify
- Select your own playlists
- Multiple game modes: Guess artist, title, or year
- Spotify Web Playback (play songs directly in the browser)
- No song repeats until all have been played
- Smart search and answer evaluation (ignores bracket additions, apostrophes, etc.)
- Multilingual: All texts are loaded from language files, language is set via `.env`
## Requirements
- Python 3.10 or newer
- Spotify Developer Account ([developer.spotify.com](https://developer.spotify.com/))
- Spotify Premium Account (for Web Playback)
- Environment variables must be set (see `.env.example`)
## Installation
1. **Clone the repository**
```sh
git clone https://github.com/your-username/quizify.git
cd quizify
```
2. **Create the .env file**
Copy `.env.example` to `.env` and enter your Spotify API credentials.
3. **Start on Windows**
```sh
start.bat
```
Or manually:
```sh
python -m venv ven
ven\Scripts\activate
pip install -r requirements.txt
python app.py
```
4. **Open in your browser**
- [http://localhost:5000](http://localhost:5000)
## .env Example
See `.env.example` for the required variables.
## Notes
- The app requires a Spotify Premium account for the Web Playback feature.
- The Spotify Redirect URI must exactly match `SPOTIPY_REDIRECT_URI` in the Spotify Developer Console.
- All texts are loaded from language files in the `locales` folder. Set the language via the `LANG` variable in your `.env` (e.g., `LANG=en-EN` or `LANG=de-DE`).
## License
MIT License