🥳 https://playlists.christianboyle.com 🥳
I'm a big fan of making playlists on SoundCloud and made a bunch this year.
Then I saw https://playlists.design and thought it was pretty cool, with two exceptions:
- They use Spotify 🤮
- My desktop sounds like it's about to achieve liftoff when you start scrolling 🚁
Generate playlists.json
- update the username you want to get here
pip install -r requirements.txt
python scrape-playlists.py
- output file is
soundcloud_playlists.json
- modify as needed and save as
playlists.json
Install and Build
Important
A registered SoundCloud app, with API access for Client ID
and Client Secret
git clone [email protected]:christianboyle/playlists.git
mv .env.example .env
- fill in
.env
withClient ID
andClient Secret
docker-compose up --build
- should see
app-1 | INFO Accepting connections at http://localhost:8087
- when done
docker-compose down
Note
The SoundCloud API refresh token is cached and rotated as-needed to avoid rate-limiting. The .env
values are injected at runtime, when the container starts, to avoid exposing in bundle.js
.
- Generating playlists.json: soundcloud-lib
- Displaying playlist metadata: soundcloud-audio.js
- Point lights: mr. doob