Skip to content

Displays what you're listening to on audiobookshelf on discord!

License

Notifications You must be signed in to change notification settings

0xGingi/audiobookshelf-discord-rpc

Repository files navigation

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!

image

Run

Windows

  • Download the installer
  • 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

./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)

abs-api-1 abs-api-2 abs-api-3

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