Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sleeyax/PreMiD-rs
Alternative PreMiD backend but without the bloat
https://github.com/sleeyax/PreMiD-rs
discord discord-presence discord-rich-presence discord-rpc premid premid-extension
Last synced: about 2 months ago
JSON representation
Alternative PreMiD backend but without the bloat
- Host: GitHub
- URL: https://github.com/sleeyax/PreMiD-rs
- Owner: sleeyax
- License: mpl-2.0
- Created: 2023-07-04T23:25:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T20:06:37.000Z (9 months ago)
- Last Synced: 2024-08-02T05:11:10.394Z (5 months ago)
- Topics: discord, discord-presence, discord-rich-presence, discord-rpc, premid, premid-extension
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-discord-activities - PreMiD-rs - Alternative PreMiD backend written in Rust. No electron => more lightweight (Uncategorized but Cool)
README
# PreMiD-rs
Alternative [PreMiD](https://premid.app/) backend written in Rust. Ditch that bloated [official Electron-based backend](https://github.com/PreMiD/PreMiD) and free up your precious RAM and disk space!Please note that this program doesn't include any bells and whistles, it just provides Discord rich presence.
> [!WARNING]
> This project uses relateively unstable libraries. It should work but use at your own discretion until we publish a stable release.## Comparison
Rust backend vs Electron-based backend:| Feature | Rust Backend | Official Backend |
|---------------------|--------------|------------------|
| Disk space required | ~11MB | ~200MB |
| RAM usage | ~8MB | ~20MB |
| GUI | No | Yes |
| Tray icon | No | Yes |
| Auto updater | No | Yes |## Installation
1. Download the [latest release](https://github.com/sleeyax/PreMiD-rs/releases/latest).
2. (optional) Add the program to startup so it launches on PC boot/login.
3. Execute the program from a terminal/cmd. You won't see any output by default. Specify an environment variable [below](#commands) for more output options.## Missing features
Known missing features:- Settings
- Local presence (for presence development)I'm undecided whether these features should be added. Open an issue if you wish to discuss this!
## Development
Requires [rust](https://www.rust-lang.org/tools/install) to be installed on your system (duh).### Commands
Run with basic logging:
```bash
$ RUST_LOG="info" cargo run
```Run with verbose logging:
```bash
$ RUST_LOG="debug" cargo run
```Run with default logging level:
```bash
$ cargo run
```