Dorion
Dorion copied to clipboard
Tiny alternative Discord client with a smaller footprint, snappier startup, themes, plugins and more!
Dorion
https://discord.gg/agQ9mRdHMZ
Download
Installers are available on the releases page. You can also get it from a package repository, or GitHub Actions, or you can build it yourself!
[!NOTE] MacOS Users: If opening Dorion gives you "Dorion.app is damaged and cannot be opened", MacOS is lying to you and you may just need to run
sudo xattr -rd com.apple.quarantine /Applications/Dorion.app
.Windows Users: Defender may think Dorion is a virus. This just happens sometimes, and if SmartScreen blocks it from running, click "More Info" and "Run Anyways". Feel free to scan Dorion with Virustotal!
Table of Contents
- Package Repositories
-
Features
- Plugins
- Themes
- Platform Support
-
Building
- Prerequisites
- Steps
- Known Issues
- Troubleshooting
- TODO
- Using Plugins and Themes
- Contributing
- Screenshots
Package Repositories
I do not maintain any instances of Dorion in any package repositories myself, however some very kind people maintain some in their own spare time:
- Windows:
- Shovel/Scoop (Maintained by Small-Ku):
scoop bucket add turbo 'https://github.com/Small-Ku/turbo-bucket.git' scoop install turbo/dorion
- WinGet (Maintained by headquarter8302)
winget install --id SpikeHD.Dorion
- Shovel/Scoop (Maintained by Small-Ku):
- Linux:
- Arch AUR (Maintained by Refined7075)
yay -S dorion-bin
- NixOS
nix-shell -p dorion
- Arch AUR (Maintained by Refined7075)
[!NOTE] Maintaining Dorion in a different package repository that I don't know about? Feel free to open a PR to add it here!
Features
- Significantly smaller than the original Discord client, as well as other web-based alternatives
- Theme support
- Shelter included out of the box
- Support for other client mods and plugins, like Vencord
- There is no BetterDiscord support... yet
- Almost full game presence support included out of the box. Enable it in "Performance & Extras"!
- (Hopefully) better low-end system performance.
Plugins
Dorion comes with shelter, so that should cover at least some plugin-related needs. You can also enable client mods like Vencord inside the Dorion settings page. If you want to install plugins not available within the Dorion settings page, ensure you are downloading a browser-compatible version.
Themes
Dorion supports all themes, BetterDiscord and others, with a couple caveats.
Jump to "Using Plugins and Themes"
Platform Support
Feature | Windows 10/11 | Windows 7[1] | Linux | MacOS |
---|---|---|---|---|
Basics (logging in, navigation, text/DMs etc.) | ✓ | ✓ | ~[2] | ✓ |
Voice | ✓ | ✓ | ✗[3] | ✓ |
Themes | ✓ | ✓ | ✓ | ✓ |
Shelter | ✓ | ✓ | ✓ | ✓ |
Dorion Plugins | ✓ | ✓ | ✓ | ✓ |
1 While I am told it works fine, Windows 7 support is speculative and not guaranteed. It could break at any point, and if this happens, I probably won't put much effort into fixing it (PRs always welcome of course!).
2 Some people report Dorion freezing on Linux, particularly when GIFs are playing. This is a bug in WebkitGTK.
3 Support for WebRTC is hidden behind a build-time flag that is not used in almost all distros. Even with support, Tauri v1 does not support a high enough version of WebkitGTK bindings to enable the functionality. This will be available when WebkitGTK ships with WebRTC support.
Building
Prerequisites
Steps
-
Clone/download the repository
-
Open a terminal window in the root project folder
-
Install JS dependencies:
pnpm install
-
Build the minified versions of the JS/HTML files:
pnpm build
-
Pull the latest shelter build
pnpm shupdate
-
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 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
- Fonts/font-faces 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
- [x] Pre-process fonts like images/CSS imports are already done
- [x] Multi-thread CSS processing
- [x] Use resource files from within the binary itself instead of the filesystem
- [x] Desktop notifications
- [x] AND displaying the number of notifs in the desktop icon
- [x] Webpack stuff
- [x] Global push-to-talk
- [x] Rich presence(?)
- [ ] FULL rich presence
- [ ] Custom keybinds
- [ ] Helper API methods and events for plugins
- [x] Backup localized themes
- [x] Localization timeout
- [x] Safemode key (disable themes and plugins)
- [x] New release notifications
- [x] Logging system (like reMITM)
- [ ] Move from
device_query
tordev
(sincedevice_query
doesn't work when spawned in a thread on MacOS) - [x] API abstractions
Using Plugins and Themes
[!TIP] See the
examples
directory for examples of plugins, including how to include external code and themes.
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!
[!NOTE] Themes can also be installed by clicking
Install Theme from Link
in Theme settings, if you prefer
Contributing
Issues, PRs, etc. are all welcome! For guidelines and tips, see CONTRIBUTING.md
Screenshots
Installer Size Comparison (Windows)
Full Installed Size Comparison (Windows)
Loading screen
Settings Menu
Theme: Catpuccin - Frappe
Theme: Fluent