Huncrow is a fast, lightweight native code editor built in Go with mygo for macOS, Windows and Linux. Rendered purely in native Go with no WebView, it brings editing, LSP intelligence, Git workflow, Markdown preview and an integrated terminal into one desktop app.
- Editing & files
- Side-by-side split editors with drag-resizable panes, capsule tabs with pinning, tab wrapping, overflow search and breadcrumbs
- Multi-encoding support (UTF-8, UTF-8 BOM, UTF-16 LE/BE, GBK, GB18030, Big5, Shift-JIS, Latin-1), LF / CRLF switching, automatic indentation detection and configurable auto-save
- Built-in safeguards for large files (opens files over 20 MiB read-only; rejects files over 256 MiB), binary detection, disk-conflict diffing and native image preview (PNG, JPEG, GIF, WebP, BMP, ICO, SVG)
- Session restore with unsaved draft persistence for both workspace and standalone files
- File explorer with live file watching, Material Icon Theme file icons and native trash support
- LSP & code intelligence
- Built-in Language Server Protocol client preconfigured for Go (gopls), TypeScript / JavaScript (typescript-language-server), Python (pyright), Rust (rust-analyzer) and C / C++ (clangd), plus custom servers in settings.json
- Autocomplete, hover documentation, go-to-definition with multi-definition picker, inline diagnostics and a clickable Problems panel
- Automatic server detection with install hints when a language server is not found
- Navigation & search
- Unified Omnibar (⌘P / Ctrl+P or Double-Shift) with prefix modes: files, > commands, @ symbols, : go to line, # workspace search and ? help
- Concurrent project-wide search and replace with regex, case sensitivity, glob filters and .gitignore awareness
- Git
- Source control panel with status indicators, stage / unstage, commit, branch switching and creation, and remote push / pull / fetch / sync with live progress
- Multi-lane commit history graph with expandable commit details and per-file commit diffs
- Diff viewer for working-tree, staged, historical commit and external disk-conflict changes
- Automatic local backup and recovery before discarding changes, plus Workspace Trust confirmation for untrusted repositories
- Markdown preview
- Pure native side-by-side Markdown preview without a WebView
- Renders tables, task lists, blockquotes, images and syntax-highlighted code fences, with draggable split ratio and automatic theme adaptation
- Integrated terminal
- Native PTY terminal docked alongside Problems and LSP Output in a resizable, maximizable bottom panel
- Multiple renamable sessions with a 16-color ANSI palette synced to the active editor theme and configurable shell and font size
- Smart shortcut handling: terminal focus forwards keys to the shell while whitelisted app shortcuts keep working
- Themes & customization
- 17 built-in light and dark themes (Huncrow, GitHub, Catppuccin, Tokyo Night, One, Gruvbox, Solarized, Rosé Pine, Ayu, Everforest, Vitesse, Dracula, Nord, Monokai Pro, Kanagawa, Night Owl and Quiet Light) with automatic system appearance following
- Import VS Code color themes from local .json / .vsix files, Open VSX, Visual Studio Marketplace or direct URLs, plus per-token color customizations
- Live-reloaded settings.json and customizable chorded keybindings.json
- Everyday use
- Pure Go native rendering with no WebView or browser runtime
- Embedded JetBrains Mono font, Lucide UI icons and Material Icon Theme file icons
- Built-in English, Simplified Chinese and Traditional Chinese, plus drop-in JSON language packs
- Signed in-app delta updates across macOS, Windows and Linux
> Huncrow comes from hunger crow: a hungry crow, eager to open your files in a blink.
Huncrow is a fast, lightweight native code editor built in Go with mygo for macOS, Windows and Linux. Rendered purely in native Go with no WebView, it brings editing, LSP intelligence, Git workflow, Markdown preview and an integrated terminal into one desktop app.
Screenshots
<img src="docs/editor.webp" alt="Editor and file explorer" width="100%" />
Editor and file explorer
<img src="docs/source-control.webp" alt="Source control and commit graph" width="100%" />
Source control and commit graph
<img src="docs/settings.webp" alt="Appearance settings and color themes" width="100%" />
Appearance settings and color themes
<img src="docs/diff-viewer.webp" alt="Side-by-side diff viewer" width="100%" />
Side-by-side diff viewer
Features
Editing & files
Side-by-side split editors with drag-resizable panes, capsule tabs with pinning, tab wrapping, overflow search and breadcrumbs
Built-in safeguards for large files (opens files over 20 MiB read-only; rejects files over 256 MiB), binary detection, disk-conflict diffing and native image preview (PNG, JPEG, GIF, WebP, BMP, ICO, SVG)
Session restore with unsaved draft persistence for both workspace and standalone files
File explorer with live file watching, Material Icon Theme file icons and native trash support
LSP & code intelligence
Built-in Language Server Protocol client preconfigured for Go (gopls), TypeScript / JavaScript (typescript-language-server), Python (pyright), Rust (rust-analyzer) and C / C++ (clangd), plus custom servers in settings.json
Autocomplete, hover documentation, go-to-definition with multi-definition picker, inline diagnostics and a clickable Problems panel
Automatic server detection with install hints when a language server is not found
Navigation & search
Unified Omnibar (⌘P / Ctrl+P or Double-Shift) with prefix modes: files, > commands, @ symbols, : go to line, # workspace search and ? help
Concurrent project-wide search and replace with regex, case sensitivity, glob filters and .gitignore awareness
Git
Source control panel with status indicators, stage / unstage, commit, branch switching and creation, and remote push / pull / fetch / sync with live progress
Multi-lane commit history graph with expandable commit details and per-file commit diffs
Diff viewer for working-tree, staged, historical commit and external disk-conflict changes
Automatic local backup and recovery before discarding changes, plus Workspace Trust confirmation for untrusted repositories
Markdown preview
Pure native side-by-side Markdown preview without a WebView
Renders tables, task lists, blockquotes, images and syntax-highlighted code fences, with draggable split ratio and automatic theme adaptation
Integrated terminal
Native PTY terminal docked alongside Problems and LSP Output in a resizable, maximizable bottom panel
Multiple renamable sessions with a 16-color ANSI palette synced to the active editor theme and configurable shell and font size
Smart shortcut handling: terminal focus forwards keys to the shell while whitelisted app shortcuts keep working
Windows Subsystem for Linux (\wsl.localhost): folders open in place, Git and language servers run inside the distribution, and terminals start in the matching distro automatically
Themes & customization
17 built-in light and dark themes (Huncrow, GitHub, Catppuccin, Tokyo Night, One, Gruvbox, Solarized, Rosé Pine, Ayu, Everforest, Vitesse, Dracula, Nord, Monokai Pro, Kanagawa, Night Owl and Quiet Light) with automatic system appearance following
Import VS Code color themes from local .json / .vsix files, Open VSX, Visual Studio Marketplace or direct URLs, plus per-token color customizations
Live-reloaded settings.json and customizable chorded keybindings.json
Everyday use
Pure Go native rendering with no WebView or browser runtime
Embedded JetBrains Mono font, Lucide UI icons and Material Icon Theme file icons
Built-in English, Simplified Chinese and Traditional Chinese, plus drop-in JSON language packs
Signed in-app delta updates across macOS, Windows and Linux
Installation
Download the latest release for your platform from GitHub Releases:
macOS (13+): signed and notarized .dmg for Apple Silicon (arm64) and Intel (amd64)
Windows: user-level installer (.exe, no admin rights required) or portable .zip for x64 and Arm64
Linux:.deb, .rpm or .tar.gz (with install.sh for per-user install into ~/.local) for amd64 and arm64; uses native UI without WebKitGTK
Every release includes SHA256SUMS to verify downloaded packages.
Development
Built with mygo. Requires Go 1.27.4 (GOTOOLCHAIN can download it). No cgo is needed.
# run in development mode
go tool mygo dev
# run a snapshot development app; on macOS prefer an "Apple Development" identity
# stable signing can reduce keychain prompts; self-signing does not guarantee
# access across rebuilds, and macOS may still request authorization
scripts/run-dev-app.sh
# use a separate data directory and open a folder on launch
HUNCROW_USER_DATA=/tmp/huncrow-demo HUNCROW_OPEN=/path/to/repo go tool mygo dev
# tests and checks
go test -race -count=1 ./...
go vet ./...
gofmt -l .
# regenerate locales/catalog_gen.go after editing locales/*.json
go tool mygo generate
# package into build/
go tool mygo build -platform linux/amd64,linux/arm64,windows/amd64,windows/arm64,darwin/arm64,darwin/amd64