Skip to content

yavko/Dorion

 
 

Repository files navigation


Dorion

Dorion is an alternative Discord client aimed and lower-spec or storage-sensitive PCs that supports themes, plugins, and more!
https://discord.gg/agQ9mRdHMZ

Table of Contents

Setup

Download a release (.msi for Windows 10/11, .zip for Windows 7, .deb for Debian, etc.) and install!

You can also build it yourself!

Features

  • Themes
  • Plugins
  • Multi-profile
  • Smaller overall size
  • (Hopefully) better low-end system performance

Plugins

Dorion comes with a custom fork of Vencord, so that should cover a lot of your plugin needs. Otherwise, it also supports most browser-based plugins! There is no BetterDiscord plugin support, however.

Themes

Dorion supports all themes, BetterDiscord and others, with a couple caveats.

Jump to "Using Plugins and Themes"

Platform Support

Feature Windows Linux MacOS
Basics (logging in, navigation, text/DMs etc.)
Voice [1]
Themes
Vencord (and included plugins)
Dorion Plugins

[1] Currently can connect to VC, but won't pass "RTC Connecting". Needs a bit more coaxing to get working.

Building

Prerequisites

Steps

  1. Clone/download the repository

  2. Open a terminal window in the root project folder

  3. Install JS dependencies:

    pnpm install
  4. Build the minified versions of the JS/HTML files:

    pnpm build
  5. Pull the Vencord fork

    pnpm vupdate
  6. Build!

    pnpm tauri build
    # or to debug/open in dev mode
    pnpm tauri dev

All built files will be in src-tauri/target/(release|debug)/. When using portably, the html, icons, and injection folders are required. Installation files (eg. .msi) are located in bundle/msi

Known Issues

  • Large images in themes will not load
  • Fonts/font-faces from sources other than Google will not load
  • (MacOS) Injection JS does not reinject after reloading the page

Troubleshooting

If you are having problems opening Dorion, or it instantly crashes, or something similar, try the following:

  • Install via MSI instead of the .zip file
  • Use the .zip file instead of the MSI
  • (If using the .zip file) make sure all files were extracted properly (html, injection, etc.)
  • Reinstall WebView2
    • Fully uninstall and reinstall.
    • If you are having trouble uninstalling it, try deleting this registry folder and uninstalling again Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}
    • You can also try uninstalling from the Command Prompt

TODO

  • Pre-process fonts like images/CSS imports are already done
  • Multi-thread CSS processing
  • Use resource files from application itself instead of the filesystem
  • Desktop notifications
    • AND displaying the number of notifs in the desktop icon
  • Webpack stuff
  • Global push-to-talk
  • Rich presence(?)
  • Helper API methods and events for plugins
  • Backup localized themes
  • Localization timeout
  • Safemode key (disable themes and plugins)
  • New release notifications
  • Logging system (like reMITM)

Using Plugins and Themes

See the examples directory for examples of plugins, including how to include external code and themes. You can also look at my own plugins/themes repo for some existing ones with actual use.

Plugins and themes are relatively simple to use, the file structure looks like so on Windows:

C:/Users/USERNAME/dorion/
    ├── plugins/
    |   └── plugin.js
    └── themes/
        └── theme.css

and like so on Linux:

~/dorion/
    ├── plugins/
    |   └── plugin.js
    └── themes/
        └── theme.css

so if you download a plugin or theme, just pop it into the plugins/themes folder!

Contributing

Issues, PRs, etc. are all welcome!

Screenshots

image Installation size.

image Loading screen. So cool!

image

image Theme: Dark Neon

About

Tiny alternative Discord client with a smaller footprint, themes and plugins, multi-profile, and more!

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 68.6%
  • JavaScript 17.0%
  • HTML 13.3%
  • Other 1.1%