filthy-rich

Crates.iofilthy-rich
lib.rsfilthy-rich
version0.1.2
created_at2026-01-22 10:22:22.81315+00
updated_at2026-01-22 16:49:15.659217+00
descriptionTiny Discord Rich Presence wrapper for Unix-based apps.
homepage
repositoryhttps://github.com/hitblast/filthy-rich
max_upload_size
id2061282
size25,797
Anindya Shiddhartha (hitblast)

documentation

README

filthy-rich

Tiny Discord Rich Presence wrapper for Unix-based apps.
Only <300 LOC! Insanely tiny.

# Add to project!
cargo add filthy-rich

Starter Snippets

Examples are included with the project. To get, first clone the repository:

  1. For an indefinitely running rich presence, see this.
  2. For an timed, changing rich presence, see this.

You can also run them to see how they work.

# First, clone and `cd` into the repository.
git clone https://github.com/hitblast/filthy-rich && cd filthy-rich

# Run any of the examples:
cargo run --example indefinite  # ex. 1
cargo run --example timed  # ex. 2

API Reference

docs.rs: https://docs.rs/crate/filthy-rich/latest

Yet another library?

I'm not a fan of too much unnecessary boilerplate hovering around the code I use for my primary projects, so the primary goal for writing this library is to avoid Windows-specific binds.

The project is also only intended for actual binary apps, unless you have a matching stack to go with the library itself.

License

Licensed under MIT.

Commit count: 24

cargo fmt