GitLens Explorer is a React + Vite app for browsing public GitHub repositories, commit history, diffs, and file snapshots in a fast UI.
You won’t be able to deploy this on Vercel because GitHub has rate limits per IP address, and Vercel is always blocked. However, you can always clone the repository and use it. 💙
- Explore any public repository by entering
owner/repo - Browse commit history with API pagination
- Virtualized commit list for smooth scrolling
- Diff and snapshot modes for each commit
- Virtualized code and diff rendering for large files
- Save multiple GitHub profiles in
localStorage - Open a profile page and browse all public repos for that user
- React
- TypeScript
- Vite
- React Router
- PrismJS
- date-fns
- lucide-react
- Node.js 18+ (recommended)
- npm
npm installnpm run devThen open http://localhost:3000.
npm run build- Uses the GitHub public REST API (
https://api.github.com) - No credentials are required for public repository browsing
- Saved profiles are stored only in browser
localStorage
App.tsx- routing + landing/profile/repo pagesservices/githubService.ts- GitHub API callscomponents/CommitListSidebar.tsx- virtualized commit sidebarcomponents/DiffViewer.tsx- commit diff viewcomponents/SnapshotViewer.tsx- file tree + source/diff tabscomponents/CodeBlock.tsx- virtualized highlighted code view
Contributions are welcome.
- Fork the repo
- Create your feature branch
- Commit your changes
- Open a pull request
This project is licensed under the MIT License. See LICENSE.