Skip to content

switchfeat

Self-hosted feature flag and A/B testing service for teams that keep data in their network

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

206

Last commit

3 years ago

Aug 2023

Repository age

3 years

since Jun 2023

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

TypeScript

SwitchFeat is a self-hosted service for managing feature flags and running A/B tests. You wrap code in a flag, then call the SwitchFeat API to turn that code on or off based on conditions and user segments.

It runs on your own infrastructure, so flag data does not travel to an outside server. The project is a TypeScript monorepo managed with Lerna, with a Node.js server and a React interface. You deploy it with Docker, either from the published image or by building from the repository with docker-compose. After the container starts, you fill in environment variables from an example file and restart it. The interface is served on port 4000.

It is licensed under AGPL-3.0. It suits teams that want a hosted-flag product's core idea without sending data to a third party. Development has been dormant since August 2023, with no releases in the last year.

Who it's for

Small teams wanting flags without a SaaS vendor

It runs in your own network and the Docker image gets you a working instance quickly.

Skip if: You need an actively maintained product with regular releases and security updates.

Developers testing a self-hosted flag setup

A small TypeScript codebase is easy to read, run and modify locally.

Skip if: You need a mature SDK ecosystem across many languages.

The problem it solves

Hosted feature flag services send your flag and user data over the internet and add latency. SwitchFeat lets you toggle code and run A/B tests from a service inside your own network.

Strengths

  • Runs entirely on your own infrastructure, so flag data stays in your network
  • Official Docker image plus a docker-compose file for building from source
  • Supports toggling by conditions and user segments through an API
  • Includes A/B testing alongside feature flags

Trade-offs

  • No commits since August 2023 and no releases in the last year
  • AGPL-3.0 license has obligations if you modify and offer it as a service
  • Environment variables must be set inside the image, then the container restarted

Self-host switchfeat

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

docker run --name switchfeat-com -d -p 4000:4000 ghcr.io/switchfeat-com/switchfeat:main

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Can I self-host SwitchFeat?

Yes. It is built for self-hosting and ships a Docker image on the GitHub Container Registry, plus a docker-compose file.

How is it licensed?

AGPL-3.0, an OSI-approved copyleft license.

Is it actively maintained?

No. The last commit was in August 2023 and there were no releases in the past year.

Which port does it use?

The server and interface are available on port 4000.

Similar tools in Feature flag management

Abby

Feature flag management

Feature flag and A/B testing platform with typed SDKs for web developers

166 59 2 years ago Dormant AGPL-3.0

Nona

Feature flag management

Self-hosted remote config and feature flags for web, mobile and backend apps

52 14 20 days ago Active Apache-2.0

GrowthBook

Feature flag management

Feature flags and warehouse-native A/B testing for product and data teams

8.7k 917 today Thriving MIT

Replaces LaunchDarkly

Flagsmith

Feature flag management

Self-hostable feature flag and remote config service for engineering teams

9.2k 650 today Thriving BSD-3-Clause

Replaces LaunchDarkly

Unleash

Feature flag management

Self-hostable feature flag platform for teams that ship in small, reversible releases

14k 933 today Thriving AGPL-3.0

Replaces LaunchDarkly

GO Feature Flag

Feature flag management

Self-hosted feature flag tool for teams using OpenFeature SDKs in any language

2.1k 233 today Thriving MIT