mirror of
https://github.com/0xGingi/kavita-discord-rpc.git
synced 2026-09-21 11:44:24 -04:00
No description
- Rust 91.4%
- JavaScript 7.1%
- Dockerfile 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| coverart-server | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config.example.json | ||
| docker-compose.yml | ||
| Dockerfile | ||
| kavita_api_docs.json | ||
| LICENSE | ||
| README.md | ||
kavita-discord-rpc
Displays what you're reading on kavita on discord!
Note: You must run this on a system with discord open, but this will work on any device you read on! (3rd party client support is unknown)
Note: If Using HTTP instead of HTTPS, Your coverart images are sent to the coverart server, then the link is given to discord. You can disable this by setting proxy_enabled to false in the config.json.
Install
- grab your linux or windows binary from: https://github.com/0xGingi/kavita-discord-rpc/releases
- copy the config.example.json and rename it as config.json in the same folder as your binary (config.json can be anywhere, just run the binary with -c /path/to/config.json)
- Modify the config.json with your info
- run
Docker (Only works on Linux - Discord must be installed on the system)
Note: If using windows, this may work via WSL2, Discord must also be installed via WSL2 and open
Docker
docker run -d \
-v ./config:/app/config \
-v /run/user/1000/discord-ipc-0:/run/user/1000/discord-ipc-0 \
-e XDG_RUNTIME_DIR=/run/user/1000 \
--restart unless-stopped \
--name kavita-discord-rpc \
0xgingi/kavita-discord-rpc:latest
ensure you've created a config folder with config.json in it.
Docker Compose
- clone the repo
git clone https://github.com/0xGingi/kavita-discord-rpc
cd kavita-discord-rpc
- Rename config/config-example.json to config/config.json and modify it
- Run
docker compose up -d
Build
git clone https://github.com/0xgingi/kavita-discord-rpc
cd kavita-discord-rpc
cargo build --release