Self-hosted user database with LDAP authentication.
polybase/: CLI frontendpolybased/: Web interface (Go + HTMX)internal/: Core backend logic with tests
To develop or to build polybase, you must have Go 1.24+ and Bun installed.
We are using just as a command runner.
Build:
just buildPublish:
just publishDevelopment:
just dev # basic backend
just dev-ldap # ldap
just dev-frontend # frontend
just dev-rw # test high packet loss
just dev-hivemind # if you have hivemind installed (start dev, dev-ldap, dev-frontend and dev-air)
just migrate # initialize database
just clean # remove artifactsWe use GLAuth as a development LDAP server. Start it with:
glauth -c glauth.cfgTest accounts are:
paul:paul*ionys:ionys*lydia:lydia*
Icons are selected from the Tabler icon set, a MIT-licensed icon set.