Skip to content

Priyanshu-byte-coder/devtrack

DevTrack

Open-source developer productivity dashboard

Track GitHub contributions, visualize PR metrics, and build consistent coding habits — all in one self-hostable interface.

CI License: MIT Stars Forks Contributors Issues Last Commit GSSoC

Deploy with Vercel


Why DevTrack?

Developer metrics live in too many places — GitHub activity, PR turnaround, issue counts, personal goals. DevTrack consolidates everything into a single clean dashboard you can self-host for free. No enterprise pricing, no SaaS lock-in, no third-party data sharing.


Features

  • Contribution Graph — daily commit activity across all linked accounts with customizable time ranges and chart types
  • PR Analytics — average review time, merge rate, open/closed counts, and review cycle trends
  • Commit Streak Tracker — current streak, longest streak, and active day heatmap
  • Top Repositories — ranked by commit activity with health scores and language breakdown
  • Goal Tracker — set weekly coding targets and track progress in real time
  • Multi-account support — connect multiple GitHub accounts and view unified or per-account metrics
  • Public profiles — shareable developer profile pages with badge embeds
  • Self-hostable — runs on Vercel + Supabase, both free tiers, no infrastructure to manage

Tech Stack

Layer Technology
Framework Next.js (App Router) + TypeScript
Auth NextAuth.js — GitHub OAuth
Database Supabase (PostgreSQL + Row-Level Security)
Charts Recharts
Styling Tailwind CSS with CSS custom properties
Cache Upstash Redis
Deployment Vercel

Quick Start

Full setup guide with environment variable reference and troubleshooting: DEVELOPMENT.md

1. Clone and install

git clone https://github.com/Priyanshu-byte-coder/devtrack.git
cd devtrack
npm install

2. Set up Supabase

  1. Create a free project at supabase.com
  2. SQL Editor → New Query — paste and run supabase/schema.sql
  3. Project Settings → API — copy your Project URL and keys

3. Create a GitHub OAuth App

  1. Go to GitHub → Settings → Developer Settings → OAuth Apps
  2. Set the callback URL to http://localhost:3000/api/auth/callback/github
  3. Copy the Client ID and Client Secret

4. Configure environment

cp .env.example .env.local
# Fill in all values — see DEVELOPMENT.md for a full reference

5. Run locally

npm run dev
# Open http://localhost:3000

Deploying to Vercel

Click the button below — Vercel will clone the repo and walk you through environment setup:

Deploy with Vercel

Or follow the manual steps in DEVELOPMENT.md → Deployment.


Contributing

DevTrack actively welcomes contributors of all experience levels.

Browse issues → Get assigned → Fork → PR
  • Start with good first issue if you're new to the codebase
  • Comment on an issue before starting work — unassigned PRs may be closed
  • Run npm run lint && npm run type-check before opening a PR
  • Read CONTRIBUTING.md for commit style, branch naming, and review expectations

All skill levels welcome. Setup takes under 10 minutes.

⭐ If DevTrack has been useful to you, consider starring the repo — it helps the project reach more developers.


Community

Channel Purpose
GitHub Discussions Questions, ideas, general chat
Issues Bug reports and feature requests
Pull Requests Contributions

Contributors

Contributors

License

MIT — see LICENSE.