{"id":32533440,"url":"https://github.com/bcelary/gnome-speech2text","last_synced_at":"2026-05-18T10:09:28.697Z","repository":{"id":319131128,"uuid":"1074944564","full_name":"bcelary/gnome-speech2text","owner":"bcelary","description":"Local speech-to-text extension for GNOME Shell using Whisper.cpp. Record audio with keyboard shortcuts, transcribe offline, and insert text anywhere - fully private with no cloud APIs.","archived":false,"fork":false,"pushed_at":"2026-03-01T09:46:16.000Z","size":1470,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-01T13:22:53.954Z","etag":null,"topics":["gnome","gnome-shell-extension","python","python-service","whisper","whisper-cpp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kavehtehrani/gnome-speech2text","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcelary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-12T19:14:00.000Z","updated_at":"2026-03-01T09:46:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bcelary/gnome-speech2text","commit_stats":null,"previous_names":["bcelary/gnome-speech2text"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bcelary/gnome-speech2text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcelary%2Fgnome-speech2text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcelary%2Fgnome-speech2text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcelary%2Fgnome-speech2text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcelary%2Fgnome-speech2text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcelary","download_url":"https://codeload.github.com/bcelary/gnome-speech2text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcelary%2Fgnome-speech2text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnome","gnome-shell-extension","python","python-service","whisper","whisper-cpp"],"created_at":"2025-10-28T13:00:48.131Z","updated_at":"2026-05-18T10:09:28.692Z","avatar_url":"https://github.com/bcelary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GNOME Speech2Text using Whisper.cpp\n\n**Press shortcut → Speak → Get Text**\n\nLocal speech-to-text for GNOME Shell. No cloud. No APIs.\n\nStatus indicator in system tray (top-right panel) always shows recording/processing state.\n\n## Choose Your Experience\n\n- **Minimal** - Errors only, stay-out-of-the-way mode\n- **Normal** - Brief notifications, multitask while recording\n- **Focused** - Modal during recording only, transcription in background\n- **Blocking** - Full-screen modal, focused workflow (blocks during recording + transcription)\n\n## Features\n\n- Tray icon presents status (Idle/Recording/Transcribing)\n- Keyboard shortcut (Super+Alt+Space)\n- Multi-language support\n- Auto text insertion (X11 only) or clipboard\n- Customizable models and Voice Activity Detection\n- Fast local transcription (no cloud/APIs)\n\n## How It Works\n\nThree components required:\n- **Extension** - GNOME Shell UI, shortcuts, dialogs\n- **D-Bus Service** - Python backend (audio recording, processing)\n- **whisper.cpp** - [ggerganov/whisper.cpp](https://github.com/ggerganov/whisper.cpp) server for transcription\n\nAll three must be installed separately (see Installation below).\n\n## Installation\n\n### Quick Install (Recommended)\n\nInstall extension from [extensions.gnome.org](https://extensions.gnome.org/extension/8706/speech2text-with-whispercpp/), then:\n\n**1. Install Dependencies**\n\n```bash\n# Ubuntu/Debian\nsudo apt install build-essential cmake python3 pipx ffmpeg python3-dbus python3-gi wl-clipboard xdotool xclip\n\n# Fedora\nsudo dnf install gcc gcc-c++ cmake python3 pipx ffmpeg python3-dbus python3-gobject wl-clipboard xdotool xclip\n```\n\n**2. Install whisper.cpp**\n\n```bash\n# Clone\ngit clone https://github.com/ggml-org/whisper.cpp.git\ncd whisper.cpp\n\n# Build with CUDA support (NVIDIA GPU)\ncmake -B build -DGGML_CUDA=1 -DCMAKE_INSTALL_PREFIX=~/.local\ncmake --build build -j --config Release\ncmake --install build\n\n# Add to shell environment (~/.bashrc or ~/.zshrc) for CLI usage\necho 'export PATH=\"$HOME/.local/bin:$PATH\"' \u003e\u003e ~/.bashrc\necho 'export LD_LIBRARY_PATH=\"$HOME/.local/lib:$LD_LIBRARY_PATH\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n\n# Add to GNOME environment for the service\nmkdir -p ~/.config/environment.d\ncat \u003e\u003e ~/.config/environment.d/custom-env.conf \u003c\u003cEOF\nPATH=$HOME/.local/bin:\\$PATH\nLD_LIBRARY_PATH=$HOME/.local/lib:\\$LD_LIBRARY_PATH\nEOF\n\n# Download models\nmkdir -p ~/.cache/whisper.cpp\n./models/download-ggml-model.sh base ~/.cache/whisper.cpp\n./models/download-vad-model.sh silero-v5.1.2 ~/.cache/whisper.cpp\n\ncd ..\n```\n\n**CPU-only build:** Replace first cmake line with:\n```bash\ncmake -B build -DCMAKE_INSTALL_PREFIX=~/.local\n```\n\n**3. Install Service**\n\n```bash\n# Install latest\npipx install --system-site-packages \\\n  'git+https://github.com/bcelary/gnome-speech2text.git#subdirectory=service'\n\n# Or install a specific version\npipx install --system-site-packages \\\n  'git+https://github.com/bcelary/gnome-speech2text.git@v0.9.5#subdirectory=service'\n\nspeech2text-whispercpp-setup\n```\n\nRestart GNOME Shell (X11: `Alt+F2` → `r`, Wayland: log out/in)\n\n### Development Install\n\nFor developing or contributing:\n\n```bash\ngit clone https://github.com/bcelary/gnome-speech2text.git\ncd gnome-speech2text\nmake install  # Installs both service and extension\n```\n\nFollow steps 1-2 above for dependencies and whisper.cpp.\n\nRestart GNOME Shell (X11: `Alt+F2` → `r`, Wayland: log out/in)\n\n## Configuration\n\n**Service** (optional - create/edit `~/.config/environment.d/custom-env.conf`):\n```bash\n# These environment variables must be in ~/.config/environment.d/custom-env.conf\n# so GNOME Shell can see them (not ~/.bashrc)\n\nWHISPER_MODEL=small           # tiny, base, small, medium, etc.\nWHISPER_LANGUAGE=auto         # auto, en, es, fr, de, etc.\nWHISPER_VAD_MODEL=auto        # auto, none, silero-v5.1.2\nWHISPER_SERVER_URL=http://localhost:8080\nS2T_SERVICE_LOG_LEVEL=info    # error, warn, info, debug\n```\n\nAfter editing, restart GNOME Shell or log out/in.\n\n**Extension** (right-click microphone icon → Settings):\n- **Progress Display** - Always (blocks screen) / Focused (blocks recording only) / Normal (brief messages) / Errors only\n- **Post-Recording Action** - Show preview dialog / Auto-type text (X11 only) / Copy to clipboard only / Auto-type and copy (X11 only)\n- **Keyboard Shortcut** - Default: Super+Alt+Space\n- **Recording Duration** - 10 seconds to 15 minutes\n\n**Extension Logging** (optional - add to `~/.config/environment.d/custom-env.conf`):\n```bash\nS2T_LOG_LEVEL=info    # error, warn, info, debug\n```\n\n![prefs](./images/prefs.png)\n\u003e *Extension preferences for customizing behavior and keyboard shortcuts*\n\n## Usage\n\n1. Press `Super+Alt+Space` (or click the extension's round circle icon)\n2. Speak\n3. Press `Super+Alt+Space` (or icon) again to stop recording\n4. Obtain the result or Review transcription and Act (if using preview action)\n\n## Troubleshooting\n\n**Check installation:**\n```bash\nmake status\ngnome-extensions enable speech2text-whispercpp@bcelary.github\n```\n\n**View logs:**\n```bash\n./scripts/tail-logs.sh              # Extension logs\n./scripts/tail-service-logs.sh      # Service logs\n```\n\n**Note:** Text insertion requires X11. On Wayland, use clipboard mode.\n\n## Development\n\n```bash\nmake help                    # See all available targets\n```\n\nFor service development, see [service/README.md](./service/README.md).\n\n## Uninstall\n\n```bash\nmake uninstall\n```\n\n## License\n\nMIT - see [LICENSE](LICENSE)\n\nForked from [kavehtehrani/gnome-speech2text](https://github.com/kavehtehrani/gnome-speech2text)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcelary%2Fgnome-speech2text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcelary%2Fgnome-speech2text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcelary%2Fgnome-speech2text/lists"}