{"id":37230419,"url":"https://github.com/ydah/zing","last_synced_at":"2026-01-15T03:38:19.631Z","repository":{"id":332001895,"uuid":"1132433604","full_name":"ydah/zing","owner":"ydah","description":"A modern directory jumper with a visual-first TUI, built in Zig.","archived":false,"fork":false,"pushed_at":"2026-01-12T03:48:40.000Z","size":965,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T04:31:54.735Z","etag":null,"topics":["bash","change-directory","cli","command","command-line","command-line-tool","jump","shell","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ydah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2026-01-12T00:10:04.000Z","updated_at":"2026-01-12T03:48:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ydah/zing","commit_stats":null,"previous_names":["ydah/zing"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ydah/zing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fzing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fzing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fzing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fzing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydah","download_url":"https://codeload.github.com/ydah/zing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fzing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":["bash","change-directory","cli","command","command-line","command-line-tool","jump","shell","zig"],"created_at":"2026-01-15T03:38:18.993Z","updated_at":"2026-01-15T03:38:19.618Z","avatar_url":"https://github.com/ydah.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"assets/logo-header.svg\" alt=\"zing header logo\"\u003e\n\nA modern directory jumper with a visual-first TUI, built in Zig.\n\n[Key Features](#key-features) • [Usage](#usage) • [Install](#install) • [Customize](#customize) • [FAQ](#faq)\n\n[English](README.md) | [日本語](doc/README-ja.md)\n\n[![Build Status](https://github.com/ydah/zing/workflows/CI/badge.svg)](https://github.com/ydah/zing/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![GitHub release](https://img.shields.io/github/v/release/ydah/zing)](https://github.com/ydah/zing/releases)\n\n\u003c/div\u003e\n\nzing learns where you work and lets you jump there instantly. It combines fuzzy matching, frecency scoring (frequency + recency), and an interactive TUI with live preview, tree view, and stats.\n\n---\n\n## Key Features\n\n### Smart Jump with Fuzzy Matching\n\nType fragments of a path and zing finds the best match instantly.\n\n![Smart jump demo](assets/demo-jump.gif)\n\n### Interactive TUI (List, Preview, Tree, Stats)\n\nLaunch `zi` for a visual selector with live search, preview, and score bars.\n\n![TUI screenshot](assets/tui-screenshot.png)\n\n### Frecency Scoring\n\nFavor both *how often* and *how recently* you visit directories.\n\n| Directory | Score | Last Access |\n| --- | --- | --- |\n| `~/projects/webapp` | 156.2 | 2 min ago |\n| `~/projects/api` | 89.4 | 1 hour ago |\n| `~/work/client` | 52.1 | 1 day ago |\n\n### Subdirectory Jump\n\nJump to a parent, then refine to a child.\n\n```bash\nz pro /src    # -\u003e ~/projects/webapp/src\n```\n\n### Tree View and Stats Dashboard\n\nInspect directory hierarchy and usage trends at a glance.\n\n![Tree view](assets/tree-view.png)\n\n![Stats dashboard](assets/stats-dashboard.png)\n\n### Themes\n\nFour built-in themes: `default`, `nord`, `dracula`, `gruvbox`.\n\n![Theme comparison](assets/themes-comparison.png)\n\n---\n\n## Usage\n\n### Basic Commands\n\n```bash\n# Jump to the best match\nz foo\n\n# AND search across multiple terms\nz foo bar\n\n# Interactive selector (TUI)\nzi\nzi foo\n```\n\n### Subdirectory Mode\n\n```bash\nz foo /        # enter subdirectory selection\nz foo /src     # jump to a specific subdir\n```\n\n### Admin Commands\n\n```bash\nzing add ~/new-project\nzing remove ~/old-dir\nzing list\nzing list --format=json\nzing stats\n```\n\n---\n\n## Install\n\n### Homebrew\n\n```bash\nbrew tap ydah/zing\nbrew install zing\n```\n\n### Build from source (Zig 0.15.x)\n\n```bash\ngit clone https://github.com/ydah/zing.git\ncd zing\nzig build -Doptimize=ReleaseFast\nsudo cp zig-out/bin/zing /usr/local/bin/\n```\n\n### Shell integration\n\n```bash\n# bash\nsource \u003c(zing init bash)\n\n# zsh\neval \"$(zing init zsh)\"\n\n# fish\nzing init fish | source\n```\n\n---\n\n## Migrate from other tools\n\n```bash\n# zoxide\nzing import --from=zoxide\n\n# z (rupa/z)\nzing import --from=z ~/.z\n\n# autojump\nzing import --from=autojump\n```\n\n---\n\n## Integrations\n\n### fzf\n\n```bash\nz \"$(zing list --format=text | fzf)\"\n```\n\n### Neovim / Vim\n\n```vim\ncommand! -nargs=* Z :cd `zing query \u003cargs\u003e`\n```\n\n### tmux\n\n```bash\nbind-key j display-popup -E \"zi\"\n```\n\n---\n\n## Customize\n\n### Themes\n\n```bash\nzing config themes\nzing config set tui.theme nord\n```\n\n### Config file\n\nDefault path: `~/.config/zing/config.toml` (override with `ZING_CONFIG`).\n\n```toml\n[general]\ndata_dir = \"~/.local/share/zing\"\ncmd_alias = \"z\"\ninteractive_alias = \"zi\"\n\n[scoring]\nhalf_life = 604800\nmatch_weight = 1.0\nmax_score = 1000.0\nmin_score = 0.01\n\n[matching]\ncase_sensitivity = \"smart\"\nsearch_type = \"fuzzy\"\n\n[tui]\ntheme = \"default\"\nshow_preview = true\nshow_score_bar = true\nhighlight_matches = true\n\n[exclude]\npatterns = [\n  \"^/tmp\",\n  \".*/node_modules/.*\",\n  \".*/\\\\.git/.*\",\n]\n```\n\n### Environment variables\n\n| Variable | Description | Default |\n| --- | --- | --- |\n| `ZING_DATA_DIR` | Database location | `~/.local/share/zing` |\n| `ZING_CONFIG` | Config file path | `~/.config/zing/config.toml` |\n\n---\n\n## FAQ\n\n### z/zi commands are not found\n\nCheck that shell integration is installed:\n\n```bash\ngrep zing ~/.bashrc  # or ~/.zshrc\n```\n\n### A directory is missing from results\n\nAdd it manually once:\n\n```bash\nzing add /path/to/dir\n```\n\n### Reset scores\n\n```bash\nrm ~/.local/share/zing/zing.db\n```\n\n### TUI looks broken\n\nMake sure your terminal supports true color:\n\n```bash\necho $COLORTERM\n```\n\n---\n\n## Comparison\n\n| Feature | zing | zoxide | z | autojump |\n| --- | --- | --- | --- | --- |\n| Language | Zig | Rust | Shell | Python |\n| Interactive TUI | ✅ | fzf-based | ❌ | ❌ |\n| Frecency (continuous) | ✅ | ✅ (discrete) | ✅ (discrete) | ❌ |\n| Subdirectory jump | ✅ | ✅ | ❌ | ❌ |\n| Tree view | ✅ | ❌ | ❌ | ❌ |\n| Stats dashboard | ✅ | ❌ | ❌ | ❌ |\n| Themes | ✅ | ❌ | ❌ | ❌ |\n\n---\n\n## Project Goals\n\n- Fast: cold start \u003c 10ms, query \u003c 5ms\n- Visual-first: live TUI with preview and tree view\n- Smart defaults: useful out of the box, zero-config\n- Customizable: themes, exclusions, tuning knobs\n\n---\n\n## Development\n\n```bash\n# Debug build\nzig build\n\n# Release build\nzig build -Doptimize=ReleaseFast\n\n# Tests\nzig build test\n```\n\nContributions welcome. See `CONTRIBUTING.md` for workflow and style.\n\n---\n\n## License\n\nMIT. See `LICENSE`.\n\n## Credits\n\n- [zoxide](https://github.com/ajeetdsouza/zoxide) for inspiration\n- [libvaxis](https://github.com/rockorager/libvaxis) for the TUI\n- [z](https://github.com/rupa/z) for the frecency concept\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fzing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydah%2Fzing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fzing/lists"}