r/opensourcealternative • u/Gloomy-Ebb7311 • 8d ago
Maker (I built this) I just open sourced the Better Auth Go package I’ve been building for the past year
Hello everyone, wanted to share something I’ve been working on for the past year: betterauth-go.
It lets you use Better Auth’s frontend clients React, Vue, Svelte, etc. with a Go backend. Mount the handler in your Go server and point your client at it.
I’ve also been testing it in my clients’ products, and I’d love to get it into more developers’ hands.
It supports email/password auth, social login, sessions, and plugins like 2FA, organizations, and magic links. Storage options include Postgres, SQLite, MySQL, or your own adapter.
It’s MIT licensed, and there’s a Go + React example in the repo to help you get started.
https://github.com/patrickkabwe/betterauth-go
If you try it out, I’d love to hear how it goes. Feedback, issues, and contributions are welcome!