Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
ci: add Windows paste and key listener download steps to build pipeline (#298)
borng16540524a49a
diff --git a/.github/workflows/build-and-notarize.yml b/.github/workflows/build-and-notarize.ymlindex 8e53064ae..ec450faf0 100644--- a/.github/workflows/build-and-notarize.yml+++ b/.github/workflows/build-and-notarize.yml@@ -118,6 +118,16 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+ - name: Download windows-fast-paste.exe+ run: node scripts/download-windows-fast-paste.js+ env:+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}++ - name: Download windows-key-listener.exe+ run: node scripts/download-windows-key-listener.js+ env:+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+- name: Cache Electronuses: actions/cache@v4with:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex d2d37265f..d72ca4032 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -110,6 +110,16 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+ - name: Download windows-fast-paste.exe+ run: node scripts/download-windows-fast-paste.js+ env:+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}++ - name: Download windows-key-listener.exe+ run: node scripts/download-windows-key-listener.js+ env:+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+- name: Cache Electronuses: actions/cache@v4with:diff --git a/package-lock.json b/package-lock.jsonindex 8accdc78a..3b54ab006 100644--- a/package-lock.json+++ b/package-lock.json@@ -2509,14 +2509,14 @@}},"node_modules/@neondatabase/auth-ui/node_modules/pg": {- "version": "8.17.2",- "resolved": "https://registry.npmjs.org/pg/-/pg-8.17.2.tgz",- "integrity": "sha512-vjbKdiBJRqzcYw1fNU5KuHyYvdJ1qpcQg1CeBrHFqV1pWgHeVR6j/+kX0E1AAXfyuLUGY1ICrN2ELKA/z2HWzw==",+ "version": "8.18.0",+ "resolved": "https://registry.npmjs.org/pg/-/pg-8.18.0.tgz",+ "integrity": "sha512-xqrUDL1b9MbkydY/s+VZ6v+xiMUmOUk7SS9d/1kpyQxoJ6U9AO1oIJyUWVZojbfe5Cc/oluutcgFG4L9RDP1iQ==","license": "MIT","optional": true,"peer": true,"dependencies": {- "pg-connection-string": "^2.10.1",+ "pg-connection-string": "^2.11.0","pg-pool": "^3.11.0","pg-protocol": "^1.11.0","pg-types": "2.2.0",@@ -13488,9 +13488,9 @@"optional": true},"node_modules/pg-connection-string": {- "version": "2.10.1",- "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.10.1.tgz",- "integrity": "sha512-iNzslsoeSH2/gmDDKiyMqF64DATUCWj3YJ0wP14kqcsf2TUklwimd+66yYojKwZCA7h2yRNLGug71hCBA2a4sw==",+ "version": "2.11.0",+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.11.0.tgz",+ "integrity": "sha512-kecgoJwhOpxYU21rZjULrmrBJ698U2RxXofKVzOn5UDj61BPj/qMb7diYUR1nLScCDbrztQFl1TaQZT0t1EtzQ==","license": "MIT"},"node_modules/pg-format": {diff --git a/package.json b/package.jsonindex d5c3a27e5..508f6db89 100644--- a/package.json+++ b/package.json@@ -24,7 +24,7 @@"build:renderer": "cd src && vite build","prebuild:mac": "npm run compile:native && npm run download:whisper-cpp && npm run download:llama-server && npm run download:sherpa-onnx","build:mac": "npm run build:renderer && electron-builder --mac",- "prebuild:win": "npm run compile:native && npm run download:whisper-cpp && npm run download:llama-server && npm run download:sherpa-onnx",+ "prebuild:win": "npm run compile:native && npm run download:whisper-cpp && npm run download:llama-server && npm run download:sherpa-onnx && npm run download:nircmd && npm run download:windows-fast-paste && npm run download:windows-key-listener","build:win": "npm run build:renderer && electron-builder --win","prebuild:linux": "npm run compile:native && npm run download:whisper-cpp && npm run download:llama-server && npm run download:sherpa-onnx","build:linux": "npm run build:renderer && electron-builder --linux",@@ -39,6 +39,9 @@"download:llama-server:all": "node scripts/download-llama-server.js --all","download:sherpa-onnx": "node scripts/download-sherpa-onnx.js --current","download:sherpa-onnx:all": "node scripts/download-sherpa-onnx.js --all",+ "download:nircmd": "node scripts/download-nircmd.js",+ "download:windows-fast-paste": "node scripts/download-windows-fast-paste.js",+ "download:windows-key-listener": "node scripts/download-windows-key-listener.js","format:js": "eslint . --fix && cd src && eslint . --fix && prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"","format": "npm run format:js","format:check": "eslint . && cd src && eslint . && prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",