give-thanks
v0.1.1
Published
A CLI for thanking open source maintainers — star repos and post gratitude in GitHub Discussions
Maintainers
Readme
give-thanks
A CLI for thanking open source maintainers — star repos and post gratitude in GitHub Discussions.
Small and mid-size OSS maintainers rarely hear how their work is being used. Stars are anonymous. Issues are complaints. give-thanks closes that feedback loop with a single command.
Install
npm install -g give-thanksOr use without installing:
npx give-thanks chalkUsage
Thank a package
# By package name (resolves via npm/PyPI registries)
give-thanks chalk
# With context about how you use it
give-thanks chalk --used-for "colorful CLI output in our dev tools"
# By GitHub repo directly
give-thanks sindresorhus/chalk
# With a custom message
give-thanks chalk --message "This library saved us weeks of work. Thank you!"Scan your project
# Scan current directory for dependencies
give-thanks --scan
# Scan a specific project
give-thanks --scan ./my-projectThis reads package.json and requirements.txt/pyproject.toml, filters out packages you've already thanked, and presents an interactive checklist.
View your history
give-thanks --historyWhat it does
- Stars the repo (always)
- Posts a thank-you message in GitHub Discussions (preferred) or falls back to an issue
- Tracks your history locally at
~/.give-thanks/history.jsonto prevent duplicates
Authentication
give-thanks authenticates with GitHub in this order:
- GitHub CLI (
gh auth token) — if you haveghinstalled and logged in GITHUB_TOKENenv var — set this if you don't usegh
Supported ecosystems
| Ecosystem | Resolve by name | Scan dependencies |
|---|---|---|
| npm | Yes | package.json |
| PyPI | Yes | requirements.txt, pyproject.toml |
| GitHub | owner/repo | — |
More ecosystems can be added via the resolver/scanner plugin interface.
License
MIT
