Discord Rich Presence client for Last.fm, made in Rust.
- Fetches the current track from Last.fm and displays it as a Discord Rich Presence.
- Handles errors gracefully and retries connections.
- Verifies image URLs before using them.
- Supports environment variables, a config aswell as .env
- should support Linux and Windows.
Get it from releases (Windows & Linux binaries only)
or
Build it yourself!
- Clone the repository:
git clone https://github.com/h4rldev/discord-rpc-lastfm
- Navigate to the project directory:
cd discord-rpc-lastfm
- Build the project:
cargo build --release
- Run the executable
- Follow the prompts to enter your Last.fm username and API key, and possibly client_id (if you want a different title).
- Log to file instead of in console
- Toggle console
- Run in background
discord-rich-presence
reqwest
tokio
toml
serde
tracing
tracing-subscriber
tracing-appender
dotenvy
url
futures
inquire
crossterm
colored
home
Pull requests are welcome.