{"id":39002439,"url":"https://github.com/onmax/nuxthub-better-auth-starter","last_synced_at":"2026-01-17T17:13:03.579Z","repository":{"id":331384128,"uuid":"1126400207","full_name":"onmax/nuxthub-better-auth-starter","owner":"onmax","description":"NuxtHub + Better Auth starter template with email/password and GitHub OAuth","archived":false,"fork":false,"pushed_at":"2026-01-02T09:58:54.000Z","size":256,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-07T08:06:55.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://onmax-nuxthub-better-auth-starter.maximogarciamtnez.workers.dev/","language":"Vue","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/onmax.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-01-01T20:44:17.000Z","updated_at":"2026-01-04T06:01:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/onmax/nuxthub-better-auth-starter","commit_stats":null,"previous_names":["onmax/nuxthub-better-auth-starter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/onmax/nuxthub-better-auth-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmax%2Fnuxthub-better-auth-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmax%2Fnuxthub-better-auth-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmax%2Fnuxthub-better-auth-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmax%2Fnuxthub-better-auth-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmax","download_url":"https://codeload.github.com/onmax/nuxthub-better-auth-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmax%2Fnuxthub-better-auth-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-17T17:13:03.095Z","updated_at":"2026-01-17T17:13:03.547Z","avatar_url":"https://github.com/onmax.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NuxtHub Better Auth Starter\n\nMinimal [NuxtHub](https://hub.nuxt.com) + [Better Auth](https://better-auth.com) template. Multi-cloud ready.\n\n## Features\n\n- Email/password + GitHub OAuth\n- Session storage with KV\n- Protected routes via route rules\n- Nuxt UI components\n\n## Setup\n\n```bash\npnpm install\ncp .env.example .env\npnpm dev\n```\n\nCreate GitHub OAuth App at https://github.com/settings/developers with callback `http://localhost:3000/api/auth/callback/github`\n\n## Deploy\n\nNuxtHub auto-detects your hosting provider. Configure bindings per platform:\n\n### Cloudflare Workers\n\n```bash\n# Create resources\nwrangler d1 create my-db\nwrangler kv namespace create KV\nwrangler kv namespace create CACHE\n\n# Update wrangler.jsonc with IDs, then:\npnpm build \u0026\u0026 wrangler deploy\n```\n\n### Vercel\n\nSet environment variables in Vercel dashboard:\n- `DATABASE_URL` - Neon/Supabase PostgreSQL\n- `KV_REST_API_URL` + `KV_REST_API_TOKEN` - Vercel KV or Upstash\n\n### Turso + Upstash (any host)\n\n```env\nTURSO_DATABASE_URL=libsql://your-db.turso.io\nTURSO_AUTH_TOKEN=your-token\nUPSTASH_REDIS_REST_URL=https://your-redis.upstash.io\nUPSTASH_REDIS_REST_TOKEN=your-token\n```\n\n## Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `NUXT_BETTER_AUTH_SECRET` | Yes | Auth secret (32+ chars) |\n| `NUXT_PUBLIC_SITE_URL` | Yes | Site URL for OAuth callbacks |\n| `GITHUB_CLIENT_ID` | Yes | GitHub OAuth client ID |\n| `GITHUB_CLIENT_SECRET` | Yes | GitHub OAuth secret |\n\nSee `.env.example` for database/KV provider options.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmax%2Fnuxthub-better-auth-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmax%2Fnuxthub-better-auth-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmax%2Fnuxthub-better-auth-starter/lists"}