{"id":46401011,"url":"https://github.com/realzhangshen/croot","last_synced_at":"2026-04-02T23:02:34.808Z","repository":{"id":341845704,"uuid":"1171601722","full_name":"realzhangshen/croot","owner":"realzhangshen","description":"A VS Code-style file explorer sidebar for your terminal","archived":false,"fork":false,"pushed_at":"2026-04-02T05:51:22.000Z","size":776,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T18:42:34.140Z","etag":null,"topics":["cli","file-tree","ratatui","rust","sidebar","terminal","tui"],"latest_commit_sha":null,"homepage":"https://realzhangshen.github.io/croot/","language":"Rust","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/realzhangshen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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-03-03T12:09:53.000Z","updated_at":"2026-04-02T05:50:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/realzhangshen/croot","commit_stats":null,"previous_names":["realzhangshen/croot"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/realzhangshen/croot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangshen%2Fcroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangshen%2Fcroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangshen%2Fcroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangshen%2Fcroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realzhangshen","download_url":"https://codeload.github.com/realzhangshen/croot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realzhangshen%2Fcroot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31318142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T21:35:00.834Z","status":"ssl_error","status_checked_at":"2026-04-02T21:34:59.806Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cli","file-tree","ratatui","rust","sidebar","terminal","tui"],"created_at":"2026-03-05T11:00:46.450Z","updated_at":"2026-04-02T23:02:34.801Z","avatar_url":"https://github.com/realzhangshen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# croot\n\nA terminal file explorer that brings the VS Code sidebar experience to your command line — built with Rust and [Ratatui](https://ratatui.rs).\n\n**[Documentation](https://realzhangshen.github.io/croot/)** | **[Getting Started](https://realzhangshen.github.io/croot/guide/getting-started)**\n\n## Features\n\n- **Git status integration** — see modified, staged, and untracked files at a glance\n- **Git diff gutter** — see added/modified/removed lines in the preview panel\n- **Real-time filesystem watching** — tree auto-refreshes on file changes\n- **ANSI-native syntax-highlighted preview** — preview Rust, JavaScript, TypeScript, JSON, and Markdown with colors that follow your terminal theme\n- **Bracketed paste protection** — prevents accidental actions from pasted text\n\n## Pair with cmux\n\ncroot works great alongside [cmux](https://github.com/manaflow-ai/cmux) for a full vibe coding setup in the terminal — file tree on one side, editor and shell on the other. Use the \"Open in cmux Tab\" context menu action to open files in a new cmux tab without suspending croot.\n\n## Installation\n\n### Homebrew (macOS)\n\n```bash\nbrew install realzhangshen/croot/croot\n```\n\n### From source\n\n```bash\ngit clone https://github.com/realzhangshen/croot.git\ncd croot\ncargo build --release\n# Binary is at target/release/croot\n```\n\n## Usage\n\n```bash\ncroot            # Browse current directory\ncroot ~/projects # Browse a specific directory\n```\n\n## Configuration\n\nConfig file: `~/.config/croot/config.toml` (or `$XDG_CONFIG_HOME/croot/config.toml`)\n\nThe built-in default palette is ANSI-only and tuned for a light, higher-contrast popup/input experience inspired by Cursor Light in Ghostty.\nAdd a `[colors]` section only if you want to override those defaults for your own terminal theme.\nSyntax highlighting also uses ANSI/indexed colors via `[syntax.tokens.*]`, so code colors follow the terminal theme instead of a fixed RGB code theme.\n\n## Development\n\n```bash\nmake install-hooks   # Set up pre-commit and pre-push hooks\nmake ci              # Run all CI checks locally (fmt, check, clippy, test)\nmake fix             # Auto-format code\n```\n\nThe pre-commit hook runs `cargo fmt --check` (sub-second). The pre-push hook mirrors CI with all four checks. Both are skippable with `--no-verify`.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealzhangshen%2Fcroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealzhangshen%2Fcroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealzhangshen%2Fcroot/lists"}