knqyf263/pet

Simple command-line snippet manager

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 12th, 2026
Created on March 11th, 2017
Open Issues & Pull Requests: 29 (+0)
GitHub issues: Enabled
Number of forks: 249
Total Stargazers: 5,346 (+0)
Total Subscribers: 42 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.1 days
Mean response time: 148.2 days
90th percentile: 285.7 days
Tracked items: 11

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,392 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

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

Top labels

  • feature-request (3)
  • enhancement (2)
  • good-first-issue (2)
  • bug (1)
  • investigation (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Pet is a command-line snippet manager written in Go that helps developers save, organize, and quickly retrieve frequently used commands.

The tool addresses the problem of remembering complex or rarely-used commands that are difficult to locate in shell history. Pet lets you store command snippets with tags, search them interactively, and execute them directly from the command line. Snippets support parameterization through variables marked with angle brackets, which can include default values or multiple preset options. The configuration is stored as a simple TOML file, making snippets easy to edit manually. The tool also offers synchronization capabilities through GitHub Gist or GitLab Snippets for backing up and sharing snippet collections.

Pet suits developers who work across multiple tools and platforms and want to reduce cognitive load by externalizing command knowledge rather than relying on memory or shell history. It works well for anyone managing a growing library of one-off commands, infrastructure operations, or multi-step procedures. The tool is distributed as a standalone binary compiled from Go, requiring no runtime dependencies and making installation straightforward across different operating systems.

The project maintains active engagement with its user base through documentation of real-world usage patterns and integration examples for popular shells. Development shows responsiveness to feature requests and bug reports, with particular attention to improving the snippet parameter system and sync functionality. The maintainers have invested in making the tool accessible through multiple installation channels and have provided clear migration paths for users adopting the tool.