{"id":36974861,"url":"https://github.com/jvm/git-dash","last_synced_at":"2026-01-16T01:04:39.911Z","repository":{"id":332023452,"uuid":"1131197094","full_name":"jvm/git-dash","owner":"jvm","description":"A fast TUI dashboard for discovering and managing multiple Git repositories from a single interface.","archived":false,"fork":false,"pushed_at":"2026-01-12T09:44:31.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T09:45:48.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jvm.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-09T16:11:24.000Z","updated_at":"2026-01-12T09:44:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jvm/git-dash","commit_stats":null,"previous_names":["jvm/git-dash"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jvm/git-dash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvm%2Fgit-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvm%2Fgit-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvm%2Fgit-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvm%2Fgit-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jvm","download_url":"https://codeload.github.com/jvm/git-dash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvm%2Fgit-dash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"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":[],"created_at":"2026-01-13T22:02:25.712Z","updated_at":"2026-01-13T22:02:25.846Z","avatar_url":"https://github.com/jvm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-dash\n\nA fast TUI dashboard for discovering and managing multiple Git repositories from a single interface.\n\n## Features\n\n- 🔍 **Automatic Discovery**: Recursively scans directories for Git repositories\n- 📊 **Rich Status View**: 7-column table showing repository state at a glance\n- ⚡ **Parallel Operations**: Fast status fetching using concurrent threads\n- 🎯 **Safe Actions**: Remote validation and confirmation prompts for push/pull\n- 📈 **Progress Indicators**: Real-time progress bar during repository scanning\n- 🐛 **Debug Logging**: Optional detailed logging for troubleshooting\n- ✅ **Well Tested**: 17 unit and integration tests\n\n## Installation\n\n### Homebrew (macOS)\n\n```sh\n# Add the tap\nbrew tap jvm/tap\n\n# Install (or in one command)\nbrew install jvm/tap/git-dash\n```\n\n### From Source\n\n```sh\ncargo install --path .\n```\n\n### From crates.io\n\n```sh\ncargo install git-dash\n```\n\n### Build and Run\n\nUsing [Just](https://github.com/casey/just) (recommended):\n```sh\n# Install just\nbrew install just  # macOS\n# or\ncargo install just\n\n# Common commands\njust run           # Run from current directory\njust debug         # Run with debug logging\njust test          # Run all tests\njust check         # Run all quality checks\njust build         # Build release binary\njust install       # Install locally\n```\n\nUsing Cargo directly:\n```sh\n# Run from current directory\ncargo run\n\n# Run with debug logging\ncargo run -- --debug\n\n# Scan a specific directory\ncargo run -- ~/repos\n\n# Release build for better performance\ncargo build --release\n./target/release/git-dash\n```\n\n## Usage\n\n```\ngit-dash [OPTIONS] [PATH]\n\nARGS:\n    path    Optional directory to scan (defaults to current directory)\n\nOPTIONS:\n    -d, --debug    Enable debug logging to git-dash-debug.log\n    -h, --help     Print help information\n```\n\n## Display Columns\n\nThe main view shows a table with the following columns:\n\n1. **Repository**: Name of the repository\n2. **Branch**: Current branch (or \"DETACHED\" for detached HEAD)\n3. **Dirty**: Working tree status (clean/dirty with color coding)\n4. **Ahead/Behind**: Commits ahead/behind upstream (+2/-1 format)\n5. **Changes**: Summary of changes by type (M:2 A:1 D:1 format)\n6. **Remote**: Simplified remote URL (e.g., github.com/user/repo)\n7. **Last Fetch**: Time since last fetch (5m, 2h, 3d format)\n\n## Keybindings\n\n### Navigation\n- `j` / `k` or `↓` / `↑`: Move selection up/down\n- `PageDown` / `PageUp`: Jump 10 repositories at a time\n\n### Actions\n- `p`: Pull selected repository (prompts for confirmation)\n- `u`: Push selected repository (prompts for confirmation)\n- `r`: Refresh status for all repositories\n\n### Confirmation Prompts\n- `y`: Confirm action\n- `n` or `Esc`: Cancel action\n\n### Exit\n- `q`: Quit application\n- `Ctrl+C`: Force quit\n\n## Features in Detail\n\n### Repository Discovery\n\n- Recursively scans the specified directory for `.git` folders or files\n- Handles both regular repositories and worktrees/submodules (gitdir files)\n- Stops at nested repositories (doesn't traverse into subdirectories of found repos)\n- Shows animated progress bar during scanning\n\n### Status Information\n\n- Parses Git's porcelain v2 format for accurate status information\n- Displays change types: Modified (M), Added (A), Deleted (D), Untracked (?)\n- Simplifies remote URLs for better readability\n- Shows human-readable last fetch timestamps\n- Inline error messages when Git operations fail\n\n### Safety Features\n\n- Validates remote configuration before attempting push/pull\n- Requires explicit confirmation (y/n) for all network operations\n- Fast-forward only pulls to prevent accidental merge commits\n- Timeouts for long-running Git operations (30s for push/pull, 5s for status)\n\n### Performance\n\n- Parallel status fetching: All repositories checked concurrently\n- Two-phase scanning: 40% for discovery, 60% for parallel status\n- Non-blocking UI: All Git operations run in background worker thread\n- Optimized porcelain parsing for minimal overhead\n\n## Debug Logging\n\nEnable debug logging to troubleshoot issues or understand performance:\n\n```sh\ncargo run -- --debug ~/repos\n```\n\nDebug logs include:\n- Timestamp with millisecond precision\n- Repository scan progress\n- Git command execution times\n- Success/failure status for all operations\n- Performance metrics for status fetching\n\nLogs are written to `git-dash-debug.log` in the current directory.\n\n## Testing\n\nRun the test suite:\n\n```sh\ncargo test\n```\n\nThe project includes:\n- 14 unit tests in `src/status.rs` (parsing, formatting, URL simplification)\n- 3 integration tests in `tests/repo_discovery.rs` (discovery, nested repos, gitdir files)\n\n## Development\n\n### Requirements\n\n- Rust 1.92.0 or later (specified in `rust-toolchain.toml`)\n- [Just](https://github.com/casey/just) command runner (optional but recommended)\n\n### Quality Checks\n\nBefore committing, run:\n```sh\njust check  # Format, lint, test, and build\n```\n\nOr individually:\n```sh\ncargo fmt              # Format code\ncargo clippy --all-targets --all-features  # Lint\ncargo test             # Run tests\ncargo build --release  # Build\n```\n\n## Release\n\nSee `RELEASE.md` for the full release checklist and workflow.\n\n### Optional Tools\n\n**cargo-deny** - Check for security vulnerabilities and license issues:\n```sh\ncargo install cargo-deny\ncargo deny check  # or: just deny\n```\n\n**cargo-watch** - Auto-rebuild on file changes:\n```sh\ncargo install cargo-watch\ncargo watch -x test  # or: just watch-test\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for development guidelines.\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n\nCopyright (c) 2025 Jose Mocito\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvm%2Fgit-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjvm%2Fgit-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvm%2Fgit-dash/lists"}