Giter VIP home page Giter VIP logo

spikehd / dorion Goto Github PK

View Code? Open in Web Editor NEW
556.0 12.0 18.0 3.56 MB

Tiny alternative Discord client with a smaller footprint, snappier startup, themes, plugins and more!

Home Page: https://spikehd.github.io/projects/dorion/

License: GNU General Public License v3.0

HTML 7.48% Rust 75.84% JavaScript 0.89% Shell 0.79% CSS 0.26% Batchfile 0.31% TypeScript 14.43%
discord discord-client discord-mod tauri themes plugins

dorion's Introduction

I currently work as a software developer in Canada.

Stuff About Me

  • ๐Ÿ‘จโ€๐Ÿ’ป I have some experience in all sorts of different things:
    • JavaScript/NodeJS/TypeScript/NPM packages
    • Browser Extensions
    • HTML/CSS/JQuery
    • React/Preact
    • Web-to-desktop libraries like Electron, Tauri and Neutralino
    • SQL
    • Rust
    • C++
    • Java
    • API development, including a small amount of GraphQL
    • Docker, Kubernetes, and *some* components of AWS
  • ๐Ÿฒ Aside from all of that ^, I really like spicy food and collecting games I will never play.
  • ๐Ÿ’™ I enjoy helping people! Never be afraid to ask me something, unless it can be summarized in a GitHub issue ๐Ÿ˜ช
  • ๐Ÿ–ผ๏ธ I'm probably most proud of my Dorion, CSMLC or AmazonMonitor projects

dorion's People

Contributors

27rogi avatar cdzungx avatar darkcoder28 avatar dependabot[bot] avatar headquarter8302 avatar luximus-hunter avatar p34r1 avatar small-ku avatar spikehd avatar temanor avatar thororen1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dorion's Issues

[Bug] Can't zoom

Describe the bug
You can't change the scale of chats and all ui, like in the desktop app and website.

To Reproduce
Always

Expected behavior
Be able to change the scale of the ui.

Screenshots
Fully zoomed in on normal discord:
image
Fully zoomed out on normal discord:
image
Only level of zoom dorion can be on:
image

System Info (please complete the following information):

  • OS: Windows 11
  • Version: v0.7.3
  • Any other relevant info: -

Additional context

Move to Tauri v2 alpha

Tauri v2 is in alpha, and should contain a lot of features that are not present currently (for example, we may be able to finally fix #3 ).

This won't be coming in the next day or anything, but I want to experiment with it soon. A lot of stuff, since it's alpha, may be undocumented too, making progress a bit slower.

Not actually portable? [BUG]

Describe the bug
The portable version of the app (Dorion_Win64_Portable.zip) create folders outside of the main directory, namely in APPDATA and the user's home directory on windows (for plugins/themes)

To Reproduce
Steps to reproduce the behavior:
Use portable version

Expected behavior
Files and folders should be created in the portable app's directory.

Screenshots
If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

  • OS: Windows 10
  • Version: 22H2
  • Any other relevant info:

Additional context
Add any other context about the problem here.

[Bug] Crash on startup with MacOS

Describe the bug
Since the version 0.7.2, Dorion crash on startup. Tested with version 0.8.0 and the problem is still here

To Reproduce
Use MacOS Ventura, update Dorion to a version >= 0.7.2 and launch Dorion.

Expected behavior
Dorion start correctly

Screenshots
image

System Info (please complete the following information):

  • OS: MacOS Ventura 13.5
  • Version: >= 0.7.2
  • Any other relevant info:
    Macbook M2

Additional context
Dump of the crash from MacOS:
https://gist.github.com/Dysta/92c857d43c7c642aa5b308f698ba2e4c

[Bug] Double app title bar appears in linux (arch + KDE)

Describe the bug
like i said in the title, on top of the title bar provided by Dorion the native one from KDE also appears
im gonna poke around in the code, i might find a fix though i don't have a lot of experience with Rust

To Reproduce
i compiled it from source, and i saw the double title bar

Expected behavior
well, only one title bar should appear, either the native OS one, or the Dorion one

Screenshots
If applicable, add screenshots to help explain your problem.
image

System Info (please complete the following information):

  • OS: Arch Linux
  • Version: 6.4.8-zen1-1-zen
  • Any other relevant info: None

Additional context
None

Android version

hello, i think a mobile version of dorion is a good idea considering that many use discord on mobile! and i think its simple since javascript is used for dorion
above all: dorion from camp custom discord client on android would be successful! being that there are few that are reliable

[Feature Request] Noise Supression

Describe the bug
Noise suppression doesnt work as well on dorain vs normal discord
To Reproduce
Steps to reproduce the behavior: Use discord on a alt on your phone and on your pc and do something like snapping while talking, etc and its more likely to go through on dorian. you could also use 2 discord accounts one on dorian one on the normal discord (not tested), or get friends and test it on dorian vs normal discord and tell them to tell you which one they can hear or sounds louder.

Expected behavior
Describe what should be expected here. sound suppression to work

Screenshots
If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

  • OS: [e.g. Windows 11, Ubuntu 22.04] Windows 10
  • Version: [e.g. v0.5.0] 0.5.0
  • Any other relevant info:

Additional context
Add any other context about the problem here. Sorry if the bug report is a vague

Add a build guide

A build guide section in the README would be convenient for those who would like to build the client from source.

Activities in Voice Calls pushed down due to Custom Topbar[BUG]

Describe the bug
As described and seen in the screenshot, whatever activity is showing when you're fullscreen in a voice call will be pushed down by a few pixels obstructing some view of the member list, as spike had noted a similar tab selection issue occuring due to the custom topbar, then I will assume the same too.

To Reproduce
Just enter any voice call and start an activity, it might work best with interactive game style activities.

Expected behavior
Activity window centered in it's div.

Screenshots
image

System Info:

  • OS: Windows 10 22H2
  • Version: v0.5.0
  • Any other relevant info: No plugins enabled, only a theme

[BUG] Vencord Themes not working

Describe the bug
Vencord based theming doesn't work at all.

To Reproduce
Steps to reproduce the behavior:

  1. try to import theme regularly via link
  2. app reports the file can't be fetched
  3. try manually adding .css file
  4. app hangs on startup trying to import a .svg file, and have to press space to bypass

Expected behavior
Theme should import regularly.

Screenshots
If applicable, add screenshots to help explain your problem
Screenshot 2023-07-31 161233

System Info (please complete the following information):

  • OS: Windows 10
  • Version: v0.7.2
  • Any other relevant info:

Additional context
Add any other context about the problem here.

Can't use plugins.

When i put plugins in the plugins folder it shows at the place where can i enable plugins, but when i click ''Enabled?'' or ''Preload?'' buttons it doesn't enable the plugin.
image
image

My system is :

  • Windows 8.1

Support Vencord

I'm currently using this client mod called Vencord on the official client and it comes with a lot of useful plugins and also lets you use themes kind of how Dorion does it (it loads it from a .css file). I think it'd be good if Vencord could somehow be integrated with Dorion so that I can continue to use those plugins.

If it makes it any easier, the mod also comes as a browser extension and userscript as well:
https://github.com/Vendicated/Vencord/releases/latest/download/extension.zip
https://github.com/Vendicated/Vencord/releases/download/devbuild/Vencord.user.js

drag and drop servers

Is your feature request related to a problem? Please describe.
You can't drag and drop servers to remove them from folders, nor can you create new folders for servers

Describe the solution you'd like
Make it so that you are able to do it

Describe alternatives you've considered
An alternative would be to enable the creation and management of server folders with the right click or something of the sort

Additional context
Windows 10 22H2 last Dorion version

[Feature Request] Vencord on Linux

you use your own builds of Vencord now, you could transform regex to custom constructors in the build script using smth like acorn on the final renderer.js file

/(?<=joe)/i -> new CustomRegExp('(?<=joe)', 'i')
new RegExp('(?<=joe)', 'i') -> new CustomRegExp('(?<=joe)', 'i')

and then proxy match/exec calls like this

window.CustomRegExp = SUPPORTS_LOOKAROUND ? RegExp : class CustomRegExp implements RegExp {
    constructor(public source: string, public flags = '') {}
    [Symbol.match](text) {
        tauriIpc.doMatch([this.source, this.flags], text)
    }
    // other methods
}

and then use some rust regex engine for it. could probably do optimizations that make the performance hit minimal too tbh

Webpack Injection

Current JS injection stuff works, but it's a little... rudimentary. I want to shift to injecting into the Webpack, as this gives us more control over a lot of the internals. Vencord does this, for example.

I have yet to know exactly how to do this, but I have been going into a deep dive and hope to create a new branch sometime that implements this.

[BUG] Discord components links don't open

Describe the bug
When you click on a discord button components that redirect to a link, the link don't open and nothing happen.

To Reproduce
Have a message with button components attached to it and click one of the buttons.

Expected behavior
The redirect link should open in a browser or something

Screenshots
image then click into one button and nothing happen

System Info (please complete the following information):

Additional context
Same error with link in the about me section
image
Tested with and without the vencord plugin OpenInApp and the bug is still here

Windows 7 support?

Hi, I'm using Windows 7 SP1 x64
For some reason Dorion does not work, the portable zip just starts and closes quickly (0.3.1), the installer gives an error (0.4.0).
Dorion Windows 7 Installer
I wonder if the program is supported, or if it can be fixed to run on Windows 7 as well.

congrats

great program. it's the only alternative client, so far, with a decent github page (why is it so hard for people to write a readme and post screenshots?), support for more than 1 OS, that replicates discord's fingerprint (reducing change of getting flagged or banned), and, most importantly, that actually works better than discord. on windows, webview makes it feel more native than chromium. it uses slightly less RAM than discord, which is nice. also seems to open slightly faster. not to mention the option to disable telemetry. this has very few stars considering how well made it is.

thanks for making a windows version.

Add setting to open links in default browser

Currently, any link or image you try to open in Dorion opens in the Edge Webview, but I'd much prefer for it to open in my default browser like how the regular Discord client does it. I'm not seeing any setting to enable that at the moment, so I think it'd be a nice improvement to add.

Fix memory leak

Very slowly will the RAM usage increase. Can't tell if it's my fault or just Discord being Discord, so if its me I should fix it, and if its Discord I should try and see if I can make a scuffed fix.

Not working on macOS normally

Describe the bug
First, there was a problem with the building. I could only build the dev version. When I opened Dorion on my Mac, login animation was laggy. Then when I wanted to join the voice channel, it wrote: "Your browser is deprecated".

To Reproduce
Open Dorion. You will see laggy login animation
Join a voice channel or undeafen yourself

Expected behaviour
feels really laggy

Screenshots
Screenshot 2023-07-08 at 10 05 09

Screenshot 2023-07-08 at 10 05 14

System Info (please complete the following information):

  • OS: macOS 13.4.1
  • Version v0.5.0
  • Any other relevant info: M1 MacBook Air
    Additional context
    maybe the problem with WebKit

Future: Re-style components to use Discord styling

The change between using external documents to integrating entirely within Discord was hasty, and I didn't want to rebuild everything to use Discord styles. I should, however, do that, so it will be something done in the future.

Add option to change mic input

Since Dorion is (obviously) based off the web-app, you can't really change the Input device for Voice. I believe the way to do this is on webview is to prompt user for microphone permissions (?), then you could change the input device in the permissions box (default behaviour on chromium atleast)

[Bug] The client doesn't start after installing on windows 10 via the msi installer

Describe the bug
doesn't start

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Describe what should be expected here.

Screenshots
If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

  • OS: windows 10
  • Version: v0.7.3
  • Any other relevant info: I was using the msi installer

Additional context
I also tried reinstalling but that still doesn't fix it

[BUG] Portable remembering/caching info

Describe the bug
The portable app after upgrading remembers my login info.

To Reproduce
Steps to reproduce the behavior:

  1. Use old portable version
  2. Update and delete old portable folder
  3. Use new portable version. It doesn't ask for login info.

Expected behavior
The portable app shouldn't remember the previous version's credentials

Screenshots
If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

  • OS: Windows 10
  • Version: Latest
  • Any other relevant info:

Additional context
Add any other context about the problem here.

[BUG] Bad folder open in Dorion Settings

Describe the bug
In Dorion Settings menu, when clicking on the Folder Icon to open the Plugins Folder, it open the Theme Folder

To Reproduce
Steps to reproduce the behavior:
Go to settings > Dorion Settings then click on the folder icon related to Plugins Folder

Expected behavior
Open the correct folder

Screenshots
If applicable, add screenshots to help explain your problem.
image

System Info (please complete the following information):

  • OS: [e.g. Windows 10 64b]
  • Version: 0.6.2
  • Any other relevant info: Chromium 144

Additional context
Add any other context about the problem here.

[BUG] Linux: "Unsupported Browser" when trying to join a voice

Can't join a voice, can't unmute, because Discord detects browser as unsupported.

When trying to unmute, Discord prompts with the "Unsupported Browser" "Use latest version of Chrome/ Firefox" etc.

I'm using the AUR build (0.5.0-1) on Manjaro + Wayland.

No idea what other info to attach...

[BUG] Super laggy and slow

Describe the bug
The app is slow to move between channels and different areas of the app.

To Reproduce
Steps to reproduce the behavior:

  1. use app
  2. notice behavior

Expected behavior
Regular speed animations or snappy navigation

Screenshots
If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

  • OS: Windows 10, 22H2
  • Version: 19045
  • Any other relevant info:

Additional context
Add any other context about the problem here.

minimize to tray + hide/show functions on tray icon

Is your feature request related to a problem? Please describe.
Would be nice to enable Minimize to Tray function and also make it possible to click on the tray icon to hide/show the client.

Describe the solution you'd like
Create an option to enable Minimize to Tray and enhance the tray icon by making it so that you can hide/show the client by left-clicking on it, and/or by right-clicking on it

Describe alternatives you've considered

Additional context
Windows 10 22H2 on latest Dorion version

[Feature Request] Custom keybinds

The title is self-explanatory but in the keybinds settings it shows to download the app for custom keybinds.

To Reproduce
Open the Keybinds section in Discord Settings.

Expected behavior
It should show as the normal Discord app and custom keybinds should work.

Screenshots
image

System Info (please complete the following information):

  • OS: [Windows 10, build 19045.2965]
  • Version: [v0.5.0]

[Feature Request] Wayland Support

Is your feature request related to a problem? Please describe.

  • Wayland Support
  • Wayland Screensharing Support
  • Pipewire Support (To make Audio Screensharing Work)

Describe the solution you'd like
Implementation of these features (Armcord is currently working on this as well)
Make Wayland work natively on Dorion instead of running it through Xwayland.

Ability to drag files to the client to send

Currently, if you try to drag a photo or a file into the client to send it, nothing happens while you're dragging it or after you drop it. In the stock client and the website, you can send files by dragging it into the window, so I think it'd be a good improvement to have this in Dorion as well.

[Feature Request] Real-time css editor

I would like to see a real-time CSS editor like the one found in BetterDiscord
If that turns out to be hard, at least having a non real-time CSS editor would be better than having nothing.

Here is the editor in BD for context:
css-editor

[Feature Request] Add native window style

Is your feature request related to a problem? Please describe.
Unable to use native window style.

Describe the solution you'd like
Allow the use of the native window style, like in ArmCord:

image

Describe alternatives you've considered
No alternatives available.

Additional context
Screenshot provided above.

[BUG] Plugins with dynamically imported module not working

Describe the bug
Using petpet plugin and it shows this error:

TypeError: Failed to fetch dynamically imported module: https://unpkg.com/[email protected]/dist/gifenc.esm.js

To Reproduce
Steps to reproduce the behavior:

  1. Enable the plugin, petpet
  2. Try to petpet from chat

Expected behavior
GIF is successfully made and ready for sending.

Screenshots

System Info (please complete the following information):

  • OS: Windows 11 23H2 25905.1000
  • Version: v0.6.2
  • Any other relevant info:

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.