{"id":46577962,"url":"https://github.com/xifan2333/fcitx5-vinput","last_synced_at":"2026-05-24T07:01:42.396Z","repository":{"id":342559165,"uuid":"1174348341","full_name":"xifan2333/fcitx5-vinput","owner":"xifan2333","description":"Voice input for Fcitx5 — local and cloud ASR, LLM rewriting, cross-distro packages","archived":false,"fork":false,"pushed_at":"2026-05-23T22:00:18.000Z","size":20672,"stargazers_count":231,"open_issues_count":2,"forks_count":23,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-23T23:23:25.388Z","etag":null,"topics":["fcitx5","input-method","linux","offline-asr","sherpa-onnx","speech-recognition","voice-input"],"latest_commit_sha":null,"homepage":"https://xifan2333.github.io/fcitx5-vinput/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xifan2333.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"custom":["https://xifan2333.github.io/fcitx5-vinput/sponsor/"]}},"created_at":"2026-03-06T10:40:59.000Z","updated_at":"2026-05-23T22:00:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8f5cbce-b5ce-44b9-991f-582dd28435b1","html_url":"https://github.com/xifan2333/fcitx5-vinput","commit_stats":null,"previous_names":["xifan2333/fcitx5-vinput"],"tags_count":91,"template":false,"template_full_name":null,"purl":"pkg:github/xifan2333/fcitx5-vinput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xifan2333%2Ffcitx5-vinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xifan2333%2Ffcitx5-vinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xifan2333%2Ffcitx5-vinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xifan2333%2Ffcitx5-vinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xifan2333","download_url":"https://codeload.github.com/xifan2333/fcitx5-vinput/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xifan2333%2Ffcitx5-vinput/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33424573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fcitx5","input-method","linux","offline-asr","sherpa-onnx","speech-recognition","voice-input"],"created_at":"2026-03-07T10:11:26.905Z","updated_at":"2026-05-24T07:01:42.390Z","avatar_url":"https://github.com/xifan2333.png","language":"C++","funding_links":["https://xifan2333.github.io/fcitx5-vinput/sponsor/"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# fcitx5-vinput\n\n**Voice input for Fcitx5 — local and cloud ASR, LLM rewriting, cross-distro packages**\n\n[![License](https://img.shields.io/github/license/xifan2333/fcitx5-vinput)](LICENSE)\n[![CI](https://github.com/xifan2333/fcitx5-vinput/actions/workflows/release.yml/badge.svg)](https://github.com/xifan2333/fcitx5-vinput/actions/workflows/release.yml)\n[![Release](https://img.shields.io/github/v/release/xifan2333/fcitx5-vinput)](https://github.com/xifan2333/fcitx5-vinput/releases)\n[![AUR](https://img.shields.io/aur/version/fcitx5-vinput-bin)](https://aur.archlinux.org/packages/fcitx5-vinput-bin)\n[![Downloads](https://img.shields.io/github/downloads/xifan2333/fcitx5-vinput/total)](https://github.com/xifan2333/fcitx5-vinput/releases)\n\n[English](README.md) | [中文](README_zh.md) | [Documentation](https://xifan2333.github.io/fcitx5-vinput/)\n\nhttps://github.com/user-attachments/assets/5a548a68-153c-4842-bab6-926f30bb720e\n\n\u003c/div\u003e\n\n## Features\n\n- **Two trigger modes** — tap to toggle recording, or hold to push-to-talk\n- **Local \u0026 cloud ASR** — offline [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) models or cloud providers (Doubao, Aliyun Bailian, ElevenLabs, OpenAI-compatible), switchable at runtime with `F8`\n- **LLM post-processing** — error correction, formatting, translation via scenes\n- **Command mode** — select text, speak an instruction, release to apply\n- **GUI \u0026 CLI** — `vinput-gui` for quick setup, `vinput` CLI for full control\n- **Cross-distro** — Arch, Fedora, Ubuntu/Debian, Nix, Flatpak\n\n## Installation\n\n### Arch Linux (AUR)\n\n```bash\nyay -S fcitx5-vinput-bin\n```\n\n### Fedora (COPR)\n\n```bash\nsudo dnf copr enable xifan/fcitx5-vinput-bin\nsudo dnf install fcitx5-vinput\n```\n\n### Ubuntu 24.04 (PPA)\n\n```bash\nsudo add-apt-repository ppa:xifan233/ppa\nsudo apt update\nsudo apt install fcitx5-vinput\n```\n\n### Ubuntu / Debian (manual)\n\n```bash\n# Download latest .deb from GitHub Releases\nsudo dpkg -i fcitx5-vinput_*.deb\nsudo apt-get install -f\n```\n\n### Nix (flake)\n\nSupports `x86_64-linux` and `aarch64-linux`.\n\n```nix\ninputs.fcitx5-vinput.url = \"github:xifan2333/fcitx5-vinput\";\n```\n\nBinary cache via [Cachix](https://fcitx5-vinput.cachix.org):\n\n```nix\nnixConfig = {\n  extra-substituters = [ \"https://fcitx5-vinput.cachix.org\" ];\n  extra-trusted-public-keys = [ \"fcitx5-vinput.cachix.org-1:XpX3AA6+dDIX4qJhb1QM7sbTwX6/qSlGvW8Z5NK6XdU=\" ];\n};\n```\n\nFull Home Manager example in the [install docs](https://xifan2333.github.io/fcitx5-vinput/install/).\n\n### Flatpak\n\n```bash\nflatpak remote-add --if-not-exists xifan https://xifan2333.github.io/flatpak-auto/xifan.flatpakrepo\nflatpak install https://xifan2333.github.io/flatpak-auto/refs/org.fcitx.Fcitx5.Addon.Vinput.flatpakref\n```\n\nAfter installation, grant the extra permissions and restart Fcitx5:\n\n```bash\nflatpak override --user --filesystem=xdg-run/pipewire-0 org.fcitx.Fcitx5\nflatpak override --user --filesystem=xdg-config/systemd:create org.fcitx.Fcitx5\nflatpak override --user --filesystem=xdg-cache org.fcitx.Fcitx5\nflatpak kill org.fcitx.Fcitx5\n\nDownload the package for your system from [GitHub Releases](https://github.com/xifan2333/fcitx5-vinput/releases/latest):\n\n- **Debian / Linux Mint / Ubuntu (other)**: `.deb`\n- **openSUSE / Fedora (other)**: `.rpm`\n- **Arch-based**: `.pkg.tar.zst`\n- **Flatpak**: `.flatpak`\n- **Generic Linux**: `_bundled.tar.gz`\n\n### Build from source\n\n**Dependencies:** cmake, fcitx5, pipewire, libcurl, nlohmann-json, CLI11, Qt6\n\n```bash\nsudo bash scripts/build-sherpa-onnx.sh\ncmake --preset release-clang-mold\ncmake --build --preset release-clang-mold\nsudo cmake --install build\n```\n\n## Quick start\n\n```bash\nsystemctl --user enable --now vinput-daemon.service\nfcitx5 -r\n```\n\nOpen **Vinput GUI** → **Resources → Models** → download and activate a model. Then:\n\n- **Tap** `Alt_R` — start/stop recording\n- **Hold** `Alt_R` — push-to-talk\n\n## Key bindings\n\n| Key | Default | Function |\n|-----|---------|----------|\n| Trigger Key | `Alt_R` | Tap to toggle recording; hold to push-to-talk |\n| Command Key | `Control_R` | Hold after selecting text to modify with voice |\n| ASR Menu Key | `F8` | Open ASR provider / model switcher |\n| Scene Menu Key | `Shift_R` | Open scene switcher |\n\nAll keys can be customized in Fcitx5 configuration.\n\n## Documentation\n\nFor ASR configuration, scenes \u0026 LLM setup, CLI reference, and registry contribution guide, see the [documentation site](https://xifan2333.github.io/fcitx5-vinput/).\n\n## License\n\n[GPL-3.0](LICENSE)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=xifan2333/fcitx5-vinput\u0026type=Date)](https://star-history.com/#xifan2333/fcitx5-vinput\u0026Date)\n\n## Contributors\n\n\u003ca href=\"https://github.com/xifan2333/fcitx5-vinput/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=xifan2333/fcitx5-vinput\" /\u003e\n\u003c/a\u003e\n\n## Sponsor\n\nIf this project has been helpful to you, feel free to support it.\n\n\u003cimg src=\"https://raw.githubusercontent.com/xifan2333/xifan2333/main/assets/donate.png\" alt=\"Donate\" width=\"300\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxifan2333%2Ffcitx5-vinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxifan2333%2Ffcitx5-vinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxifan2333%2Ffcitx5-vinput/lists"}