Skip to content

The Trakt 🎥 Plex ▶️ Discord 🎮 Rich Presence that you didn't know you needed.

License

Notifications You must be signed in to change notification settings

afonsojramos/discrakt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discrakt - Easy to Use Trakt/Plex Discord Rich Presence

A simple app that acts as a bridge between Discord and Trakt (and maybe even Plex), allowing for the display of the watch status as Discord's Rich Presence. Essentially, it's a Trakt/Plex Discord Rich Presence.

Profile Status

Protip: If you are already using Plex, and would like to link it with Trakt, you can use the Plex-Trakt-Scrobbler plugin.

If you already know Trakt and how awesome it is this is definitely the best option, as it works more reliably and with some extra benefits over the other implementations, such as registering your watch status wherever you are watching (TV, phone, across the world, etc.), in whatever app you are watching on (Netflix, Roku, Plex, HBO Max), as long as you have a single device running Discord and Discrakt.

Plex Rich Presence alternatives:

Setup

  1. Create an API Application on Trakt.tv (with scrobble capabilities and urn:ietf:wg:oauth:2.0:oob as the redirect uri)
  2. Edit the credentials.ini file with the required Trakt username.
  3. Run the respective executable, and you're ready to start sharing your progress!

P.S. Discord needs to be running on the machine Discrakt is running on. P.P.S. Place the credentials.ini file in the same directory as the executable.

P.P.P.S. If you want to store the configuration in a common location, the credentials.ini can also be stored in:

Operating System Location Example
Linux $XDG_CONFIG_HOME/discrakt or $HOME/.config/discrakt /home/alice/.config/discrakt/credentials.ini
macOS $HOME/Library/Application Support/discrakt /Users/Alice/Library/Application Support/discrakt/credentials.ini
Windows %APPDATA%\discrakt C:\Users\Alice\AppData\Roaming\discrakt\credentials.ini

Running executables

Running the executables is as easy as clicking the provided executables in the latest release. That's it!

Optionally, after you ensure that everything is running correctly, you can also set the executable to run on startup, so that you don't have to run it manually every time you want to start sharing your watch status.

Linux/MacOS

Create a script that runs the executable silently and set it to run on startup in Unix/MacOS.

#!/bin/sh
nohup ./discrakt > /dev/null &

Windows

You can now use the silent Windows executable, and now you only need to follow this guide to run it on startup.

Scoop

You can install Discrakt in Scoop via the Extras bucket:

scoop bucket add extras # Ensure bucket is added first
scoop install discrakt

Development

Make sure you've installed Rust. You can install Rust and its package manager, cargo by following the instructions on rustup.rs. After installing the requirements below, simply run cargo run.

Thank You

movie and tv icons by iconixar