No description
  • Rust 91.4%
  • JavaScript 7.1%
  • Dockerfile 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-09 03:43:55 -04:00
config v1.3.0 2025-03-16 10:58:27 -04:00
coverart-server Coverart Proxy if using HTTP 2025-03-16 10:53:26 -04:00
src Fix reconnection to socket when discord restarts 2025-04-09 03:43:54 -04:00
.gitignore Pre-Built Docker Image 2025-03-15 10:23:59 -04:00
Cargo.lock Fix reconnection to socket when discord restarts 2025-04-09 03:43:54 -04:00
Cargo.toml Fix reconnection to socket when discord restarts 2025-04-09 03:43:54 -04:00
config.example.json v1.3.0 2025-03-16 10:58:27 -04:00
docker-compose.yml Fix for UTF-8 Character Boundary Error 2025-03-16 07:28:21 -04:00
Dockerfile Docker Support 2025-03-15 09:46:09 -04:00
kavita_api_docs.json Fix for UTF-8 Character Boundary Error 2025-03-16 07:28:21 -04:00
LICENSE Initial commit 2025-03-14 15:07:53 -04:00
README.md Update README.md 2025-03-23 11:55:49 -04:00

kavita-discord-rpc

image

image

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

  1. grab your linux or windows binary from: https://github.com/0xGingi/kavita-discord-rpc/releases
  2. 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)
  3. Modify the config.json with your info
  4. 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

  1. clone the repo
git clone https://github.com/0xGingi/kavita-discord-rpc
cd kavita-discord-rpc
  1. Rename config/config-example.json to config/config.json and modify it
  2. Run
docker compose up -d

Build

git clone https://github.com/0xgingi/kavita-discord-rpc
cd kavita-discord-rpc
cargo build --release