Skip to content

About

πŸ™ Stats, charts, history and task lists for any github user, org or repo

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

GitHub Dashboards

Fast, detailed dashboards for any GitHub user, org or repo
🌐 github-dashboards.as93.net


About

Stats, charts, history and to-do lists for any GitHub account or repo, all in one place.
Just swap github.com for github-dashboards.as93.net in any user or repo URL.

github-dashboards-slideshow

  • Users - profile, repos, stats, activity, contributions, plus open PRs and issues waiting on you
  • Repos - issue/PR trends, git tree, dependencies, CI runs, deployments, releases, security and people
  • History - daily snapshots keep your repo traffic long after GitHub's 14-day window
  • Sign in - log in with GitHub for traffic analytics on your own repos and higher rate limits

Deploying

You'll need a Postgres database (Neon works well).
Run npm run db:push against it to create the tables, and again after each upgrade.

Option 1 - Vercel

Fork the repo, import it into Vercel, and set your environment variables.
The daily maintenance cron is picked up from vercel.json automatically.

Option 2 - Docker

Build the image with docker build -t github-dashboards .
Then start it with docker run -p 3000:3000 -e DATABASE_URL='postgres://...' -e ORIGIN='http://localhost:3000' github-dashboards

Option 3 - Node

Follow the dev steps below and set ORIGIN in your .env.
Then run npm run build and start the server with node --env-file=.env build.

Note

Outside of Vercel, call GET /api/maintenance once a day (with CRON_SECRET as a bearer token) to snapshot traffic and tidy the cache.

Configuring

Variable Description
DATABASE_URL Postgres connection string (required)
GITHUB_TOKEN Fine-grained PAT used for anonymous visitors, public repos only (recommended)
GITHUB_APP_ID
GITHUB_APP_PRIVATE_KEY
GITHUB_APP_INSTALLATION_ID
GitHub App, gives anonymous visitors their own rate-limit pool
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
SESSION_SECRET
OAuth app, enables sign in with GitHub. Callback URL is /auth/github/callback
CRON_SECRET Locks the maintenance endpoint behind a bearer token
ORIGIN Your public URL, like http://localhost:3000 (required when self-hosting)

See .env.example for details.


Developing

Prerequisites

You'll need Node.js 24+, Git and Docker (for the local Postgres).
The app is built with SvelteKit + TypeScript, and Postgres via Drizzle.

Setup Commands

git clone git@github.com:Lissy93/github-dashboards.git
cd github-dashboards
npm install
cp .env.example .env    # then add your GITHUB_TOKEN
docker compose up -d    # starts Postgres on port 5433
npm run db:push
npm run dev

Testing

Run npm test for unit tests, npm run check for type checks and npm run lint for linting.


Contributing

Contributions are welcome (and much appreciated!)
Follow the dev instructions above to get started, then submit your changes as a PR.


Β© Alicia Sykes 2026
Licensed under MIT

Thanks for visiting :)

About

πŸ™ Stats, charts, history and task lists for any github user, org or repo

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages