Explore Git from a new perspective, through a different lens, in your terminal.
- Previews
- Overview
- Current Status
- Quick Start
- Remote Install / Uninstall
- Release Automation
- Documentation
- X
GitNapse is a Rust-first terminal application for exploring GitHub repositories from the command line. It provides repository discovery, branch-aware tree navigation, file previews, syntax-aware highlighting, clone workflows, and single-file download capabilities.
- Rust TUI stack based on
ratatui+crossterm. - GitHub API integration for search, branches, tree, file content, and auth-user validation.
- Token authentication through
GITHUB_TOKENor secure local storage. - Repository tree exploration with lazy loading and branch switching.
- Preview pane with focus support, keyboard/mouse scroll, and syntax-aware display.
- In-app file download modal and CLI file download command.
gitnapse
gitnapse run --query "xscriptor" --page 1 --per-page 30 --cache-ttl-secs 900
gitnapse auth set
gitnapse auth oauth login --client-id YOUR_OAUTH_CLIENT_ID --scope read:user --scope repo
Linux / macOS (curl):
curl -fsSL https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.sh | bash -s -- --action install
curl -fsSL https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.sh | bash -s -- --action uninstall --cleanup
Linux / macOS (wget):
wget -qO- https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.sh | bash -s -- --action install
wget -qO- https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.sh | bash -s -- --action uninstall --cleanup
Windows 11 PowerShell:
irm https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.ps1 | iex
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/xscriptor/gitnapse/main/scripts/install.ps1))) -Action uninstall -Cleanup
GitHub Actions release pipeline is available in .github/workflows/release.yml.
Push a version tag like v1.0.0 to build Windows, Linux (Ubuntu/Arch/Fedora), and macOS assets and publish them in GitHub Releases.
INSTALLATION.md- full install and uninstall by platformREMOTE_INSTALLATION.md- remote scripts, parameters, and examplesOAUTH_AUTHENTICATION.md- OAuth login flows with octocrab and secure setupCOLLABORATIVE_SECTION.md- branch protection, PR workflow, and release publishing collaboration guideRELEASE_WORKFLOW.md- release build/publish workflow and versioning commandsUSAGE.md- full command and in-app usage guideARCHITECTURE.md- technical architecture detailsIMPLEMENTATION_LOG.md- implementation materialization logdocs/tests/README.md- test and security audit documentation indexSECURITY.md- vulnerability reporting and response policyCODE_OF_CONDUCT.md- expected behavior and community standardsCONTRIBUTING.md- contribution workflow and pull request guidelines




