Files
ytm-jam/README.md
zxrotwo002 e718a6d4d2 Update README
Added instructions to open the application in a browser.
2026-02-15 01:27:08 +01:00

47 lines
997 B
Markdown

!!! For some parts of this project i used Gen AI, more information below !!!
# Setup
```
git clone https://github.com/zxrotwo002/ytm-jam.git
cd ytm-jam
python -m venv .venv
```
## Windows
```
.venv\Scripts\activate
pip install -r requirements.txt
ytmusicapi browser
```
## Linux
```
source .venv/bin/activate
pip install -r requirements.txt
ytmusicapi browser
```
Follow the instructions of the [ytmusicapi](https://ytmusicapi.readthedocs.io/en/stable/setup/browser.html)
Add the script in [tampermonkey](tampermonkey) as new userscript in tampermonkey
# Usage
```
flask run
```
```
node server/server.cjs
```
Open [127.0.0.1:5000](127.0.0.1:5000) in your browser
# Credits
Python code and javascript is written by me
The bridge server was also written by me
CSS was generated by Gemini
The tampermonkey script was also generated by Gemini since my first idea was to use the YTM-Desktop app as player until i realised that it doesn't support adding songs to the queue.