CrydenSync
๐ŸŽ‰ Latest release: v2.0.0

Own your users.

An embeddable, framework-agnostic authentication engine for Go. Self-hosted. Zero telemetry. No vendor lock-in.

Get Started โ†’๐Ÿš€ Live Demoโœจ Ask AIRead the Quick Start
โญ Star on GitHubยทDiscordยทWhatsApp GroupยทX / Twitter
main.go
package main

import (
    "context"
    "github.com/crydensync/cryden/v2"
    "github.com/crydensync/cryden/v2/store/memory"
)

func main() {
    engine, _ := cryden.New(cryden.Config{
        JWTSecret: "your-secret",
        Users:     memory.NewUserStore(),
        Sessions:  memory.NewSessionStore(),
        Audit:     memory.NewAuditStore(),
    })

    ctx := context.Background()
    cryden.SignUp(ctx, engine, "devray@example.com", "Pass@2026", "127.0.0.1")
    tokens, _ := cryden.Login(ctx, engine, "devray@example.com", "Pass@2026", "127.0.0.1", "cli")
}

No hosted service. No third-party database. Your Postgres, your users, your control.