Remove hardcoded credentials; read them from the environment

- Env.py now reads SPOTIFY_CLIENT_ID/SPOTIFY_CLIENT_SECRET (and optional
  path overrides) from the environment instead of hardcoding them.
- Add .env.example and ignore .env / .venv.
- Rewrite README with setup, usage and layout (drops the leaked secret).

Note: secrets are also purged from prior history in this push.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Шурупов Илья Викторович 2026-06-15 00:39:59 +03:00
parent 36058c318a
commit 83f782d125
4 changed files with 121 additions and 7 deletions

2
.gitignore vendored
View file

@ -2,6 +2,8 @@ prefetched*
__pycache__
.idea
secret
.env
.venv
work_dir
old
tmp