Skip to content

robled/ra_cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sajti's CLI for RetroAchievements Discord Rich Presence

A little software which lets you share your RetroAchievements activity with your friends on Discord.

Requirements

You will need to create an app on the Discord Developer Portal (https://discord.com/developers/applications/). Give it a nice, unique name, which will appear below your name as your 'Playing' status. Don't worry if you make a mistake; you can modify the app's name at any time. From there, you will need your app's ID.

Features

  • Detailed Rich Presence on your Discord profile (name of the game, details about what you're currently doing in the game, icons, etc.)
  • Two clickable buttons (only others can see them): One leads to the RA page of the game you're currently playing; the other leads to your RA profile. You can enable or disable them using python racli.py -b.
  • A CLI that provides some information, fetches the icon of your current game and attempts to recreate it in the terminal or command line you're using.
  • Character presets for recreating the game icon, or you can create your own by editing charset.txt.
  • A little automation feature called timeout. It tries to detect when you are actually playing and activates or deactivates the rich presence accordingly. It is disabled by default.

Usage

After installing the requirements and ensuring you have all the necessary data, start by launching the setup script with python racli.py -s from terminal. Provide the requested details, and you're good to go. Or, if you prefer you can manually modify config.ini, but be careful, as incorrect changes could break the code. Also, never ever modify data.ini.

When you have provided all your details, you can launch the script without flags by running python racli.py.

Flag descriptions:

  • -h, --help show this help message and exit
  • -s, --setup run setup script
  • -c, --charset select charset presets or set it to custom
  • -i, --interval set the update interval
  • -t, --timeout set the timeout value
  • -b, --buttons enable or disable buttons on your discord profile

Screenshots

1 2 3
6 4 5
7

About

Sajti's CLI for RetroAchievements Discord Rich Presence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%