Embeddable authentication engine for Go — offline-first, framework-agnostic.
import "github.com/crydensync/cryden"
func main() {
engine := cryden.New()
user, _ := cryden.SignUp(ctx, engine, "alice@example.com", "SecurePass123")
tokens, _, _ := cryden.Login(ctx, engine, "alice@example.com", "SecurePass123")
}Most auth solutions lock you into their ecosystem. CrydenSync lets you build once, own forever—your database, your data, your rules. Built for developers who value simplicity, security, and sovereignty.
Perfect for:
- SaaS applications that need independent auth
- Self-hosted platforms with full control
- Privacy-conscious projects
- Teams shipping auth in hours, not weeks
- 🚀 Offline-first — Works without internet, SQLite by default
- 👤 Own your users — No vendor lock-in, your database, your data
- 🔧 Framework agnostic — Use with any Go framework (or without)
- 🔌 Interface-driven — Swap databases, loggers, rate limiters
- ✅ Production ready — Rate limiting, audit logs, JWT, refresh tokens
go get github.com/crydensync/cryden- ✅ Email/password authentication
- ✅ JWT access tokens + opaque refresh tokens
- ✅ Rate limiting (with headers)
- ✅ Audit logging
- ✅ Session management
- ✅ Multiple storage backends (memory, SQLite, PostgreSQL, MongoDB)
- ✅ Complete test suite
| Feature | Status |
|---|---|
| gRPC API | 🚧 Planned |
| CLI tool (csax) | 🚧 Planned |
| Language SDKs (JS, Python, PHP) | 🚧 Planned |
| MFA/2FA | 📅 Future |
| Magic Links | 📅 Future |
| OTP/SMS | 📅 Future |
| WebAuthn/Passkeys | 📅 Future |
- Get Started → — Follow our quick start guide
- View on GitHub — Star us and explore the code
- Read Our Philosophy — Learn why we built CrydenSync