gflags/gflags

The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and...

View on GitHub ↗Jump to charts ↓

gflags/gflags has 3k+ stars and 850+ forks on GitHub, is written in C++, and was last pushed on Jul 25, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on September 22nd, 2026
Created on April 20th, 2013
Open Issues & Pull Requests: 33 (+0)
GitHub issues: Enabled
Number of forks: 856
Total Stargazers: 3,031 (+0)
Total Subscribers: 107 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 126.5 days
Mean response time: 418.1 days
90th percentile: 1257.8 days
Tracked items: 25

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,083 days
Stale 30+ days: 4
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (5)
  • 0 - backlog (4)
  • bug (3)
  • cmake (3)
  • bazel (1)
  • enhancement (1)
  • other (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

gflags is a C++ library that implements command-line flags processing. The library lets developers define flags directly in source files and handles parsing of standard types like strings and numbers from command-line arguments. It solves the problem of managing application configuration through command-line options by providing a declarative approach where flags can be scattered throughout a codebase rather than centralized in a single location.

Developers choosing gflags should be aware that it is no longer maintained by Google, though it receives minor maintenance releases from the open-source community. The README explicitly recommends that users of Abseil should use Abseil's flags library instead. The tool is suited for C++ projects that need straightforward command-line argument handling without the overhead of a more complex configuration system. Feature additions are not currently planned and depend on community contributions.

The project maintains active build system support across multiple platforms and tools. Recent maintenance releases have added support for Bazel's Bzlmod system and CMake 4.0, improved compatibility with BlackBerry QNX, and migrated CI infrastructure to GitHub Actions. The library continues to address build issues across different compilers and platforms, including Windows and MinGW, and resolves issues flagged by static code analyzers. The project accepts bug reports and community pull requests through its GitHub issue tracker.