{"id":49866775,"url":"https://github.com/adamshand/sveltekit-pocketbase-auth","last_synced_at":"2026-05-15T03:17:24.528Z","repository":{"id":250088908,"uuid":"833434168","full_name":"adamshand/sveltekit-pocketbase-auth","owner":"adamshand","description":"Svelte 5 (Runes) with PocketBase authentication (SSR \u0026 CSR) and realtime","archived":false,"fork":false,"pushed_at":"2024-10-26T07:22:31.000Z","size":1060,"stargazers_count":59,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-11T18:22:05.594Z","etag":null,"topics":["example","picocss","pocketbase","svelte","svelte5","sveltekit","template"],"latest_commit_sha":null,"homepage":"","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/adamshand.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}},"created_at":"2024-07-25T03:47:28.000Z","updated_at":"2025-09-26T06:29:10.000Z","dependencies_parsed_at":"2024-10-26T10:55:02.487Z","dependency_job_id":"5e09f7be-f7d3-47fa-9e98-62a5fb6520b2","html_url":"https://github.com/adamshand/sveltekit-pocketbase-auth","commit_stats":null,"previous_names":["adamshand/sveltekit-pocketbase-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamshand/sveltekit-pocketbase-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamshand%2Fsveltekit-pocketbase-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamshand%2Fsveltekit-pocketbase-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamshand%2Fsveltekit-pocketbase-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamshand%2Fsveltekit-pocketbase-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamshand","download_url":"https://codeload.github.com/adamshand/sveltekit-pocketbase-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamshand%2Fsveltekit-pocketbase-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33052033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["example","picocss","pocketbase","svelte","svelte5","sveltekit","template"],"created_at":"2026-05-15T03:17:23.644Z","updated_at":"2026-05-15T03:17:24.510Z","avatar_url":"https://github.com/adamshand.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/hfg-gmuend/openmoji/blob/15.0.0/color/72x72/1F437.png) \n\n# SvelteKit with Svelte 5 (runes) with PocketBase Starter Template\n\nI'm a newish JavaScript developer and I found CSR, SSR, authentication, hooks etc all very confusing.  This is the starter template I wish I'd been able to find in 2022, only with Runes. \n\n- Svelte 5 in runes mode\n- PocketBase\n  - Collections are typed (see [hooks.server](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/main/src/hooks.server.ts) \u0026 [pocketbase.svelte](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/main/src/lib/pocketbase.svelte.ts))\n  - Supports authenticated access for both [server](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/main/src/hooks.server.ts) (SSR) and [client](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/main/src/lib/pocketbase.svelte.ts) (CSR) routes\n  - Sign in/out/up and verify routes\n  - Uses realtime to react to account email being [verified](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/main/src/routes/(auth)/verify/%2Bpage.svelte) (thanks to example by [RdnMach](https://github.com/RbnMach/sveltekit-pocketbase-realtime/blob/main/src/routes/user-panel/ListaItems.svelte))\n  - [Security class](https://github.com/adamshand/sveltekit-pocketbase-auth/blob/18d07d480e0264ec55bb4fdc72fb74656c2256c7/src/lib/pocketbase.svelte.ts#L26) for easy and customisable authenticated routes (thanks to [Captain Coderman](https://www.captaincodeman.com/securing-your-sveltekit-app) and [Rasoriano](https://www.reddit.com/r/sveltejs/comments/1eb90ee/comment/let71fh/))\n- [PicoCSS](https://picocss.com/)\n  - Light / Dark Mode \n  - Simple, default styling\n  - Loading spinners\n  \nEverything under `/app` is where I experiment and may or may not be in a working state.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamshand%2Fsveltekit-pocketbase-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamshand%2Fsveltekit-pocketbase-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamshand%2Fsveltekit-pocketbase-auth/lists"}