Skip to content
forked from SpikeHD/Dorion

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

License

Notifications You must be signed in to change notification settings

fossabot/Dorion

 
 

Repository files navigation


Dorion

Dorion is an alternative Discord client aimed towards 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, .dmg for MacOS, .deb for Debian, etc.) and install!

You can also build it yourself!

Features

  • Significantly smaller than most other web-based client alternatives
  • Theme support
  • Vencordorion included out of the box
  • Support for other client mods and plugins, such as shelter
    • There is no BetterDiscord support... yet
  • Partial game presence support included out of the box. Enable it in "Performance & Extras"!
  • (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 other browser-based plugins!

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] [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!

    # Build the updater
    pnpm build:updater
    
    # Build Dorion
    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/

Known Issues

  • (Windows) Large images in themes will not load
  • (MacOS) Injection JS does not reinject after reloading the page
  • (Linux) Uses a wackload of memory for some reason
  • Fonts/font-faces from sources other than Google will not load

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, or the installer says its already installed even though you uninstalled, 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 within the binary 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(?)
    • FULL 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 basic ones.

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:

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

so if you download a plugin or theme, just pop it into the plugins/themes folder. If you need help finding them, there are buttons in Dorion settings that'll take you where you need!

Contributing

Issues, PRs, etc. are all welcome!

Screenshots

Installation size

image FOSSA Status

Loading screen

image

Settings Menu

image Theme: Catpuccin - Frappe

image Theme: Fluent

License

FOSSA Status

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 71.7%
  • JavaScript 16.0%
  • HTML 11.4%
  • Other 0.9%