{"id":50309247,"url":"https://github.com/creativoma/repo-dex","last_synced_at":"2026-05-28T19:04:19.167Z","repository":{"id":353992076,"uuid":"1221469155","full_name":"creativoma/repo-dex","owner":"creativoma","description":"Web app to index and analyze developer resources — GitHub, npm, and web URLs","archived":false,"fork":false,"pushed_at":"2026-04-26T16:56:34.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T17:22:49.027Z","etag":null,"topics":["drizzle-orm","react-router","tailwindcss","trpc","turso","typescript","vite","vitest"],"latest_commit_sha":null,"homepage":"https://repo-dex.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creativoma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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-04-26T08:50:38.000Z","updated_at":"2026-04-26T16:56:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/creativoma/repo-dex","commit_stats":null,"previous_names":["creativoma/repo-dex"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/creativoma/repo-dex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativoma%2Frepo-dex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativoma%2Frepo-dex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativoma%2Frepo-dex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativoma%2Frepo-dex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativoma","download_url":"https://codeload.github.com/creativoma/repo-dex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativoma%2Frepo-dex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33622071,"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-05-28T02:00:06.440Z","response_time":99,"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":["drizzle-orm","react-router","tailwindcss","trpc","turso","typescript","vite","vitest"],"created_at":"2026-05-28T19:04:15.250Z","updated_at":"2026-05-28T19:04:19.158Z","avatar_url":"https://github.com/creativoma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RepoDex\n\nA self-hosted web application to index, search, and analyze developer resources — GitHub repos, npm packages, and arbitrary URLs — with AI-powered metadata extraction, tag-based filtering, and a JWT-authenticated admin area.\n\n**Live:** [repo-dex.vercel.app](https://repo-dex.vercel.app) \u0026nbsp;·\u0026nbsp; **Source:** [github.com/creativoma/repo-dex](https://github.com/creativoma/repo-dex)\n\n---\n\n## Architecture\n\n| Layer            | Technology                                  |\n| ---------------- | ------------------------------------------- |\n| Frontend         | React 19 + React Router 7 (SSR)             |\n| API              | tRPC 11 + TanStack React Query              |\n| Database         | Drizzle ORM + Turso / libSQL                |\n| AI analysis      | Google Gemini                               |\n| Auth             | JWT (bcrypt-hashed password, no user table) |\n| Styling          | Tailwind CSS v4                             |\n| Testing          | Vitest + coverage-v8                        |\n| Containerization | Docker (multi-stage, Node 20 Alpine)        |\n\n---\n\n## Getting started\n\n### Prerequisites\n\n- Node.js 20+\n- pnpm\n- A Turso database (or `file:./local.db` for local-only use)\n- A Gemini API key\n\n### Setup\n\n```bash\npnpm install\ncp .env.example .env          # fill in the variables below\npnpm gen:password \u003cpassword\u003e  # prints the bcrypt hash for ADMIN_PASSWORD_HASH\npnpm db:push                  # apply schema\npnpm db:seed                  # optional sample data\npnpm dev\n```\n\nThe dev server starts at `http://localhost:5173`.\n\n---\n\n## Environment variables\n\n| Variable              | Required    | Description                                                                          |\n| --------------------- | ----------- | ------------------------------------------------------------------------------------ |\n| `TURSO_URL`           | Yes         | `libsql://…` for remote, `file:./local.db` for local                                 |\n| `TURSO_AUTH_TOKEN`    | Remote only | Turso auth token — not used with `file:` URLs                                        |\n| `GEMINI_API_KEY`      | Yes         | Used for AI metadata extraction on resource analysis                                 |\n| `ADMIN_USER`          | Yes         | Admin username                                                                       |\n| `ADMIN_PASSWORD_HASH` | Yes         | bcrypt hash — generate with `pnpm gen:password`                                      |\n| `JWT_SECRET`          | Yes         | At least 32 random characters                                                        |\n| `PUBLIC_ORIGIN`       | Production  | Full public URL (e.g. `https://repo-dex.example.com`) — required for CSRF protection |\n| `GITHUB_TOKEN`        | Recommended | PAT with no scopes — raises GitHub API rate limit from 60 to 5 000 req/h             |\n| `NODE_ENV`            | No          | `development` or `production`                                                        |\n\n---\n\n## Scripts\n\n| Command                        | Description                                  |\n| ------------------------------ | -------------------------------------------- |\n| `pnpm dev`                     | Start dev server with HMR                    |\n| `pnpm build`                   | Production build                             |\n| `pnpm start`                   | Serve production build                       |\n| `pnpm typecheck`               | Generate route types and run `tsc`           |\n| `pnpm test`                    | Run test suite                               |\n| `pnpm test:coverage`           | Run tests with v8 coverage                   |\n| `pnpm lint` / `lint:fix`       | ESLint                                       |\n| `pnpm format` / `format:check` | Prettier                                     |\n| `pnpm db:push`                 | Apply Drizzle schema                         |\n| `pnpm db:studio`               | Open Drizzle Studio                          |\n| `pnpm db:migrate`              | Run migration script                         |\n| `pnpm db:seed`                 | Seed sample data                             |\n| `pnpm gen:password \u003cpw\u003e`       | Generate bcrypt hash for `.env`              |\n| `pnpm changeset`               | Open interactive prompt to describe a change |\n| `pnpm version-packages`        | Bump version and update `CHANGELOG.md`       |\n\n---\n\n## Versioning\n\nVersions are maintained manually in `package.json` and documented in `CHANGELOG.md`.\n\nWhen releasing a new version:\n\n1. Update `version` in `package.json`\n2. Document changes in `CHANGELOG.md` (under a new section with the date)\n3. Commit with message: `release: bump version to x.y.z`\n4. Tag the commit: `git tag vx.y.z \u0026\u0026 git push origin vx.y.z`\n\n---\n\n## Deployment\n\n### Node\n\n```bash\npnpm install --frozen-lockfile\npnpm build\npnpm start               # listens on port 3000 by default\n```\n\n### Docker\n\n```bash\ndocker build -t repodex .\ndocker run --rm -p 3000:3000 --env-file .env repodex\n```\n\nThe `Dockerfile` uses a multi-stage Node 20 Alpine build.\n\n### Vercel\n\nConnect the repository in the Vercel dashboard — React Router 7 is detected automatically via `react-router.config.ts` and `vercel.json`. Set all required environment variables in the project settings. No additional adapters needed.\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativoma%2Frepo-dex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativoma%2Frepo-dex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativoma%2Frepo-dex/lists"}