Skip to content
@FtrOnOff

FtrIO

FtrOnOff

Feature toggle ecosystem for .NET — gate method execution from config with zero if statements, compile-time safety, a self-hosted management UI, CLI audit tooling, and GitHub Actions for deployment safety.

The FtrIO Ecosystem

Project What it does Get started
FtrIO Core library. Decorate any method with [Toggle] and it becomes config-gated via IL weaving — no if, no boilerplate, no wrapper classes. Ships a Roslyn analyzer for compile-time validation, percentage rollouts, blue-green deployments, and dynamic providers (HTTP, Azure App Config, env vars). dotnet add package FtrIO
FtrIO.Toaster Lightweight Docker web UI for managing toggles live. Boolean, percentage, and blue-green controls, multi-environment support, audit log, and Basic Auth / SSO via OAuth2 Proxy. docker compose up -d
FtrIO.onetwo .NET CLI audit tool. Scans your source tree for every toggle reference, cross-references against appsettings.json, and reports each toggle's state — ON, OFF, 20%, BLUE, or MISSING — with file and line number. Also supports importing flag state from LaunchDarkly, Flagsmith, and other providers, generating migration reports, and ejecting back to another provider with a structured exit report. ftrio.onetwo

GitHub Actions

Two actions that together gate deployments on missing toggle config — catching the gap between what your code needs and what a specific environment actually has configured.

Action What it does Use in
export-manifest-action Scan source code for [Toggle] usage and export a manifest of required toggle keys. CI pipeline
release-check-action Validate a target appsettings.json contains every toggle key required by this release. Blocks the deploy if anything is missing. Deployment pipeline

How they fit together

┌─────────────────────────────────────────────────────┐
│  Your code                                          │
│  [Toggle] public void SendWelcomeEmail() { ... }    │
└───────────────────┬─────────────────────────────────┘
                    │ compile-time weaving (Roslyn analyzer)
                    ▼
┌─────────────────────────────────────────────────────┐
│  FtrIO core                                         │
│  gates method execution at runtime                  │
└───────────────────┬─────────────────────────────────┘
                    │ reads
                    ▼
┌─────────────────────────────────────────────────────┐
│  appsettings.json  — source of truth                │
└──────────┬──────────────────────────┬───────────────┘
           │ writes live              │ reads & audits
           ▼                          ▼
  FtrIO.Toaster                 FtrIO.onetwo
  (web UI — manage toggles)     (CLI — audit state)

Deployment safety pipeline

CI pipeline                          Deployment pipeline
────────────────────────────────     ──────────────────────────────────
export-manifest-action           →   release-check-action
Scan source for [Toggle] keys         Download manifest artifact
Upload as build artifact              Fetch target appsettings.json
                                      Block deploy if any keys missing

No coupling between tools. Use any combination without changing your FtrIO core setup.

The safety net

FtrIO catches toggle config drift at every stage of the pipeline:

Stage What catches it
Write [Toggle] without config entry Roslyn analyzer — compile time
Release with key missing from target env release-check-action — deploy time

Docs

Full documentation at https://docs.ftrio.dev — quick start, async, hot-reload, providers, strategies, multi-environment, DI, analyzer, and the full ecosystem.

Popular repositories Loading

  1. FtrIO FtrIO Public

    Gate .NET method execution from config — one [Toggle] attribute, no if statements. Compile-time validation via Roslyn analyzer, percentage rollouts, blue-green deployments, and dynamic providers (H…

    C# 4

  2. FtrIO.onetwo FtrIO.onetwo Public

    .NET CLI audit tool for FtrIO feature toggles. Scans your source tree for every [Toggle] reference, cross-references against appsettings.json, and reports ON / OFF / 20% / BLUE / MISSING state with…

    C# 1

  3. FtrIO.Toaster FtrIO.Toaster Public

    Lightweight Docker web UI for managing FtrIO feature toggles — boolean, percentage rollout, and blue/green. Multi-environment, audit log, and Basic Auth/SSO included.

    HTML 1

  4. export-manifest-action export-manifest-action Public

    GitHub Action that scans a .NET codebase for FtrIO [Toggle] usage and exports a manifest of required toggle keys. Use as the first step in a deployment safety pipeline. Wraps FtrIO.onetwo.

    1

  5. ftrio-action ftrio-action Public

    GitHub Action for FtrIO — audit feature toggle state, export toggle manifests, and gate deployments on missing config. Wraps FtrIO.onetwo.

    1

  6. release-check-action release-check-action Public

    GitHub Action that validates a target appsettings.json contains every toggle key required by a release. Pair with export-manifest-action to gate deployments on missing config. Wraps FtrIO.onetwo.

    1

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…