An open API service indexing awesome lists of open source software.

https://github.com/alias-asso/polybase-go


https://github.com/alias-asso/polybase-go

Last synced: 5 months ago
JSON representation

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.