Voicebar
음성 우선 Android 키보드, Gboard와 함께 사용 음성 입력 후 정리된 메시지가 입력란에 들어갑니다
⌃Q 누르고 짧은 명령을 입력하면 커서 위치에 전체 프롬프트가 삽입됩니다
Press ⌃Q, type a short command, and a full prompt lands at your cursor. Parameterized prompt templates for Claude Code, Codex, Cursor and any text field. Open source, works offline, end-to-end encrypt
생산성Rust · C#GitHub @NekroAI온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
Open-source prompt launcher: press ⌃Q, type a short command, and a parameterized prompt lands in any app. Rust core, native macOS app, end-to-end encrypted sync.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Qantrip is pronounced like cantrip — the D&D spell you can cast again and again at no cost. The Q is the key you press to cast one. It is not a typo.
If you work with Claude Code, Codex, Cursor or a chat window all day, you retype the same instructions over and over: review the staged changes, focus on security, don't edit files… Snippet tools can paste fixed text, but real prompts need small variations every time.
Qantrip turns your prompts into parameterized templates you call with a short command:
r security --scope=staged -s focus on the auth module
│ │ │ │ └ free text, appended verbatim
│ │ │ └ short flag (-s = --strict)
│ │ └ option with a value (prefixes work: --sc=st)
│ └ positional value for the template's main parameter
└ template name or alias
…and inserts the rendered prompt into the app you were using, without touching your clipboard history and without accidentally submitting multi-line text in a terminal.
-- to see every parameter; ↩ inserts exactly what the preview shows and ⇥ completes, so one keystroke is enough even with a typo.[Pasted text] placeholder.Download the DMG — Apple silicon or Intel — open it and drag Qantrip into Applications. Requires macOS 14 or later.
Qantrip isn't notarized by Apple yet, so macOS blocks the first launch: open System Settings → Privacy & Security and click Open Anyway. Updates keep your permissions and templates.
Windows: download and run the installer (no admin rights needed; a portable zip is also available), then press Ctrl+Q. It isn't code-signed yet, so SmartScreen may ask you to click More info → Run anyway. Requires Windows 10 2004 or later (x64).
Linux (preview): download the AppImage — x64 or ARM64 — make it executable and run it, or install the .deb / .rpm (ARM64: .deb / .rpm). Press Ctrl+Shift+Q; on GNOME and KDE (Wayland) the system asks you to confirm the shortcut (other compositors: Settings gives a binding to copy, see Linux shortcuts), and the welcome guide lets you allow auto-paste once. Requires GTK 4.14+ and libadwaita 1.5+ (Ubuntu 24.04, Debian 13, Fedora 40 or later). See docs/install.md.
Create ~/Library/Application Support/Qantrip/templates/review.md (Linux: ~/.local/share/qantrip/templates/):
---
name: review
aliases: [r]
description: Code review
params:
focus:
type: multi
positional: true
choices: [security, performance]
strict: { type: bool, short: s, description: Report every doubt }
---
Review the current changes.
{% if focus %}Focus on: {{ focus | join(", ") }}.{% endif %}
{% if strict %}List anything uncertain and give a confidence level.{% endif %}
{% include "_extra" %}
Qantrip reloads it automatically. A file with the same name as a built-in template overrides it. You can also create and edit templates in the built-in library:
The full format is described in the input grammar and on the website.
| Area | Status |
|---|---|
| macOS app (panel, grammar, templates, library, settings, onboarding) | ✅ English and Chinese |
| Online demo (core compiled to WebAssembly) | ✅ qantrip.nekro.ai |
| Sync server (Cloudflare Workers + D1, ciphertext only) | ✅ deployed |
| End-to-end encrypted sync | ✅ macOS, Windows, Linux — design |
| Command mode for creating templates in the panel | ✅ |
| Windows | ✅ Windows 10/11 x64 (installer or portable zip) |
| Linux | 🧪 preview (x64 / ARM64; AppImage, .deb, .rpm; GNOME, KDE Plasma, X11) |
| AI-assisted template editing | 📝 planned |
┌──────────────────────────── core/ (Rust) ────────────────────────────┐
│ input grammar · template library · MiniJinja rendering · usage ranking │
└───────────┬───────────────────────┬───────────────────────────────────┘
│ UniFFI │ wasm-bindgen
┌───────────▼──────────┐ ┌─────────▼──────────────┐ ┌──────────────────────────┐
│ apps/macos (Swift) │ │ website demo (WASM) │ │ apps/cloud (Workers) │
│ AppKit + SwiftUI │ │ same parser, same │ │ website · accounts · │
│ hotkey · panel · │ │ templates, in the │ │ E2EE sync API (opaque │
│ paste · library │ │ browser │ │ ciphertext, D1 + R2) │
└──────────────────────┘ └─────────────────────────┘ └──────────────────────────┘
Each platform gets a native shell over a shared Rust core rather than a cross-platform UI framework — see decision D6.
| Path | Contents |
|---|---|
core/ | Rust core: grammar, templates, rendering, usage ranking; built-in templates in core/templates/ |
core/wasm/ | WebAssembly bindings for the website demo |
apps/macos/ | macOS app (Swift, SwiftPM — no Xcode project required) |
apps/linux/ | Linux app (Rust, GTK4 + libadwaita, links the core directly) |
apps/cloud/ | Website and sync server (Cloudflare Workers, React Router, Hono, D1) |
docs/ | Product requirements, input grammar, sync security design, decision log |
scripts/ | Build, packaging and signing scripts |
cargo test --manifest-path core/Cargo.toml # core tests
scripts/build-macos.sh # macOS app (dev-signed)
cargo run --manifest-path apps/linux/Cargo.toml # Linux app (needs GTK 4.14+ / libadwaita 1.5+ dev packages)
scripts/package-linux.sh # Linux AppImage, .deb and .rpm
scripts/build-wasm.sh # WebAssembly core for the website
cd apps/cloud && pnpm install && pnpm test # website + server contract tests
Design documents in docs/ are written in Chinese; code, comments and commit messages follow the language of the surrounding code. See CONTRIBUTING.md.
Sync is end-to-end encrypted: keys are generated on your devices, and the server only stores ciphertext it cannot decrypt. The threat model, key hierarchy and the metadata the server can see are documented in docs/sync-design.md. Please report vulnerabilities privately — see SECURITY.md.
apps/cloud/): AGPL-3.0-or-laterMade by NekroAI.