{"id":24396678,"url":"https://github.com/robimez/svelter-auth","last_synced_at":"2025-07-01T22:33:40.415Z","repository":{"id":270714966,"uuid":"911238965","full_name":"RobiMez/svelter-auth","owner":"RobiMez","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-15T23:39:31.000Z","size":180,"stargazers_count":20,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T04:17:09.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://svelter-auth.vercel.app","language":"Svelte","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/RobiMez.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}},"created_at":"2025-01-02T14:59:11.000Z","updated_at":"2025-06-21T19:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"a04e69f8-6a1b-48fd-9dbf-c8d9f9d7a49c","html_url":"https://github.com/RobiMez/svelter-auth","commit_stats":null,"previous_names":["robimez/svelter-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobiMez/svelter-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiMez%2Fsvelter-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiMez%2Fsvelter-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiMez%2Fsvelter-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiMez%2Fsvelter-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobiMez","download_url":"https://codeload.github.com/RobiMez/svelter-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiMez%2Fsvelter-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046877,"owners_count":23405277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-01-19T21:55:27.485Z","updated_at":"2025-07-01T22:33:40.384Z","avatar_url":"https://github.com/RobiMez.png","language":"Svelte","funding_links":[],"categories":["Starter Kits"],"sub_categories":[],"readme":"# Stuff i did\n\n## Basic setup\n\n- `npx sv create`\n- `pnpm add better-auth`\n- Create `.env` file\n- Create `src/auth.ts` file\n- `pnpm i dotenv`\n- Decided to use postgres\n\n## Database\n\n- Create `src/db.ts` file\n- Install pg and types\n- `pnpm i --save-dev @types/node`\n- `pnpm i --save-dev @types/pg`\n- Added a postgres url to `.env`\n- `npx @better-auth/cli generate`\n- `npx @better-auth/cli migrate`\n\n## Authentication Setup\n\n- Create `hooks.server.ts`\n- Create `src/lib/auth-client.ts`\n\n## Ui\n\n- Create `src/lib/components/AuthCard.svelte`\n- install phosphor-svelte\n- Made ui for sign in, sign up, and forgot password\n- Tried to get as close to the original design as possible\n- Decided it was shit and started over with shadcn-svelte\n- Turned out to be a very good decision\n- LOTS of changes on this commit but ignore it and look at the next commits for auth implementations\n\n## Added email and password auth\n\n- Added signin signup and signout functionality with email and password\n- Added edit user functionality\n\n## Email Verification\n\n- Added email verification with resend\n- Added forget and reset password functionality\n\n## Github Auth\n\n- Added github auth\n- Added github account linking\n- Added a toast for when betterauth doesnt let you sign in with a private email github account\n\n## Switched to mongodb\n\n- Added mongodb adapter\n- added chalk for logging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobimez%2Fsvelter-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobimez%2Fsvelter-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobimez%2Fsvelter-auth/lists"}