Open-source feature flags. Self-hosted, real-time, OpenFeature-compatible.
https://hoist.macco.dev
- Go 57.8%
- Svelte 27.9%
- TypeScript 9.5%
- PLpgSQL 4.2%
- CSS 0.5%
| .forgejo/workflows | ||
| cmd | ||
| docker | ||
| examples/basic | ||
| internal | ||
| sdks | ||
| web | ||
| wiki | ||
| .env.example | ||
| .gitignore | ||
| config.example.yaml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
Hoist
Open-source feature flags. Self-hosted, real-time, OpenFeature-compatible.
Quick Start
docker compose up -d
Open http://localhost:4340
Usage
import (
"context"
"git.macco.dev/macco/hoist/sdks/go/hoist"
)
client, _ := hoist.NewClient(hoist.Config{
APIKey: "hoist_live_xxx",
BaseURL: "https://hoist.macco.dev",
})
enabled, _ := client.Bool(ctx, "dark-mode", false, hoist.Context{
TargetingKey: "user-123",
Attributes: map[string]any{"plan": "pro"},
})
Features
- Targeting rules & segments
- Percentage rollouts
- Real-time WebSocket updates
- Multi-environment (dev/staging/prod)
- Audit logging
License
Apache 2.0