Documentation Index
Fetch the complete documentation index at: https://mintlify.com/khaphanspace/gonhanh.org/llms.txt
Use this file to discover all available pages before exploring further.
Privacy & Security
Does Gõ Nhanh collect or send my typing data?
Does Gõ Nhanh collect or send my typing data?
- 100% offline - No network requests, no telemetry, no analytics
- No cloud services - Everything runs locally on your Mac
- Open source - You can verify the code yourself
Ba Không (Three No’s) Commitment:
- 🚫 No fees - Free forever, no Pro version
- 🚫 No ads - No popups, no interruptions
- 🚫 No tracking - 100% offline, open source
Why does Gõ Nhanh need Accessibility permission?
Why does Gõ Nhanh need Accessibility permission?
- Intercept keyboard events - Capture keystrokes before they reach apps
- Send replacement text - Replace Latin characters with Vietnamese diacritics
- Detect focused elements - Identify address bars, search fields, etc. for smart replacement
- Record your keystrokes
- Track which apps you use
- Access clipboard or files
- Connect to the internet
Is my data safe with Gõ Nhanh running?
Is my data safe with Gõ Nhanh running?
- Processes keystrokes in-memory only - No writing to disk (except user settings)
- No logging by default - Debug mode is manual opt-in and writes to
/tmp/ - No cloud sync - Settings stored in macOS Preferences locally
- No third-party SDKs - Pure Rust + Swift, no analytics frameworks
- ~5MB RAM usage
- 64-character circular buffer (cleared on word boundaries)
- Settings stored in
~/Library/Preferences/org.gonhanh.*
Can I use Gõ Nhanh for work/sensitive documents?
Can I use Gõ Nhanh for work/sensitive documents?
- Corporate environments
- Confidential documents
- Password managers (typing passwords)
- Medical/legal software
- Respects macOS Secure Input mode (auto-disables during password entry)
- No network access
- BSD-3-Clause license (permissive for commercial use)
Platform Support
Which platforms does Gõ Nhanh support?
Which platforms does Gõ Nhanh support?
| Platform | Status | Installation |
|---|---|---|
| macOS | ✅ Production | Homebrew or manual DMG |
| Linux | 🧪 Beta | Build from source |
| Windows | 🧪 Beta | Build from source |
- macOS 13.0 (Ventura) or later
- Apple Silicon (M1/M2/M3/M4) or Intel
When will Linux/Windows versions be stable?
When will Linux/Windows versions be stable?
- Uses Fcitx5 framework
- See install-linux.md
- Uses SetWindowsHookEx for keyboard hooks
- See install-windows.md
Can I use Gõ Nhanh on iPad/iPhone?
Can I use Gõ Nhanh on iPad/iPhone?
Features & Functionality
What's the difference between Telex and VNI?
What's the difference between Telex and VNI?
Telex (default)
Uses letters for diacritics:s/f/r/x/jfor tones (sắc/huyền/hỏi/ngã/nặng)aa/aw/ee/oo/ow/uwfor vowel marksddfor đ
tuong + w = tươngVNI
Uses numbers for diacritics:1/2/3/4/5for tones6/7/8/9for vowel marks
tuong + 7 = tươngHow does auto-restore for English words work?
How does auto-restore for English words work?
| Type | Without Auto-restore | With Auto-restore |
|---|---|---|
text | têt ❌ | text ✅ |
expect | ễpct ❌ | expect ✅ |
with | ưith ❌ | with ✅ |
- Type the word (e.g.,
text) - Gõ Nhanh initially shows
têt - Press Space
- Engine checks if result is invalid Vietnamese
- If invalid → auto-restores to original
text
- Only triggers on Space
- Can’t detect words that form valid Vietnamese (e.g.,
mix→mĩ) - Workaround: Press ESC to restore, or toggle Gõ Nhanh off (
Ctrl+Space)
Can Gõ Nhanh auto-capitalize sentences?
Can Gõ Nhanh auto-capitalize sentences?
.(period) + Space!(exclamation) + Space?(question mark) + Space- Enter key (new line)
How do I add custom shortcuts (gõ tắt)?
How do I add custom shortcuts (gõ tắt)?
vn→Việt Namtpho→thành phố Hồ Chí Minhdc→được
What is per-app mode and delay customization?
What is per-app mode and delay customization?
- Code in VS Code with Gõ Nhanh OFF
- Switch to Slack → auto-enables
- Switch back to VS Code → auto-disables
- Chrome address bar → Selection mode (auto-detected)
- JetBrains IDEs → Selection mode (auto-detected)
- Claude Code/Cursor → Manual delay adjustment needed
Performance & Compatibility
How fast is Gõ Nhanh?
How fast is Gõ Nhanh?
| Metric | Value | How it feels |
|---|---|---|
| Latency | < 1ms | Imperceptible |
| RAM usage | ~5MB | Minimal |
| CPU (idle) | 0% | No background processing |
| CPU (typing) | 1-3% spikes | Instant response |
- Rust engine processing: ~100-200μs
- macOS event handling: ~100-200μs
- FFI overhead: ~50μs
- Total: 300-500μs (well under 1ms)
Does Gõ Nhanh work in all apps?
Does Gõ Nhanh work in all apps?
✅ IDEs: VS Code, Xcode, JetBrains, Zed, Sublime
✅ Productivity: Notion, Obsidian, Google Docs, Microsoft Office
✅ Communication: Slack, Discord, Telegram, Messages, Zalo
✅ Terminal: Terminal.app, iTerm2, Ghostty
✅ Other: Figma, Linear, ClickUp, Zendesk, etc.Special handling for:
- Address bars (Chrome, Safari, Arc) - uses selection instead of backspace
- JetBrains autocomplete - detected via bundle ID
- Excel cell editing - optimized replacement
- Password fields (auto-disables via Secure Input)
- Terminal commands (use
Ctrl+Spaceto toggle off)
Can I use Gõ Nhanh with other input methods?
Can I use Gõ Nhanh with other input methods?
- Japanese (Hiragana/Katakana)
- Chinese (Pinyin/Cangjie)
- Korean (2-Set Korean)
- French, German, Spanish, etc.
Why is there a delay in Claude Code / Cursor / Windsurf?
Why is there a delay in Claude Code / Cursor / Windsurf?
- Backspace (to delete old char)
- New character (to insert diacritic)
- Settings → Advanced → Per-app customization
- Add your IDE
- Increase Delay slider to “Very High” (purple)
Comparison with Other IMEs
How is Gõ Nhanh different from macOS built-in Vietnamese?
How is Gõ Nhanh different from macOS built-in Vietnamese?
| Feature | macOS Vietnamese | Gõ Nhanh |
|---|---|---|
| Pre-edit window | ✅ Black box (annoying) | ❌ Edit in place |
| Auto-restore English | ❌ text → têt | ✅ text → text |
| ESC to restore | ❌ | ✅ |
| Per-app mode | ❌ | ✅ |
| Smart fixes | ❌ | ✅ Chrome, Arc, IDEs |
| Performance | Slow (system IMK) | Fast (sub-1ms Rust) |
| Open source | ❌ | ✅ BSD-3-Clause |
| Privacy | Unknown | 100% offline, no tracking |
Gõ Nhanh vs OpenKey/EVKey/GoTiengViet?
Gõ Nhanh vs OpenKey/EVKey/GoTiengViet?
vs OpenKey
- Same approach: System-wide keyboard hook
- Gõ Nhanh advantages:
- Rust core (faster, safer)
- Auto-restore English words
- Per-app delay customization
- Modern SwiftUI interface
- Active development (2025)
vs EVKey
- EVKey is Windows-focused
- Gõ Nhanh is cross-platform (macOS primary, Linux/Windows beta)
vs GoTiengViet
- Similar features
- Gõ Nhanh adds:
- Validation-first engine (7-stage pipeline)
- Better Chrome/IDE compatibility
- Lower latency (sub-1ms vs 2-5ms)
- Modern architecture (Rust + Swift)
- Extreme performance focus
- Scientific documentation (linguistics + algorithms)
Why not just use UniKey?
Why not just use UniKey?
- First widely-adopted Vietnamese IME (1998-2016)
- Pioneered Telex/VNI input
- Established user expectations
- UniKey not maintained since 2016
- Doesn’t support modern macOS (Sonoma, Sequoia)
- 32-bit only (macOS dropped 32-bit in Catalina)
- No fix for Chrome address bar, Claude Code, etc.
Troubleshooting & Support
Where do I report bugs or request features?
Where do I report bugs or request features?
- Bug reports: github.com/khaphanspace/gonhanh.org/issues
- Feature requests: Use “Feature Request” template
- Questions: GitHub Discussions
- Check existing issues
- Update to latest version
- Include:
- macOS version (
sw_vers) - GoNhanh version (menu bar → About)
- Steps to reproduce
- macOS version (
How do I enable debug mode?
How do I enable debug mode?
Can I contribute to Gõ Nhanh?
Can I contribute to Gõ Nhanh?
- Code: Rust engine, Swift UI, platform support
- Testing: Report bugs, test beta features
- Documentation: Improve guides, translations
- Financial: GitHub Sponsors
Is there a support community?
Is there a support community?
- Ask questions
- Share tips
- Help other users
- Unikorn.vn (Vietnamese indie products)
- J2TEAM Launch (Vietnamese dev community)
Licensing & Commercial Use
What license is Gõ Nhanh under?
What license is Gõ Nhanh under?
- ✅ Use commercially
- ✅ Modify the code
- ✅ Distribute (original or modified)
- ✅ Use in proprietary software
- Include copyright notice
- Include license text
- Not use author’s name to promote without permission
Can I use Gõ Nhanh at my company?
Can I use Gõ Nhanh at my company?
- Personal use
- Commercial use
- Government use
- Educational use
- 100% offline (no data leaving network)
- No licensing fees
- Open source (auditable)
- BSD-3-Clause (permissive)
Will Gõ Nhanh always be free?
Will Gõ Nhanh always be free?
🚫 No fees - Free forever, no Pro versionThe project is funded by:
- Personal time (author Kha Phan)
- GitHub Sponsors (optional donations)
- Community contributions
- Paid Pro version
- Subscription model
- Ads or sponsorships
- Selling user data (we don’t collect any!)