Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.01 KB

File metadata and controls

65 lines (49 loc) · 2.01 KB

CrydenSync 🔐

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")
}

Why CrydenSync?

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

Key Differentiators

  • 🚀 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

Quick Install

go get github.com/crydensync/cryden

📦 What's in v1.0.0

  • ✅ 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

Coming Soon

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

Next Steps