SpikeHD / Dorion

Tiny alternative Discord client with a smaller footprint, snappier startup, themes, plugins and more!
https://spikehd.github.io/projects/dorion/
GNU General Public License v3.0
626 stars 20 forks source link
discord discord-client discord-mod plugins tauri themes


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

Download

View bleeding-edge builds

Bleeding Edge Builds

These builds are based on the latest GitHub Actions artifacts. They may not work properly, and they probably contain bugs. Use at your own risk!

[!TIP] Dorion can also be used portably or installed via several package managers. You can find these builds in the releases page. You can also build Dorion 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. Alternatively, you can open the Privacy & Security settings pane and scroll down to the Security section to remove the quarantine.

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

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:

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

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.

[!NOTE] Want official support for another client mod? As long as it works on the web, feel free to submit a feature request!

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!). You may also need to manually install WebView2 if Dorion doesn't open after installing!

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 every distro. This will be available when WebkitGTK ships with WebRTC support, or if you compile your own WebkitGTK.

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. Pull the latest shelter build (this is used as a backup if it cannot be fetched on the fly)

    pnpm shupdate
  5. Apply the patches

    cd src-tauri
    cargo patch-crate
  6. Build the updater

    pnpm build:updater
  7. (Linux-only) Build the WebKitGTK extension

    cd src-tauri/extension_webkit
    cmake .
    cmake --build .
  8. Build!

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

All built files will be in src-tauri/target/(release|debug)/. Installation files (eg. .msi, .deb) are located in bundle/.

Known Issues

Troubleshooting

Windows

Linux

TODO

Using Plugins, Extensions, and Themes

[!TIP] See the examples directory for examples of plugins, including how to include external code and themes.

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

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

and like so on Linux:

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

so if you download a plugin, extension, or theme, just pop it into the plugins/extensions/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

Contributors

Screenshots

Installer Size Comparison (Windows)

Full Installed Size Comparison (Windows)

Loading screen

Settings Menu

Theme: Catpuccin - Frappe

Theme: Fluent