https://github.com/Rettend/gau
Flexible OAuth library with first-class Tauri support
https://github.com/Rettend/gau
auth authentication oauth oauth2 solidjs svelte tauri
Last synced: 3 months ago
JSON representation
Flexible OAuth library with first-class Tauri support
- Host: GitHub
- URL: https://github.com/Rettend/gau
- Owner: Rettend
- License: mit
- Created: 2025-07-08T20:42:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-03-02T12:07:43.000Z (4 months ago)
- Last Synced: 2026-03-02T15:52:57.425Z (4 months ago)
- Topics: auth, authentication, oauth, oauth2, solidjs, svelte, tauri
- Language: TypeScript
- Homepage: https://gau.rettend.me
- Size: 1.89 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
gau
/ɡɔː/
good auth
**Read the docs**: [gau.rettend.me](https://gau.rettend.me)
- **Flexible** - Small and self-hostable, works with backend-only, full-stack, and native apps, and on different hosts
- **Framework agnostic** - Core is framework-free and uses Web Crypto and Fetch, with helpers for frameworks and runtimes
- **Runtime agnostic** - Runs on Bun, Node, Deno, Cloudflare Workers, and even Tauri
- **Database agnostic** - Can support any database via adapters
## examples
Check out the [`packages`](https://github.com/Rettend/gau/tree/main/packages) folder in this repo for complete working apps:
- `example-sveltekit`: SvelteKit + Turso
- `example-sveltekit-tauri`: SvelteKit + Turso + Tauri (desktop)
- `example-sveltekit-tauri-mobile`: SvelteKit + Turso + Tauri (mobile and desktop)
- `example-solidstart`: SolidStart + Turso
- `example-bun`: Bun.serve
- `example-elysia`: Elysia
To use them as starter templates:
`bunx degit Rettend/gau/packages/example-sveltekit`
## contributing
`gau` core is everything-agnostic, but it's missing a ton of specific integrations.
If you want to add a new...
- OAuth provider
- Database adapter
- Framework integration
- Platform integration
... PRs are welcome!
## license
MIT