Giter Site home page Giter Site logo

discrakt's Introduction

Discrakt - Easy to Use Trakt Discord Rich Presence

Discrakt

A simple python script that acts as a bridge between Discord and Trakt, allowing for the display of the watch status as Discord's Rich Presence. Essentially, it's a Trakt Discord rich presence.

User Status

Rich Presence

Setup

  1. Create an API Application on Trakt.tv (with scrobble capabilities and urn:ietf:wg:oauth:2.0:oob as the redirect uri) and an Application on Discord.
  2. Edit the credentials.ini file with the required API keys (Cliend IDs) and Trakt username.
  3. In the Discord Developer Dashboard, within your application and under Rich Presence -> Art Assets, upload the application images, either the ones located in /images or ones that you choose to submit (as long as the keys for those images stay tv and movie).
  4. 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.

Running executables

Running the executables is as easy as clicking the provided executables in the latest release (.exe for Windows and .sh for UNIX systems). That's it!

Optional:

Set the script/executable to run at startup so you don't have to worry about it again (Windows/Unix)!

Development

As usual, it is recommended to use venv and Python 3.9.

After this, simply install the dependencies using pip install -r requirements.txt.

Running from script

After setting things up by following the previous section, you can run this script with: python discrakt.py

When a show is detected throught the Trakt API, a similar output is expected in the logs:

Console

Thank You

movie and tv icons by iconixar

discrakt's People

Contributors

afonsojramos avatar deepsourcebot avatar gomzalo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.