惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
M
MIT News - Artificial intelligence
U
Unit 42
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
I
InfoQ
WordPress大学
WordPress大学
H
Help Net Security
D
Docker
B
Blog
腾讯CDC
A
About on SuperTechFans
Recent Announcements
Recent Announcements
雷峰网
雷峰网
有赞技术团队
有赞技术团队
C
Check Point Blog
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - sgs-97/redis-feature-flags: Feature flags backed...
sgs-97 · 2026-05-19 · via Hacker News: Show HN

Feature flags for teams that already run Redis. No new server. No new cost. Your data stays in your infrastructure.

📦 PyPI · Maven Central · CLI · 📖 Documentation


Why?

Most teams already run Redis. It sits in your stack as a cache or a session store. You are already paying for it, operating it, and trusting it.

Feature flag SaaS products charge hundreds of dollars a month for a server you do not need, send your user data to their infrastructure, and add another thing to monitor.

redis-feature-flags uses the Redis you already have. Nothing else.


Who is this for?

  • Startups and small teams who already run Redis and want to avoid adding new infrastructure
  • Teams that are cost-conscious and want to eliminate SaaS subscriptions
  • Developers who want full control over their data. No third party ever sees your flag evaluations
  • Teams that value simplicity. No new service to deploy, monitor, or on-call for

If you already have Redis in your stack, this is a zero-overhead addition.


What you get

Gradual rollout — release to 1%, then 10%, then 100%. Same user always gets the same answer. Deterministic, no randomness.

User targeting — give specific users early access regardless of rollout percentage.

Cohort targeting — target entire groups at once. Beta testers, enterprise users, internal teams.

Kill switch — disable any feature instantly for everyone. No redeploy. No waiting.

Flag expiry — auto-expire flags at a timestamp. No cleanup needed.

Multiple environments — prod, staging, and dev on one Redis instance. Fully isolated. No key collisions.

Works when Redis is down — stale cache keeps serving the last known state. Your application never crashes.

CLI included — manage flags from your terminal. Works with Python and Java SDKs.

Well tested — 94 Python SDK tests at 100% coverage, 109 Java tests, e2e tests against real Redis.


Install

# Python SDK
pip install redis-feature-flags

# CLI
pip install redis-flags
<!-- Java SDK -->
<dependency>
    <groupId>io.github.sgs-97</groupId>
    <artifactId>redis-feature-flags</artifactId>
    <version>1.0.0</version>
</dependency>

Quickstart

import redis
from redis_feature_flags import FeatureFlags

r = redis.Redis()
flags = FeatureFlags(r, env="prod")

flags.create("dark_mode", rollout=10)
flags.enable("dark_mode")

flags.is_enabled("dark_mode", user_id="alice")  # → True or False

# Kill switch — instant off for everyone
flags.disable("dark_mode")

CLI

redis-flags use prod
redis-flags create dark_mode --rollout 10
redis-flags enable dark_mode
redis-flags list
redis-flags inspect dark_mode

Supported languages

Language Package Status
Python PyPI stable
Java Maven Central stable
TypeScript npm coming soon
Go go modules coming soon

Performance


Requirements

  • Python 3.9+ or Java 17+
  • Redis 6.0+

License

MIT — Gayatri Sravya Siripurapu


Community

Contributions welcome.

For security vulnerabilities do not open a public issue. See SECURITY.md.