MCPcopy
hub / github.com/Flagsmith/flagsmith

github.com/Flagsmith/flagsmith @v2.252.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.252.0 ↗
10,308 symbols 50,538 edges 2,856 files 540 documented · 5%
README

Feature Flag, Remote Config and A/B Testing platform, Flagsmith

Stars Docker Pulls Docker Image Size Join the Discord chat Coverage License Built with Depot

Try our interactive demo

Try our interactive demo

Flagsmith is an Open-Source Feature Flagging Tool to Ship Faster & Control Releases

Change the way your team releases software. Roll out, segment, and optimise—with granular control. Stay secure with on-premise and private cloud hosting.

  • Feature flags: Release features behind the safety of a feature flag
  • Make changes remotely: Easily toggle individual features on and off, and make changes without deploying new code
  • A/B testing: Use segments to run A/B and multivariate tests on new features
  • Segments: Release features to beta testers, collect feedback, and iterate
  • Organisation management: Stay organised with orgs, projects, and roles for team members
  • SDKs & frameworks: Choose from 15+ popular languages like Typescript, .NET, Java, and more. Integrate with any framework, including React, Next.js, and more
  • Integrations: Use your favourite tools with Flagsmith

Flagsmith makes it easy to create and manage feature flags across web, mobile, and server side applications. Just wrap a section of code with a flag, and then use Flagsmith to toggle that feature on or off for different environments, users or user segments.

Get up and running in less than a minute:

curl -o docker-compose.yml https://raw.githubusercontent.com/Flagsmith/flagsmith/main/docker-compose.yml
docker-compose -f docker-compose.yml up

The application will bootstrap an admin user, organisation, and project for you. You'll find a link to set your password in your Compose logs:

Superuser "admin@example.com" created successfully.
Please go to the following page and choose a password: http://localhost:8000/password-reset/confirm/.../...

Flagsmith Screenshot

Flagsmith Open Source

We love contributions from the community and are always looking to improve! Here are our contribution guidelines.

Flagsmith hosted SaaS

You can try our hosted version for free at https://flagsmith.com

Community Resources

Open Source Philosophy

The majority of our platform is open source under the BSD-3-Clause license. A small number of repositories are under the MIT license.

We built Flagsmith as the open source feature flag tool we needed but couldn't find on GitHub. Our core functionality stays open, always. Read our open letter to developers.

Open Source vs Paid

With our core functionality being open, you can use our open-source feature flag and remote config management platform no matter what. Enterprise-level governance and management features are available with a valid Flagsmith Enterprise license.

To learn more, contact us or see our version comparison.

Contributors

Thank you to the open source community for your contributions and for building this with us!

Made with contrib.rocks.

Extension points exported contracts — how you extend this code

PageviewFieldsObject (Interface)
(no doc)
frontend/global.d.ts
Window (Interface)
(no doc)
frontend/common/loadChat.ts
RouteParams (Interface)
(no doc)
frontend/web/components/ProjectsPage.tsx
Window (Interface)
(no doc)
frontend/e2e/tests/billing-test.pw.ts
Window (Interface)
(no doc)
frontend/global.d.ts
StageActionRequest (Interface)
(no doc)
frontend/common/types/requests.ts
PublishChangeRequestContentProps (Interface)
(no doc)
frontend/web/components/PublishChangeRequestModal.tsx
ReleasePipelineRequest (Interface)
(no doc)
frontend/common/types/requests.ts

Core symbols most depended-on inside this repo

create
called by 2463
api/users/serializers.py
get
called by 1501
api/users/views.py
reverse
called by 1217
api/organisations/migrations/0010_subscription.py
post
called by 873
api/e2etests/views.py
save
called by 400
api/telemetry/serializers.py
all
called by 306
api/features/views.py
byId
called by 284
frontend/e2e/helpers/utils.playwright.ts
delete
called by 269
api/users/models.py

Shape

Function 6,349
Class 1,924
Method 1,757
Route 135
Interface 128
Enum 15

Languages

Python78%
TypeScript22%

Modules by API surface

api/tests/unit/features/test_unit_features_views.py156 symbols
api/tests/conftest.py141 symbols
api/features/serializers.py86 symbols
api/tests/unit/experimentation/test_experiment_views.py85 symbols
frontend/e2e/helpers/e2e-helpers.playwright.ts80 symbols
api/tests/unit/organisations/test_unit_organisations_views.py76 symbols
api/features/models.py71 symbols
api/tests/unit/experimentation/test_services.py66 symbols
api/tests/unit/environments/test_unit_environments_models.py61 symbols
api/tests/unit/features/test_unit_features_models.py58 symbols
api/features/views.py57 symbols
api/organisations/models.py56 symbols

Dependencies from manifests, versioned

@amplitude/analytics-browser2.11.3 · 1×
@amplitude/engagement-browser0.0.5 · 1×
@amplitude/plugin-session-replay-browser1.6.24 · 1×
@babel/core7.20.7 · 1×
@babel/plugin-proposal-class-properties7.12.1 · 1×
@babel/plugin-transform-modules-commonjs7.12.1 · 1×
@babel/plugin-transform-react-constant-elements7.12.1 · 1×
@babel/preset-env7.12.1 · 1×
@babel/preset-react7.12.1 · 1×
@babel/preset-typescript7.18.6 · 1×
@babel/register7.12.1 · 1×
@datadog/ui-extensions-react0.32.0 · 1×

Datastores touched

flagsmithDatabase · 1 repos
dbDatabase · 1 repos
flagsmith_task_processorDatabase · 1 repos
mydbnameDatabase · 1 repos

For agents

$ claude mcp add flagsmith \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact