MCPcopy Index your code
hub / github.com/BuildWithAIs/voicekey

github.com/BuildWithAIs/voicekey @v0.1.17

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.17 ↗ · + Follow
519 symbols 1,355 edges 93 files 5 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Contributors Forks Stargazers Issues

Logo

Voice Key

An open-source desktop voice input product






<a href="https://github.com/BuildWithAIs/voicekey">View Demo</a>
&middot;
<a href="https://github.com/BuildWithAIs/voicekey/issues">Report Bug</a>
&middot;
<a href="https://github.com/BuildWithAIs/voicekey/issues">Request Feature</a>

Voice Key Screenshot

Table of Contents

  1. Features
  2. Getting Started
  3. Configuration Requirements
  4. macOS Installation Guide
  5. License
  6. Star History

Features

  • Voice Transcription: Integrates GLM ASR (Zhipu AI) for high-precision speech-to-text.

Built With

This section lists the major frameworks and libraries used to bootstrap this project.

  • Electron
  • React
  • Vite
  • TypeScript
  • TailwindCSS
  • shadcn/ui
  • Zustand

(back to top)

Getting Started

Follow these simple steps to get a local copy up and running.

Prerequisites

Ensure you have Node.js and npm installed.

  • npm sh npm install npm@latest -g

Installation

  1. Get a free API Key (See Configuration Requirements)
  2. Clone the repo sh git clone https://github.com/BuildWithAIs/voicekey.git
  3. Install NPM packages sh npm install
  4. Run locally sh npm run dev
  5. Enter your API Key in the Settings

(back to top)

Configuration Requirements

This application depends on the Zhipu AI (GLM) speech transcription service. You must configure an API Key before use.

  1. Get API Key: Visit the Zhipu AI Open Platform (China or International) to register and obtain a Key.
  2. Configure: Open the Voice Key settings page and enter your API Key.

macOS Installation Guide

Since the application is unsigned (we have not yet registered an Apple Developer account), you need to perform the following steps after installation:

  1. Remove Security Restrictions
    If you receive a "File is damaged" message when opening the app, run the following command in the Terminal:

bash xattr -cr /Applications/Voice\ Key.app

Security Warning

  1. Grant Accessibility Permissions
    The application needs to listen for keystrokes and simulate input. Please go to System Settings > Privacy & Security > Accessibility and enable Voice Key. Permission Request Permission Settings

License

This project is licensed under the Elastic License 2.0.

Star History

Star History Chart

Extension points exported contracts — how you extend this code

TextRefiner (Interface)
(no doc) [1 implementers]
electron/main/refine/service.ts
ProcessEnv (Interface)
(no doc)
electron/electron-env.d.ts
ElectronAPI (Interface)
(no doc)
electron/preload/preload.ts
VoiceSession (Interface)
(no doc)
electron/shared/types.ts
Window (Interface)
(no doc)
src/global.d.ts
WaveformProps (Interface)
(no doc)
src/components/Waveform.tsx
MainLayoutProps (Interface)
(no doc)
src/layouts/MainLayout.tsx
DayGroup (Interface)
(no doc)
src/pages/HistoryPage.tsx

Core symbols most depended-on inside this repo

t
called by 264
electron/main/i18n.ts
cn
called by 84
src/lib/utils.ts
on
called by 47
electron/main/audio/converter.ts
formatNumber
called by 19
src/lib/useStatFormatters.ts
clear
called by 14
electron/main/history-manager.ts
hideOverlay
called by 12
electron/main/window/overlay.ts
updateOverlay
called by 12
electron/main/window/overlay.ts
getTranslationConfig
called by 9
electron/main/config-manager.ts

Shape

Function 348
Method 97
Interface 54
Class 20

Languages

TypeScript100%

Modules by API surface

src/pages/SettingsPage.tsx33 symbols
electron/main/local-asr-manager.ts32 symbols
electron/main/config-manager.ts26 symbols
electron/main/translation/translator.ts21 symbols
electron/shared/types.ts18 symbols
electron/main/audio/processor.ts17 symbols
electron/main/audio/converter.ts16 symbols
electron/main/text-injector.ts14 symbols
electron/main/logger.ts14 symbols
electron/main/refine/service.ts12 symbols
src/components/AudioRecorder.tsx11 symbols
electron/main/asr-provider.ts11 symbols

For agents

$ claude mcp add voicekey \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact