alecthomas/kong

Kong is a command-line parser for Go

View on GitHub ↗Jump to charts ↓Open shareable report →

alecthomas/kong has 3k+ stars and 200+ forks on GitHub, is written in Go, and was last pushed on Oct 14, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on September 21st, 2026
Created on April 10th, 2018
Open Issues & Pull Requests: 61 (+0)
GitHub issues: Enabled
Number of forks: 201
Total Stargazers: 3,190 (+0)
Total Subscribers: 13 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.8 hours
Mean response time: 81.5 days
90th percentile: 252.1 days
Tracked items: 87

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 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 26
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 757 days
Stale 30+ days: 21
Stale 90+ days: 14

Recent activity

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

Top labels

  • enhancement (1)
  • help wanted (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Kong is a command-line parser for Go that uses struct tags to define command-line interfaces.

Kong solves the problem of building command-line applications by allowing developers to declare flags, arguments, and commands through Go struct definitions and tags rather than through imperative API calls. The parser reads these struct definitions and automatically generates the command-line interface, handling parsing, validation, and help text generation. This declarative approach reduces boilerplate and keeps command definitions close to their corresponding code.

Kong suits projects where developers want to minimize the ceremony of setting up command-line argument parsing. It works well for applications of any complexity, from simple single-command tools to multi-level command hierarchies. The struct-tag approach makes it particularly valuable for teams that prefer configuration-as-code patterns and want their CLI definitions to be self-documenting through the struct layout itself.

The project shows consistent maintenance with regular updates addressing issues and improving functionality. Development activity demonstrates responsiveness to user feedback and a commitment to keeping the tool stable and compatible with current Go practices.