Examples
Runnable mini-projects in examples/ — each mounts the panel and
shows flags driving real behavior (change a flag, publish, watch the app change):
| Example | Shows |
|---|---|
elysia/ |
Mount the panel + a route whose response a flag controls. |
elysia2/ |
Elysia 2: typed plugin + per-request flag context via .wrap(). |
hono/ |
Same, on Hono. |
express/ |
Same, on Express. |
auth/ |
Auth + RBAC flexibility: none/basic/header/cookie/JWT/query. |
hooks/ |
Control-plane hooks: log + publish gate + signed webhook + test-gate. |
flags-sdk/ |
Next.js + Vercel Flags SDK; panel mounted + a home page flags drive. |
openfeature-redis/ |
Evaluate at runtime via the OpenFeature provider over Redis. |
ofrep/ |
Remote eval via OFREP over HTTP — bulk/single, ETag/304, SSE. |
ofrep-clients/ |
Consume flags from Python, Go, plain TS via OpenFeature + OFREP. |
storage-drivers/ |
One contract, every backend. |
react-embed/ |
Embed <FlagsDashboard/> in an existing React app. |
standalone-docker/ |
The Docker image + Redis via docker compose. |
bun run build # build dist/ + dist/ui oncebun run examples:elysia # → ▶ elysia → http://localhost:NNNN/flags