https://github.com/alias-asso/polybase-go
https://github.com/alias-asso/polybase-go
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alias-asso/polybase-go
- Owner: alias-asso
- Created: 2025-06-16T21:59:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-05T20:58:05.000Z (9 months ago)
- Last Synced: 2025-10-05T21:27:08.849Z (9 months ago)
- Language: Go
- Size: 4.7 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polybase
Self-hosted user database with LDAP authentication.
## Components
- `polybase/`: CLI frontend
- `polybased/`: Web interface (Go + HTMX)
- `internal/`: Core backend logic with tests
## Requirements
- Go 1.21+
- SQLite
- Tailwind CSS
- Templ
## Nix Users
```shell
nix develop
just build
```
## Other Users
Install dependencies:
- `go install github.com/air-verse/air@latest`
- `go install github.com/a-h/templ/cmd/templ@v0.3.906`
- `npm install -g tailwindcss@3`
- requires just, Hivemind, and GLAuth
Build:
```shell
just build
```
Development:
```shell
just dev # hot reload
just migrate # initialize database
just clean # remove artifacts
```
## LDAP Development
Start GLAuth development LDAP server:
```shell
glauth -c glauth.cfg
```
Test accounts:
- `paul:paul*`
- `ionys:ionys*`
- `lydia:lydia*`
## Icons
Icons are selected from the [Tabler icon set](https://tabler.io/icons), a MIT-licensed icon set.