Hosthalla is a Go web application with PostgreSQL-backed storage and server-side UI templates.
- Go 1.26+
- Docker + Docker Compose
- Start local infrastructure:
make dev-up- Apply database migrations:
make migrate-up- Create the app config (or provide your own path with
-config):
go run ./cmd/webThe default config file path is ~/.hosthalla/config.yaml. If the file does not exist, Hosthalla creates a template and exits so you can fill it in.
Example config:
web:
host: 0.0.0.0
port: 8080
database:
host: localhost
port: 5432
user: hosthalla
password: hosthalla
database: hosthalla- Run the web server:
go run ./cmd/web- Regenerate templ files:
make templ-generate - Create a user:
go run ./cmd/cli create-user <username> <password> - Stop dev services:
make dev-down - Reset dev services and volumes:
make dev-reset
Licensed under the MIT License. See LICENSE.