A fast, local GitHub-style file browser for exploring codebases. Browse directories with a file tree, view files with syntax highlighting, and explore git diffs - all in your browser.
npx gh-here
Or install globally:
npm install -g gh-here
gh-here # Start server on available port
gh-here --open # Start and open browser (default)
gh-here --port=8080 # Use specific port
gh-here --open --browser=safari # Open in Safari
| Key | Action |
|---|---|
Cmd/Ctrl + K | Focus search |
Escape | Close search/modals |
gh-here runs a local Express server that serves a read-only view of your codebase. It:
.gitignore (optional toggle to show ignored files)npm install
npm start
Tests use Playwright for smoke testing but are optional for development:
# First time only - install Chromium for testing (~210MB)
npx playwright install chromium
# Run tests
npm test
Note: End users don't need Playwright - it's only installed when you clone the repo and run npm install (devDependency).
MIT