nowfound

Dev tools · May 27, 2024

NF

next-flag ∙ Feature flags by GitHub Issues and NextJS

I built a package that provides a feature-flag service powered entirely by GitHub issues and NextJS. Define a list of app features and environments in an issue description, then simply toggle a feature on/off by ticking a checkbox - without having to redeploy your app. It can be used directly inside a NextJS app or be deployed as a standalone service and consumed by any client over HTTP. Plus it supports react server-side components right out of the box. The architecture leverages GitHub Webhooks to invalidate the NextJS cache whenever there is a change. The next time a user reloads a…

What it does

In the maker’s words, at launch

I built a package that provides a feature-flag service powered entirely by GitHub issues and NextJS. Define a list of app features and environments in an issue description, then simply toggle a feature on/off by ticking a checkbox - without having to redeploy your app. It can be used directly inside a NextJS app or be deployed as a standalone service and consumed by any client over HTTP. Plus it supports react server-side components right out of the box. The architecture leverages GitHub Webhooks to invalidate the NextJS cache whenever there is a change. The next time a user reloads a page in their NextJS app the cache is repopulated with the latest enabled features by sending a request to GitHub. Features: - Define feature flags across multiple environments or branches. - Supports React Server Side and Client Side Components. Powered by the NextJS Cache. - Define custom conditions that are evaluated at runtime to enable or disable features. - Can be deployed as a stand-alone service to manage feature flags for multiple NextJS apps. - Totally free. Unlimited projects, features and environments. How does it work? 1. Define a list of features using Markdown in a Github Issue. 2. Configure a Github Webhook that hits your self-hosted `/api/next-flag` route when a feature is toggled and invalidates the NextJS cache. 3. Consume the `next-flag` package anywhere in your code. Features are fetched once and cached. Supports React Server Side Components, React Hooks, or simply send an HTTP GET request to `/api/next-flag`.

Does the same job

all alternatives →
  • Next.js 2.02017 · ▲220

    Framework for server-rendered React apps

  • Flagsmith2021 · ▲128

    Feature flag, remote config and AB testing platform

  • Serverless NextJS/GPT-3 Template2021 · ▲118

    A serverless NextJS/React template to build GPT-3 apps

  • OpenFlagsMar 2026 · ▲114

    Fast, self-hosted, edge-ready feature flags for modern teams

  • StackPatchJan 2026 · ▲116

    Patch authentication into your Next.js app with one command

  • Flipt Cloud2024 · ▲165

    Feature Flags. Powered by Git

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, May 2024

the whole month →
  • Voicenotes1,487

    AI note-taker that's truly intelligent

    AI · 2024 · voicenotes.com

  • Wegic1,181

    The first AI web designer & developer by your side

    Dev tools · 2024 · wegic.ai

  • Insighto1,110

    Ship features users want

    Growth · 2024 · insigh.to

  • Ivee1,087

    The B2B influencer marketing platform

    Growth · 2024

  • Waxwing1,035

    AI copilot for every marketing task

    AI · 2024

  • AI powered zero-waste meal planner

    AI · 2024 · ohapotato.app