{"id":47727084,"url":"https://github.com/gobbyai/gobby-cli","last_synced_at":"2026-06-06T05:02:00.710Z","repository":{"id":347859833,"uuid":"1195514404","full_name":"GobbyAI/gobby-cli","owner":"GobbyAI","description":"Rust CLI tools for AI-assisted development. AST-aware code search with tree-sitter + FTS5, and a YAML-configurable output compressor with 28 built-in pipelines. \u003e90% token savings. Part of Gobby, works standalone.","archived":false,"fork":false,"pushed_at":"2026-04-19T05:26:55.000Z","size":930,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-19T07:35:22.129Z","etag":null,"topics":["ai-agents","ai-coding-assistant","ai-pair-programming","ast","claude-code","cli","code-search","dependency-graph","developer-tools","fts5","gobby","llm","neo4j","output-compaction","rust","sqlite","symbol-navigation","token-optimization","tree-sitter","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GobbyAI.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-29T18:56:41.000Z","updated_at":"2026-04-19T05:26:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fcdfc44-5aac-4c2f-9927-82a7a4891a0c","html_url":"https://github.com/GobbyAI/gobby-cli","commit_stats":null,"previous_names":["gobbyai/gobby-code","gobbyai/gobby-cli"],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/GobbyAI/gobby-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GobbyAI%2Fgobby-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GobbyAI%2Fgobby-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GobbyAI%2Fgobby-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GobbyAI%2Fgobby-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GobbyAI","download_url":"https://codeload.github.com/GobbyAI/gobby-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GobbyAI%2Fgobby-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32563633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai-agents","ai-coding-assistant","ai-pair-programming","ast","claude-code","cli","code-search","dependency-graph","developer-tools","fts5","gobby","llm","neo4j","output-compaction","rust","sqlite","symbol-navigation","token-optimization","tree-sitter","yaml"],"created_at":"2026-04-02T20:48:38.539Z","updated_at":"2026-06-06T05:02:00.704Z","avatar_url":"https://github.com/GobbyAI.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD033 MD041 --\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"logo.png\" alt=\"Gobby\" width=\"160\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003egobby-cli\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eRust CLI tools for AI-assisted development.\u003c/strong\u003e\u003cbr\u003e\n  Code search, symbol navigation, output compression, local LLM launching, and multimodal research vaults — all from the terminal.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/GobbyAI/gobby-cli/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/GobbyAI/gobby-cli/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/GobbyAI/gobby-cli/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/GobbyAI/gobby-cli\" alt=\"Release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/GobbyAI/gobby-cli\"\u003e\u003cimg src=\"built-with-gobby.svg\" alt=\"Built with Gobby\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache%202.0-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What's Inside\n\nThis workspace ships five Gobby CLI tools plus a shared library.\n\n### Current Release Set\n\n| Crate | Binary | Version | Release tag |\n|---|---|---:|---|\n| `gobby-code` | `gcode` | `1.0.0` | `gcode-v1.0.0` |\n| `gobby-core` | n/a | `0.4.0` | `gobby-core-v0.4.0` |\n| `gobby-hooks` | `ghook` | `0.4.6` | `ghook-v0.4.6` |\n| `gobby-squeeze` | `gsqz` | `0.4.6` | `gsqz-v0.4.6` |\n| `gobby-local` | `gloc` | `0.1.4` | `gloc-v0.1.4` |\n| `gobby-wiki` | `gwiki` | `0.3.0` | `gwiki-v0.3.0` |\n\n### gcode — Code Search \u0026 Navigation\n\nAST-aware code search powered by tree-sitter. Indexes 18 languages plus safe\nrepo text files into the Gobby PostgreSQL hub, with pg_search BM25 for symbol\nlookup, exact indexed grep over repo content chunks, ranked repo-content search\nacross source/docs/config/scripts, file tree\nnavigation, and hybrid ranking. In the full Gobby-backed stack, required\nFalkorDB, Qdrant, and embedding sources provide graph-aware search, semantic\nsearch, opt-in graph expansion for exact symbol lookup\n(`gcode search-symbol --with-graph`), dependency analysis (`callers`, `usages`,\n`imports`, `blast-radius`), and Rust-owned graph/vector projection lifecycle.\n`gcode graph clear --project-id \u003cPROJECT_ID\u003e` is available for daemon\nstale-project graph cleanup without cwd project resolution.\n\nFor non-Gobby-managed projects, `gcode init` installs the bundled `gcode` skill\nfor Claude Code, Codex, Droid, Grok, Qwen, and Antigravity CLI. Gobby-managed\nprojects skip those project-local skill writes because Gobby owns CLI wiring.\n\n### gsqz — Output Compression\n\nSqueezes CLI output before it eats your context window. 28 built-in pipelines for git, cargo, pytest, eslint, ruff, npm, and more. Filters noise, groups errors by rule, collapses repeats, and typically reduces token consumption by \u003e90%. ~9ms overhead. YAML-configurable with layered config (global → project → CLI).\n\n### gloc — Local LLM Launcher\n\nOne command to launch Claude Code or Codex against a local LLM backend. Auto-detects LM Studio and Ollama, manages Ollama model lifecycle (pull, load, warmup), sets the right env vars, and `exec`s into your CLI of choice. YAML-configurable with aliases, per-client env templates, and ordered backend priority.\n\n### ghook — Hook Dispatcher\n\nSandbox-tolerant hook dispatcher invoked by host AI CLIs (Claude Code, Codex, Gemini CLI, Qwen CLI) on lifecycle and tool-use events. Spools envelopes to `~/.gobby/hooks/inbox/` *before* POSTing to the local Gobby daemon, so the daemon's drain worker can replay any delivery lost to a sandbox FS-read denial, network blip, or daemon restart. You don't usually invoke it directly — Gobby wires it into your AI CLI for you.\n\n### gwiki — Research Knowledge Vault\n\nIngests multimodal sources — documents, PDFs, URLs, MediaWiki, git repos,\nWayback snapshots, and audio/image/video — into a Markdown knowledge vault with\nfrontmatter provenance and citations, then indexes and searches them with the\nsame hybrid BM25 + semantic + graph stack as `gcode`. Compiles vault material\ninto cited briefs, runs a reason-act `research` loop with step/token/source\nbudgets, and answers questions directly with `gwiki ask`. Multimodal and AI\ncapabilities degrade gracefully when transcription, vision, or the configured\ndatastores are unavailable.\n\n`gobby-core` underpins them all — a small shared-primitives library for project\nroot walk-up, bootstrap config, daemon URL composition, setup/provisioning\ncontracts, and datastore client adapters. It is not a standalone tool.\n\n## Documentation\n\n- [gcode User Guide](docs/guides/gcode-user-guide.md) — search, symbols, dependency graphs, project management\n- [gsqz User Guide](docs/guides/gsqz-user-guide.md) — pipelines, step types, configuration, debugging\n- [gloc User Guide](docs/guides/gloc-user-guide.md) — backends, clients, model management, configuration\n- [ghook User Guide](docs/guides/ghook-user-guide.md) — hook wiring, diagnose mode, inbox/replay, troubleshooting\n- [gwiki Development Guide](docs/guides/gwiki-development-guide.md) — research vault ingest, indexing, and hybrid search\n- [Release Guide](docs/guides/release-guide.md) — crate versions, tag order, and local binary installation\n- [Changelog](CHANGELOG.md) — release history\n- [gcode README](crates/gcode/README.md) — architecture and build details\n- [gsqz README](crates/gsqz/README.md) — architecture and build details\n- [gwiki README](crates/gwiki/README.md) — architecture and build details\n\n## Install\n\n### Pre-built binaries\n\nDownload from [GitHub Releases](https://github.com/GobbyAI/gobby-cli/releases/latest). Binaries are available for macOS (ARM/x86), Linux (x86/ARM), and Windows (x86/ARM).\n\n### From crates.io\n\n```bash\n# gcode\ncargo install gobby-code\n\n# gsqz\ncargo install gobby-squeeze\n\n# gloc\ncargo install gobby-local\n\n# ghook\ncargo install gobby-hooks\n\n# gwiki\ncargo install gobby-wiki\n```\n\n`gcode` graph and semantic features are configured at runtime. There are no\nCargo feature flags for FalkorDB, Qdrant, or embeddings support. Gobby-managed\nprojects read FalkorDB settings from `databases.falkordb.*`; daemon-independent\nsetups can use `GOBBY_FALKORDB_HOST`, `GOBBY_FALKORDB_PORT`, and\n`GOBBY_FALKORDB_PASSWORD`.\n\n`gcode` 0.8.0+ uses the migrated Gobby PostgreSQL hub. It asks the local daemon\nbroker for the hub DSN first. If the daemon is unavailable, it checks fallback\nsources in order: `GCODE_DATABASE_URL`, `GOBBY_POSTGRES_DSN`,\n`~/.gobby/gcore.yaml` `databases.postgres.dsn`, then bootstrap `database_url`.\nBootstrap fallback is valid only when `hub_backend: postgres` and bootstrap\ncontains an inline `database_url`.\n\nFor daemon-independent service provisioning, use `gcode setup --standalone`.\nThe default setup path is non-destructive. If incompatible code-index state is\nalready present, rerun with `gcode setup --standalone --overwrite-code-index`\nonly when you intend to reset all gcode-owned code-index PostgreSQL,\nFalkorDB, and Qdrant projection state.\n\nGraph/vector lifecycle is code-index scoped. FalkorDB clears target-only\ncode-index labels, and Qdrant clears target-only `code_symbols_{project_id}`;\nGobby memory graph and memory vector collections stay outside this boundary.\n\nInstalling from source or crates.io requires Rust 1.88+.\n\n### From source\n\n```bash\ngit clone https://github.com/GobbyAI/gobby-cli.git\ncd gobby-cli\ncargo install --path crates/gcode\ncargo install --path crates/gsqz\ncargo install --path crates/gloc\ncargo install --path crates/ghook\ncargo install --path crates/gwiki\n```\n\n## Development\n\n```bash\ncargo build --workspace --no-default-features   # Build all tools\ncargo nextest run --workspace --no-default-features # Test all tools except doctests\ncargo test --doc --workspace --no-default-features  # Test doctests\ncargo clippy --workspace --no-default-features -- -D warnings  # Lint all tools\ncargo fmt --all --check                         # Check formatting\n```\n\n## License\n\nApache 2.0 — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobbyai%2Fgobby-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgobbyai%2Fgobby-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobbyai%2Fgobby-cli/lists"}