| Crates.io | spotify_playlist_maker |
| lib.rs | spotify_playlist_maker |
| version | 0.1.5 |
| created_at | 2025-03-08 01:30:03.628312+00 |
| updated_at | 2025-03-10 00:29:38.476464+00 |
| description | A Rust package to automate Spotify playlist creation |
| homepage | |
| repository | https://github.com/SkyeVault/Main |
| max_upload_size | |
| id | 1583910 |
| size | 60,013 |
Rust Program Documentation
This Rust program automates playlist creation on Spotify using the rspotify library. It authenticates users, searches for songs, and creates a playlist with predefined tracks. Edit the playlist name and song selection choices inside the code at line 66 and 71 of spotify_playlist_maker/src/main.rs.
tiny_http to handle the authentication callback automaticallyBefore running the program, make sure you have the following installed:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
http://127.0.0.1:8888/callback
http://localhost:8888/callback
https://crates.io/crates/spotify_playlist_maker
.env file for your API credentialsnano .env
Paste the following into the file:
SPOTIFY_CLIENT_ID="your_client_id_here"
SPOTIFY_CLIENT_SECRET="your_client_secret_here"
SPOTIFY_REDIRECT_URI="http://127.0.0.1:8888/callback"
SPOTIFY_SCOPES="playlist-modify-public playlist-modify-private user-library-read"
Save the file (CTRL + X → Y → Enter).
cargo run
This project includes:
cargo test)This project is licensed under the MIT License.