# knqyf263/pet

Simple command-line snippet manager

Repository: https://github.com/knqyf263/pet
Canonical: https://ross.abutalabs.com/products/pet
Language: Go
License: MIT
License Family: permissive
Topics: golang, go, snippets, linux, command-line, standalone
Last push: 2026-03-13T19:12:49+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 72, release rhythm 40, longevity 100
- inputs: {"age_days": 3462, "days_push": 173, "days_rel": 633, "gap_med": 19.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5336, forks 249 (observed 2026-08-28T04:09:15.769380+00:00)

## What it is
Pet is a simple command-line snippet manager written in Go that lets you save, tag, search, and execute command snippets. It supports parameterized snippets, interactive fuzzy search, and syncing via Gist or GitLab Snippets.

## Use cases
- save commands I keep forgetting
- search my shell snippets interactively
- recall rarely used complex commands
- stop digging through shell history for old commands
- sync snippets across machines via Gist
- run parameterized command templates
- register the previous command as a snippet

## When to choose
- you want a lightweight, standalone binary to manage command snippets
- you need fuzzy interactive search and direct execution of snippets
- you want automatic snippet sync via Gist or GitLab
- you work across many tools and can't remember every command

## When to avoid
- you need a GUI snippet manager
- you want to share rich text or multi-file notes rather than commands
- you need team-managed snippet libraries with permissions

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, search-engine
- domain: developer-tools
- platform: windows, cli, cross-platform
- tags: snippet-manager, shell-history, command-palette, gist-sync, go, command-line, linux, macos

## Member repositories
- knqyf263/pet (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.769380+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:58:51.505173+00:00, confidence not recorded.
  - readme: https://github.com/knqyf263/pet (fetched 2026-08-28T04:09:15.769380+00:00, sha 294088ddbefe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
