Feature flags & config
Feature flags and config, without the SaaS.
Spebelt serves feature flags and runtime config to your apps over a fast API, with instant updates and per-environment targeting.
Read the documentation →$ spebelt serve
Spebelt APIv1
PUT /v1/flags/{name}Create or update a flag.GET /v1/eval/{name}Evaluate a flag for a context.GET /v1/flags/_streamStream flag changes to a client.DELETE /v1/flags/{name}Remove a flag.Spebelt Feature·Instant flag updates·Per-environment·Targeting rules·REST API
Capabilities
| Flags & config | Boolean flags, numbers, and JSON config live in one place and change without a deploy. |
| Instant updates | Clients hold a streaming connection, so a flag flip reaches every instance within a second. |
| Targeting rules | Roll out by percentage, environment, or attributes — the same flag can differ per audience. |
Flip a flag in one call.
Define a flag, evaluate it from your app over HTTP.
- 1Start Spebelt on any host.
- 2Create a flag with a rollout rule.
- 3Evaluate it from your app over the API.
# start the server
$ spebelt serve --data ./flags
# create a flag at 25%
$ curl -X PUT /v1/flags/new-ui \
-d '{"rollout":25}'
# evaluate for a user
$ curl '/v1/eval/new-ui?user=42'