https://github.com/0xgingi/audiobookshelf-discord-rpc
Displays what you're listening to on audiobookshelf on discord!
https://github.com/0xgingi/audiobookshelf-discord-rpc
audiobookshelf discord discordapp discordrpc discordrpc-state discordrpcstate rpc rust rust-lang
Last synced: about 1 month ago
JSON representation
Displays what you're listening to on audiobookshelf on discord!
- Host: GitHub
- URL: https://github.com/0xgingi/audiobookshelf-discord-rpc
- Owner: 0xGingi
- License: mit
- Created: 2024-09-10T15:27:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T08:08:16.000Z (about 1 month ago)
- Last Synced: 2025-04-09T08:37:44.121Z (about 1 month ago)
- Topics: audiobookshelf, discord, discordapp, discordrpc, discordrpc-state, discordrpcstate, rpc, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 74.2 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# audiobookshelf-discord-rpc
Displays what you're listening to on audiobookshelf on discord!Shows Book Name, Author, Duration, Genres or Chapter, and Cover Art
* Note: This will display what you're listening to on any device but you must run this program on a computer with discord installed!
* The Installer now has an update feature, just press u and let it do its thing!

## Run
### Windows
* [Download the installer](https://github.com/0xGingi/audiobookshelf-discord-rpc/releases/download/installer-v1.4.0/audiobookshelf-discord-rpc-installer.exe)
* **Run the installer as admin to have the autostart service**
* Generate your config file
* Create the startup task
* audiobookshelf-discord-rpc should now be started and will run on boot
* Files are located at %localappdata%/AudiobookshelfDiscordRPC & Service is created with Task Scheduler### Linux
* [Download the installer](https://github.com/0xGingi/audiobookshelf-discord-rpc/releases/download/installer-v1.4.0/audiobookshelf-discord-rpc-installer)
```
./audiobookshelf-discord-rpc-installer
```
* Generate your config file
* Create the systemd service (runs as user)
* audiobookshelf-discord-rpc should now be started and will run on boot
* Executable and config.json are located at ~/.local/bin/ & systemd service is located at ~/.config/systemd/user/audiobookshelf-discord-rpc.service### Docker (Linux Only - Requires Discord Installed on system - WSL2 May Work on Windows if Discord is installed in WSL)
* Clone the repo
```
git clone https://github.com/0xgingi/audiobookshelf-discord-rpc
cd audiobookshelf-discord-rpc
```
* Create a config.json file
```
cp config/config.json.example config/config.json
```
* Edit the config.json file
* Run the docker container
```
docker compose up -d
```## Get API Key (Must Be Admin)


## Build
```
git clone https://github.com/0xgingi/audiobookshelf-discord-rpc
cd audiobookshelf-discord-rpc
cargo build --release
```
### Build Installer
```
git clone https://github.com/0xgingi/audiobookshelf-discord-rpc
cd audiobookshelf-discord-rpc/installer
cargo build --release
```