Coder Social home page Coder Social logo

vencord / vesktop Goto Github PK

View Code? Open in Web Editor NEW
3.0K 20.0 149.0 995 KB

Vesktop is a custom Discord App aiming to give you better performance and improve linux support

License: GNU General Public License v3.0

TypeScript 89.21% HTML 6.53% NSIS 0.25% CSS 2.40% JavaScript 1.61%

vesktop's Introduction

Vesktop

Vesktop is a custom Discord desktop app

Main features:

  • Vencord preinstalled
  • Much more lightweight and faster than the official Discord app
  • Linux Screenshare with sound & wayland
  • Much better privacy, since Discord has no access to your system

Not yet supported:

Installing

Windows

If you don't know the difference, pick the Installer.

Mac

Vesktop.dmg

Linux

Download on Flathub

If you don't know the difference, pick amd64.

Community packages

Below you can find unofficial packages created by the community. They are not officially supported by us, so before reporting issues, please first confirm the issue also happens on official builds. When in doubt, consult with their packager first. The flatpak and AppImage should work on any distro that supports them, so I recommend you just use those instead!

Building from Source

Packaging will create builds in the dist/ folder

git clone https://github.com/Vencord/Vesktop
cd Vesktop

# Install Dependencies
pnpm i

# Either run it without packaging
pnpm start

# Or package
pnpm package
# Or only build the pacman target
pnpm package --linux pacman
# Or package to a directory only
pnpm package:dir

vesktop's People

Contributors

aagaming00 avatar bloodywing avatar catgirlcataclysm avatar curve avatar d3sox avatar github-actions[bot] avatar khcrysalis avatar kittykel avatar lewisakura avatar lumap avatar mimillieuh avatar mrgarlic1 avatar nmsturcke avatar polisantheeasynick avatar priultimus avatar redeven avatar rniii avatar ryanccn avatar splatterxl avatar takase1121 avatar thekodetoad avatar tiagoquix avatar tymanwastaken avatar vendicated avatar viacoro avatar wearrrrr avatar x1nto avatar zirixcz avatar zt64 avatar zyrouge 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vesktop's Issues

"Failed to connect to arRPC, is it running?"

As the title describe. Fresh installation of Vencord client on windows 11. The client keep sending the title message at top border of the screen and clicking Retry doesn't change anything. Relaunching Vencord isn't either.

Any idea how to fix this ?

Thanks per advance.

image

show unread message indicator

It would be cool if vesktop could have the (.) indicator for when there are unread messages (not pings) like the official client does

using vesktop 0.2.8 on intel macos 13.4.1

Portable Settings

I added a portable build in 6a67f07, so you don't have to install it if you don't want to

However, as of now it will still write settings to AppData/Roaming. It would be cool to make it write its settings to the directoy the EXE is in or smth like that

Should be trivial by just using the PORTABLE_EXECUTABLE_DIR environment variable, see https://www.electron.build/configuration/nsis#portable

First Launch Tour

On first launch, it should ask you a few questions to optimise your experience:

  • Stable, canary or ptb?
  • Detect existing normal Vencord install and offer to import its settings if applicable
  • possibly more

[Bug] Icons from other programs do not show up on topbar when Vencord is running (Mac)

The bug happens when you have Vencord running, any icons that are supposed to show up from external apps don't show up until you quit out of Vencord. (I feel like this partially happens because you can't Hide Vencord)

Here's a video of me using Mac's built in screen recorder (which also has an icon for the topbar) before and after closing Vencord.

Screen_Recording_2023-07-09_at_1.57.23_PM.mov

[Feature Request] Acrylic Support

While this is a Windows only solution, it does add some very nice additions for theme creators.

And since it's not exactly night and day to simply switch out an ASAR for transparency anymore, I think if Vencord Desktop added support for Vibe it would attract more users.

More about vibe here: https://github.com/pykeio/vibe

How does webcord compare to vencord in terms of privacy?

How does webcord compare to vencord in terms of privacy?
This one, https://github.com/SpacingBat3/WebCord

How does WEBCORD compare to VENCORD/VESKTOP in terms of privacy?

In webcord there are several privacy focused settings.
Microphone, camera, desktop capture, background synchronisation, typing indicator, telemetry and fingerprinting can all be BLOCKED.
There are advanced options to disable the built-in content security policy and third party websites.
Does vencord have the same privacy capabilities as webcord does?

Is vencord capable of blocking discord's spying on the memory/ram?
Disabling the game activity status DOES NOT STOP discord from spying on
what programs/applications you are using on your computer, however webcord does block this!

[Bug] Themes Tab failed to render

Im on the newest version, already tried to reinstall.

This is the first time i encountered it, not sure if its a 2.8 issue or the updates since then did this. Or maybe its just a me issue for some reason.

image

[Feature request] Multi screen screensharing

I wanna be able to screenshare both of my screens individually, at the moment I'm only able to screenshare one screen. Also, I want to show Vesktop to my friends, however I don't have that option.

Where are the plugins located?

Hello, I would like to develop my own plugin, I have already implemented it on the full version of Vencord and I would also like to implement it here, however I can't find which file or folder contains the plugins, I looked through all the source code and couldn't find a match, help is very appreciated.

Windows 8.1 does not work

image

I know Windows 8.1 is old, but as the official Discord client may not support it for much longer, so it would be pretty sick if Vencord was able to get it working again

Implement Server join modal

Opening an invite link "beams" it into the discord desktop app and opens a mod

This works via rich presence server and arrpc already supports this, we would just need to implement the ui. Something like this in the arrpc file is all that's needed to send the event to the renderer

server.on('invite', code => mainWin.webContents.send(IPC_EVENTS.OPEN_INVITE, code)

[Feature Request] Platform Emulator

Title self explanatory, code below was hacked up for Acrilia

Might be nice as I've seen a few people complain they show up on web ๐Ÿ’€

Not sure how much this breaks

const browsers = {
    win32: { browser: "Discord Client", os: "Windows" },
    darwin: { browser: "Discord Client", os: "Mac OS X" },
    linux: { browser: "Discord Client", os: "Linux" },
    web: { browser: "Discord Web", os: "Other" },
    android: { browser: "Discord Android", os: "Android" },
    ios: { browser: "Discord iOS", os: "iOS" }
};

const OriginalWebSocket = WebSocket;
WebSocket = function (url, protocols) {
    const socket = new OriginalWebSocket(url, protocols);
    const originalSend = socket.send;
    socket.send = function (data) {
            newData = JSON.parse(data)
            if (newData.op == 2) {
                newData.d.properties = browsers[(config.platform).toLowerCase()]
                originalSend.call(this, JSON.stringify(newData));
            } else {
                originalSend.call(this, data);
            }
    };
    return socket;
};

Add ability to disable the spell checker

It is currently not possible to disable the spell checker for text input. In normal Discord, this can be accomplished using the context menu, but such an item is missing in Vencord Desktop. I also tried disabling it in the local storage as instructed by the help page, but the SpellcheckStore key didn't exist for me.

Windows: app.focus() causes already open window to flash

Writing a working focus method on windows turned out to be very hard, i found the only working method was to first mainWin.minimize(), then restore and show

This works, but has the side effect that an already foregrounded window will first minimise then maximise again which causes an ugly flash

I'm not exactly sure how to fix this since the workaround was the only method i found to be working

How to repro

  • Open vesktop on windows
  • Have it in the foreground then cause a focus, for example by clicking a message notification or launching an invite from the browser
  • See how window flashes

[Bug]: Screensharing does not support HDR

๐Ÿ‘‹๐Ÿฝ When using screensharing, if HDR is enabled on a monitor, the entire screen becomes unavailable for screensharing. When selecting a window running on the monitor with HDR, the output is a black screen while focused, but the preview does work correctly when tabbed out.

Enabling HDR while screensharing also seems to have no effect (that is to say, HDR can be enabled, and enabling it does not cause the black screen).

HDR off:
image

HDR on:
image

Better Wayland screenshare support

Hello, I've noticed some weird behaviour with Vencord when screen sharing on Wayland.

But first it works and that's one of the rare client that has Wayland screen share that works.

The issue is that it trigger a lot of portal request to get a screen share and also trigger window and screen at the same time.

As I show in the video below, it's possible to stream but if only one of the steps I do is missed I just have to restart Vencord since it won't trigger screen share any more.

If I succeed I can stop and restart the screen share without any issue (except the one described before).

Here infos about my system :

           .;ldkO0000Okdl;.              mimillie@susemicroos-pro-x 
       .;d00xl:^''''''^:ok00d;.          -------------------------- 
     .d00l'                'o00d.        OS: openSUSE MicroOS x86_64 
   .d0Kd'  Okxol:;,.          :O0d.      Host: 82TL Yoga Slim 7 ProX 14ARH7 
  .OKKKK0kOKKKKKKKKKKOxo:,      lKO.     Kernel: 6.4.6-1-default 
 ,0KKKKKKKKKKKKKKKK0P^,,,^dx:    ;00,    Uptime: 9 hours, 14 mins 
.OKKKKKKKKKKKKKKKKk'.oOPPb.'0k.   cKO.   Packages: 1639 (rpm), 51 (flatpak) 
:KKKKKKKKKKKKKKKKK: kKx..dd lKd   'OK:   Shell: bash 5.2.15 
dKKKKKKKKKKKOx0KKKd ^0KKKO' kKKc   dKd   Resolution: 2560x1440 
dKKKKKKKKKKKK;.;oOKx,..^..;kKKK0.  dKd   DE: GNOME 44.3 
:KKKKKKKKKKKK0o;...^cdxxOK0O/^^'  .0K:   WM: Mutter 
 kKKKKKKKKKKKKKKK0x;,,......,;od  lKk    WM Theme: Adwaita 
 '0KKKKKKKKKKKKKKKKKKKKK00KKOo^  c00'    Theme: Lavanda-Dark [GTK2/3] 
  'kKKKOxddxkOO00000Okxoc;''   .dKk'     Icons: Reversal-purple-dark [GTK2/3] 
    l0Ko.                    .c00l'      Terminal: gnome-terminal 
     'l0Kk:.              .;xK0l'        CPU: AMD Ryzen 7 6800HS Creator Edition (16) @ 3.200GHz 
        'lkK0xl:;,,,,;:ldO0kl'           Memory: 4627MiB / 27731MiB 
            '^:ldxkkkkxdl:^'                                                              
2023-08-02.20-43-32.mp4

Thanks !

[Packaging] Official scoop Package

Scoop is a windows package manager widely used by the more techy windows folks.
I have no idea what their stance is on these kinds of apps in official buckets (repos), but a bucket is just a git repo and anyone can host one on github. so it would be nice to have a official scoop bucket or package in one of the existing buckets.

I have seen the comment on #29, so I could try to help out with making the manifest or even creating a sample bucket repo that you just fork into the Vencord org maybe?

Although two people have already made their own vesktop packages here: https://github.com/anderlli0053/DEV-tools/blob/master/bucket/vesktop.json and here: https://github.com/okibcn/ScoopMaster/blob/master/bucket/vesktop.json
Those two buckets seem to be rather huge though with over 20k and 40k packages respectively. Not everyone wants to add those huge repos to their scoop install.

rich presence false positive

i'm not playing any game but in the rich presence there is a game called "last man standing", i dont know what is it, i have tried to close completely the app and it and disappeared, when i opened again vesktop it returned

Screenshot 2023-08-04 104152

[BUG] New Screenshare Implementation doesnt work on Wayland

Not complaining, i just wanted to let you know about this.
If you need any extra, any logs, and dumps, anything else.. Just tell me what you want

Here is my hyfetch (lgbt themeable neofetch fork) output, for some info you might need:
image

Text Version, less pretty but more easy to copy:

                                                           aki@Barbara 
 /๐Ÿฆ๐Ÿฆ๐Ÿฆ$ /๐Ÿฆ/๐Ÿฆ                /๐Ÿฆ๐Ÿฆ๐Ÿฆ  /๐Ÿฆ๐Ÿฆ๐Ÿฆ           ----------- 
| ๐Ÿฆ__  $|__| ๐Ÿฆ               /๐Ÿฆ__  ๐Ÿฆ/๐Ÿฆ__  ๐Ÿฆ          OS: PikaOS 23.04 x86_64 
| ๐Ÿฆ  \ ๐Ÿฆ/$| ๐Ÿฆ   /๐Ÿฆ /๐Ÿฆ๐Ÿฆ๐Ÿฆ| ๐Ÿฆ  \ $| ๐Ÿฆ  \__/          Host: MS-7B86 1.0 
| ๐Ÿฆ๐Ÿฆ๐Ÿฆ$| $| ๐Ÿฆ  /๐Ÿฆ/|____  $| ๐Ÿฆ  | $|  ๐Ÿฆ๐Ÿฆ๐Ÿฆ           Kernel: 6.3.0-pikaos 
| ๐Ÿฆ____/| $| ๐Ÿฆ๐Ÿฆ๐Ÿฆ/  /๐Ÿฆ๐Ÿฆ๐Ÿฆ| ๐Ÿฆ  | ๐Ÿฆ\____  ๐Ÿฆ          Uptime: 5 hours, 52 mins 
| ๐Ÿฆ     | $| ๐Ÿฆ_  ๐Ÿฆ /๐Ÿฆ__  $| ๐Ÿฆ  | ๐Ÿฆ/๐Ÿฆ  \ ๐Ÿฆ          Packages: 3517 (dpkg), 26 (flatpak), 15 (cargo) 
| ๐Ÿฆ     | $| ๐Ÿฆ \  $|  ๐Ÿฆ๐Ÿฆ๐Ÿฆ|  ๐Ÿฆ๐Ÿฆ๐Ÿฆ|  ๐Ÿฆ๐Ÿฆ๐Ÿฆ/          Shell: bash 5.2.15 
|__/     |__|__/  \__/\_______/\______/ \______/       .   Resolution: 2560x1440, 2880x1600, 2560x1440, 2560x1440 
                                                           DE: GNOME 44.2 (wayland) 
                                                           WM: Mutter 
                                                           WM Theme: Orchis-Purple-Dark 
                                                           Theme: Orchis-Purple-Dark [GTK2/3] 
                                                           Icons: Papirus [GTK2/3] 
                                                           Cursor: Adwaita [GTK2/3] 
                                                           Terminal: gnome-terminal 
                                                           CPU: AMD Ryzen 7 2700 (16) @ 3.1GHz 
                                                           GPU: AMD ATI Radeon RX 7900 XT/7900 XTX 
                                                           Memory: 17.15 GiB / 31.27 GiB (54%) 
                                                           Network: 1 Gbps 
                                                           Bluetooth: Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) 
                                                           BIOS: American Megatrends International, LLC. 5.17 (08/08/2022)
                                                           ```

Constantly being asked to verify if I'm a bot

Hello! I'm using vencord desktop on Linux Mint 21.1 Cinnamon, Cinnamon version 5.6.8, Kernel 5.15.0.76-generic.
Vencord version is f785aa1
As I've been using the program I've noticed that every time I try to send a message I get bombarded with several "Verify you're a human" prompts, and most recently a "verify your email/phone #" prompt. I'd prefer not to lose my discord account so I'm just wondering what's going on with that.

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.