This workspace contains:
agentskills/skills/github-manager: Agent Skills scripts to fetch GitHub data.github-dashboard: Next.js app (UI + API routes) for dashboard, list, kanban, and timeline views.github-api: Legacy Express API (no longer required for Vercel). Use the Next.js API routes instead.
- Create
github-dashboard/.env.local:
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxx
GITHUB_USERNAME=your-username
DATABASE_URL=postgresql://user:password@localhost:5432/github_management?schema=public
NEXT_PUBLIC_AUTO_SYNC=true
NEXT_PUBLIC_AUTO_SYNC_INTERVAL_MINUTES=10
GEMINI_API_KEY=your-gemini-api-key
GEMINI_MODEL=gemini-3-flash-preview
- Install dependencies:
cd github-dashboard
npm install
- Run the app:
npm run dev
Open http://localhost:3000.
- Deploy the
github-dashboarddirectory as a Next.js project. - Set environment variables in Vercel:
GITHUB_TOKENGITHUB_USERNAMEDATABASE_URL(optional, enables stored analytics and sync)GEMINI_API_KEY(optional, enables semantic search)GEMINI_MODEL(optional, defaults to gemini-3-flash-preview)
GITHUB_TOKENneedsrepo,read:org, andread:userscopes for private data.- Caching is stored under
agentskills/skills/github-manager/.cache(ephemeral on serverless). - Semantic search uses Gemini when
GEMINI_API_KEYis set. Without it, keyword-based search is used. - If
DATABASE_URLis set, API routes will read from the database when available. UsePOST /api/syncto refresh. - If
DATABASE_URLis not set,POST /api/syncwrites a local snapshot togithub-dashboard/data/snapshot.json.