/genzai

A lightweight custom Discord Rich Presence manager. Compatible with Linux and Windows. Built with customtkinter and pypresence.

Primary LanguagePythonMIT LicenseMIT

GitHub release (latest by date) GitHub Releases All GitHub Releases

Genzai : Discord Rich Presence


⭐ [NEW] Added option to load and save your settings to a config file.

A lightweight Discord custom Rich Presence manager that runs on Linux and Windows, with macOS support coming soon. Built with CustomTkinter and pypresence, heavily inspired by maximax42's amazing Discord-CustomRP.

Download

The latest official release of Genzai is available for both Linux and Windows. Check the Genzai Latest Release.

How to use Genzai?

Linux and Windows

  1. Extract the zip file.
  2. Run genzai.exe inside the genzai folder.
  3. Make a new Discord application, here in the Discord Developer Portal.
  4. Click New Application on the top right.
  5. Create your application name, this will be your title in your Discord Presence.
  6. Copy the Application ID and paste it in the App ID field in Genzai.
  7. Click Connect
  8. Fill out the fields you want.
  9. Click Update
  10. Enjoy your new Discord Rich Presence!

How to build Genzai from source

Clone the repository and cd into it.

$ git clone git@github.com:dinogomez/genzai.git
$ cd genzai

Install the python requirements via pip

pip install -r requirements.txt

I advice building the application with auto-py-to-exe or pyinstaller to avoid any issues with missing dependencies.

With auto-py-to-exe.

  1. Select One Directory

  2. Select Window Based

  3. Select Add Folder and add the genzai/assets folder

  4. Select Add Folder and add customtkinter package.

    Use pip show customtkinter to find the location of the package.

  5. Add the PIL._tkinter_finder hidden import

  6. Select Convert .py to .exe and wait for the build to finish

  7. Run the genzai.exe file in the output folder

With pyinstaller, refer to this documentation when building customtkinter apps.

pyinstaller --noconfirm --onedir --windowed --icon "<Genzai Location>/Genzai/assets/genzai.ico" 
--add-data "<CustomTkinter Location>/customtkinter:customtkinter/" 
--add-data "<Genzai Location>/Genzai/assets:assets/" 
--hidden-import "PIL._tkinter_finder"  
"<Genzai Location>/Genzai/genzai.py"

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License