{"id":50489565,"url":"https://github.com/unic/ai-developer-hub","last_synced_at":"2026-06-02T01:30:52.553Z","repository":{"id":354396218,"uuid":"1171505341","full_name":"unic/ai-developer-hub","owner":"unic","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-01T15:08:45.000Z","size":7935,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T17:08:46.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ai-developer-hub-nu.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-03T09:58:03.000Z","updated_at":"2026-06-01T15:37:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/unic/ai-developer-hub","commit_stats":null,"previous_names":["unic/ai-developer-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unic/ai-developer-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fai-developer-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fai-developer-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fai-developer-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fai-developer-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/ai-developer-hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fai-developer-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33802170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-02T01:30:50.900Z","updated_at":"2026-06-02T01:30:52.541Z","avatar_url":"https://github.com/unic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Developer Hub\n\nA Next.js application for tracking AI tool budgets, managing licenses, and monitoring usage costs across your organisation.\n\n## CI\n\nEvery pull request and push to `main` runs the full quality gate via **GitHub Actions** (`.github/workflows/ci.yml`):\n\n| Job | What it checks |\n|-----|----------------|\n| **Lint \u0026 Typecheck** | ESLint (zero warnings) + TypeScript strict compilation |\n| **Unit Tests** | Vitest unit test suite (`tests/unit/`) |\n| **Build** | `next build` with stub environment variables |\n\nIntegration tests and E2E tests (Playwright) are defined as commented-out placeholders in the workflow file — see the inline comments for the secrets and infrastructure they require.\n\n\u003e **Branch protection**: To enforce these checks as merge requirements, enable *Require status checks to pass before merging* in **Settings → Branches → Branch protection rules** and add `Lint \u0026 Typecheck`, `Unit Tests`, and `Build` as required status checks.\n\n## Getting started\n\n### Prerequisites\n\n- Node.js 20 (see `.nvmrc`)\n- pnpm 10\n- A [Neon](https://neon.tech) PostgreSQL database\n\n### Environment variables\n\nCopy `.env.local.example` to `.env.local` and fill in the values:\n\n```bash\ncp .env.local.example .env.local\n```\n\nSee `.env.local.example` for the full list of required variables and where to obtain each one.\n\n### Development\n\n```bash\npnpm install\npnpm db:push    # push schema to dev DB\npnpm db:seed    # seed initial admin user\npnpm dev        # start dev server at http://localhost:3000\n```\n\n### Quality checks\n\n```bash\npnpm lint        # ESLint\npnpm typecheck   # TypeScript\npnpm test        # Unit tests (Vitest)\npnpm build       # Production build\n```\n\n### Database\n\n```bash\npnpm db:generate   # generate Drizzle migration files\npnpm db:migrate    # apply migrations\npnpm db:push       # push schema directly to dev DB (no migrations)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fai-developer-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Fai-developer-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fai-developer-hub/lists"}