Skip to content

ZigBalthazar/flagimgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

🚩 Flagimgo

Flagimgo is an advanced feature flag management system written in Go. It enables engineering, product, and ops teams to dynamically control app behavior, rollout features safely, run experiments, and fetch runtime configurations without redeploying applications.

✨ Features

  • βœ… Boolean, multivariate, and config-based flags
  • 🎯 User segmentation and conditional targeting
  • πŸ“ˆ Percentage-based rollouts (canary deployments)
  • πŸ§ͺ A/B/N experimentation support
  • πŸ“Š Flag exposure tracking and analytics hooks
  • πŸ›‘ Kill switches and scheduled activations
  • πŸ› οΈ Remote configuration bootstrapping (e.g., API URLs)
  • πŸ” Role-based access and audit trails
  • 🌐 SDKs for Go, JS, Android, iOS, and more (in progress)

πŸ“¦ Project Structure


flagimgo/

πŸš€ Quick Start (Development)

Prerequisites

  • Go 1.21+

1. Clone the Repo

git clone https://github.com/your-org/flagimgo.git
cd flagimgo

2. Run Backend

 

πŸ“Œ Remote Config Bootstrap (Example)

GET /bootstrap?appId=com.example.myapp&platform=android
{
  "api_base_url": "https://api.example.com",
  "feature_flags": {
    "enable_checkout_v2": true
  },
  "log_level": "warn"
}

πŸ§ͺ Flag Evaluation Example (SDK)

flags := sdk.FetchFlagsForUser("user_123")
if flags.IsEnabled("new_ui") {
    RenderNewUI()
}

πŸ“Š Analytics Example

Flagimgo supports streaming exposure and event logs to:

  • Amplitude, Mixpanel, Segment
  • BigQuery / Snowflake
  • Kafka / Webhooks

πŸ›‘οΈ Security & Governance

  • Role-based access control (RBAC)
  • Signed remote config payloads (optional)
  • Audit logs for all changes

πŸ“„ Documentation


🀝 Contributing

Flagimgo is under active development. Contributions, feedback, and ideas are welcome!

# Run tests
go test ./...

πŸ“ƒ License

MIT License Β© 2025 Flagimgo Contributors

About

advance feature flag management system in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published