This is a Rust based cli application that allows you to share your #nowplaying on Spotify.
You can post to Misskey (and its fork; using same api endpoint and schema) and X.
- Change the code to embed your API keys to a executable by setting file (Mid Priority)
- This change will allow you to use this application without
cargo run
, justcargo install
once.
- This change will allow you to use this application without
Currently, this application does not have a option to use cargo install
since this application uses dotenv
crate and .env
file.
git clone [email protected]:Yourein/nply.git
touch .env
vim ./.env
Then copy this to your .env
file.
SPOTIFY_API_KEY=
SPOTIFY_API_SECRET=
TWITTER_API_KEY=
TWITTER_API_SECRET=
MISSKEY_API_TOKEN=
MISSKEY_HOST=
Fill the right side of the equals. If you do not want to post to X (or Misskey), you can leave its API key empty.
cargo run
enjoy!