Skip to content
项目

关于

VIA Desktop 是一款 Electron 应用,可让你离线使用 VIA。

其他项目

这些数字如何统计

实测星标增长

24小时
+1
7天
+2
15天
+5
1个月
正在收集历史

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

README.md

原文

VIA Desktop

[!IMPORTANT] This application is provided as-is and weekly builds are fully automated.

VIA Desktop is an Electron application designed to provide an offline-capable desktop experience for VIA. Weekly builds are available via GitHub releases.

There are two parts to this:

  • The Electron application that hosts VIA locally and refreshes the keyboard catalog in the background
  • A local HTTP server that serves VIA, bundled Fira Sans fonts, and cached or bundled keyboard definitions

VIA Desktop starts immediately from bundled or cached definitions and works offline. On first startup, it asks whether to enable network downloads of keyboard definitions. Network access remains disabled unless the user explicitly enables it. Settings → Only use local definitions can also disable or re-enable network checks, and Settings → Force download definitions refreshes immediately when network access is enabled.

Unknown / Custom Keyboards

Keyboards in VIA's built-in catalog connect automatically. For keyboards not in the catalog (e.g. using a manufacturer JSON uploaded in VIA's Design tab), click Authorize device (or Authorize New) in VIA to approve that specific keyboard in the native picker. Approved devices are remembered across launches and can be reset via Settings → Clear allowed unknown devices.

Downloading a release for macOS: App is damaged and can't be opened

Gatekeeper on macOS blocks opening unsigned and unnotarised applications. Use the command below to allow macOS to open it:

xattr -d com.apple.quarantine /Users/<me>/Downloads/via-desktop.app

Linux USB permissions

On Linux, grant your user read/write access to your keyboard's /dev/hidraw* device via udev rules. See the QMK Linux udev instructions.

Usage

To start the application locally:

./build-via.sh
npm install
npm start

Development

Linting, Formatting, Typechecking & Tests

npm run lint
npm run prettier:check
npx tsc --noEmit
npm test

To auto-format with Prettier:

npm run prettier

Build

To build the application for distribution:

npm run make

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

探索相关项目

加载中…