Skip to content
项目

关于

Vesktop 是一款定制版 Discord 应用,旨在提升性能并改善对 Linux 的支持。

其他项目

这些数字如何统计

实测星标增长

24小时
+5
7天
+24
15天
+39
1个月
+101

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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
  • Global keybinds, including push to talk (see Global Keybinds)

Installing

Visit https://vesktop.dev/install

Global Keybinds

Configure them in the Vesktop settings, or from Discord's Keybinds and Voice & Video settings.

  • Windows, Linux (X11): Bind any keys or mouse buttons in the Vesktop keybind settings
  • macOS: Same as above, but Vesktop needs the Accessibility permission
  • Linux (Wayland): Wayland doesn't let apps listen to global input. Enable global shortcuts in the Vesktop keybind settings and assign them in your system settings. This requires a desktop that supports the GlobalShortcuts portal, like GNOME or KDE

You can also trigger actions from other programs, for example your compositor's keybinds:

vesktop --run-shortcut toggleMute
# Append :down or :up to only press or release, e.g. for push to talk
vesktop --run-shortcut pushToTalk:down
vesktop --run-shortcut pushToTalk:up

For lower latency, send the same commands as lines to the socket at $XDG_RUNTIME_DIR/vesktop.sock:

echo "run-shortcut pushToTalk:down" | socat - UNIX-CONNECT:$XDG_RUNTIME_DIR/vesktop.sock

Run vesktop --help to see all actions.

Building from Source

You need to have the following dependencies installed:

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 (will build packages for your OS)
pnpm package

# Or only build the Linux Pacman package
pnpm package --linux pacman

# Or package to a directory only
pnpm package:dir

Building LibVesktop from Source

This is a small C++ helper library Vesktop uses on Linux to emit D-Bus events. By default, prebuilt binaries for x64 and arm64 are used.

If you want to build it from source:

  1. Install build dependencies:
    • Debian/Ubuntu: apt install build-essential python3 curl pkg-config libglib2.0-dev
    • Fedora: dnf install @c-development @development-tools python3 curl pkgconf-pkg-config glib2-devel
  2. Run pnpm buildLibVesktop
  3. From now on, building Vesktop will use your own build

探索相关项目

加载中…