huncrow

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: AGPL-3.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

English · 简体中文

Huncrow logo

Huncrow

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

Editor and file explorer
Editor and file explorer
Source control and commit graph
Source control and commit graph
Appearance settings and color themes
Appearance settings and color themes
Side-by-side diff viewer
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
    • 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

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

Contributor rules are in AGENTS.md.

Community Support

License

Huncrow is licensed under the GNU Affero General Public License v3.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app
Package app is Huncrow's native UI: the workbench and its components.
Package app is Huncrow's native UI: the workbench and its components.
archtest
Package archtest contains repository-wide architecture checks.
Package archtest contains repository-wide architecture checks.
cli
colortheme
Package colortheme manages the workbench's built-in, imported, and custom color themes independently of the UI toolkit.
Package colortheme manages the workbench's built-in, imported, and custom color themes independently of the UI toolkit.
document
Package document decodes documents and loads, saves, and checks local files.
Package document decodes documents and loads, saves, and checks local files.
fileicons
Package fileicons embeds file and folder icons from Material Icon Theme 5.40.0 (MIT, see resources/licenses/material-icon-theme-LICENSE), as the npm package material-icon-theme@5.40.0 ships them, and finds the icon of a file or a folder by its name, as the theme's manifest maps them.
Package fileicons embeds file and folder icons from Material Icon Theme 5.40.0 (MIT, see resources/licenses/material-icon-theme-LICENSE), as the npm package material-icon-theme@5.40.0 ships them, and finds the icon of a file or a folder by its name, as the theme's manifest maps them.
fonts
Package fonts embeds JetBrains Mono 2.304 (SIL Open Font License 1.1, see resources/licenses/jetbrains-mono-LICENSE), the font of code and terminals.
Package fonts embeds JetBrains Mono 2.304 (SIL Open Font License 1.1, see resources/licenses/jetbrains-mono-LICENSE), the font of code and terminals.
gitx
Package gitx runs Git commands for local working trees.
Package gitx runs Git commands for local working trees.
icons
Package icons embeds the action icons: Lucide 1.84.0 (ISC / MIT, see resources/licenses/lucide-LICENSE), as the npm package lucide-static@1.84.0 ships them (with github.svg retained from lucide-static@0.577.0, ISC, before Lucide 1.x removed brand icons).
Package icons embeds the action icons: Lucide 1.84.0 (ISC / MIT, see resources/licenses/lucide-LICENSE), as the npm package lucide-static@1.84.0 ships them (with github.svg retained from lucide-static@0.577.0, ISC, before Lucide 1.x removed brand icons).
langpack
Package langpack validates external translations against the source catalog.
Package langpack validates external translations against the source catalog.
lsp
markdown
Package markdown parses the CommonMark and GitHub Flavored Markdown features represented by its AST.
Package markdown parses the CommonMark and GitHub Flavored Markdown features represented by its AST.
media
Package media provides image decoding and streaming audio for the logic layer.
Package media provides image decoding and streaming audio for the logic layer.
recovery
Package recovery keeps items removed by Huncrow recoverable on Windows.
Package recovery keeps items removed by Huncrow recoverable on Windows.
search
Package search searches and replaces workspace text and indexes workspace files.
Package search searches and replaces workspace text and indexes workspace files.
session
Package session persists workspace state and recently opened workspaces.
Package session persists workspace state and recently opened workspaces.
settings
Package settings reads and writes the workbench settings file.
Package settings reads and writes the workbench settings file.
shellenv
Package shellenv loads the environment of a user's login shell.
Package shellenv loads the environment of a user's login shell.
textcol
Package textcol computes visual columns, rectangular (block) selections and block edits over lines of plain text.
Package textcol computes visual columns, rectangular (block) selections and block edits over lines of plain text.
theme
Package theme holds Huncrow's design tokens: the colors of the light and dark palettes, the sizes of the workbench's regions and components, radii, font sizes and shadows.
Package theme holds Huncrow's design tokens: the colors of the light and dark palettes, the sizes of the workbench's regions and components, radii, font sizes and shadows.
vscodeimport
Package vscodeimport reads supported data from local VS Code installations.
Package vscodeimport reads supported data from local VS Code installations.
workspace
Package workspace provides file operations scoped to a workspace directory.
Package workspace provides file operations scoped to a workspace directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL