π¨βπ« Awais taught and created this CLI project in his NodeCLI.com automation course
- π¦ Add a contribution of any type
- ποΈ Remove a contribution in case of a mistake
- π€― Autocomplete search with type and filter function
- π€― Adding YouTube?
gscCLI can fetch title, date, and description for you - π¨βπ« Awais taught and created this CLI project in his NodeCLI.com automation course
# Recommended.
npx github-stars-contributions
# OR an alternative global install.
npm install -g github-stars-contributions
gsc # run global aliasThe CLI supports both interactive (default) and non-interactive modes for automation.
Run gsc add and answer the prompts:
gsc add
# OR
gsc aYou'll be asked:
- Contribution Type
- URL (optional)
- Title
- Description
- Date
Perfect for CI/CD pipelines and scripts:
gsc add \
-t BLOGPOST \
-T "My Blog Post" \
-D "Description here" \
-d 2025-11-22 \
-u https://example.com \
-xSearch and select contributions to remove:
gsc remove
# OR
gsc rSearch for the contribution, select it, and press enter to remove. Easy peasy!
Remove by contribution ID:
gsc remove -i <contribution-id> -xgithub-stars-contributions <command> [options]
# OR
gsc <command> [options]| Option | Description |
|---|---|
-v, --version |
Output the version number |
-h, --help |
Display help for command |
| Command | Alias | Description |
|---|---|---|
add [options] |
a |
Add a new contribution (interactive by default) |
remove [options] |
r |
Remove a contribution (interactive by default) |
help [command] |
- | Display help for command |
Add a new contribution to your GitHub Stars profile.
Usage:
gsc add [options]
gsc a [options]Options:
| Option | Description | Required |
|---|---|---|
-t, --type <type> |
Contribution type (see types below) | Yes (non-interactive) |
-T, --title <title> |
Contribution title | Yes (non-interactive) |
-D, --description <description> |
Contribution description | Yes (non-interactive) |
-d, --date <date> |
Date in YYYY-MM-DD format (default: today) | Yes (non-interactive) |
-u, --url <url> |
Contribution URL | No |
-x, --no-interactive |
Disable interactive mode | No |
-h, --help |
Display help | No |
Contribution Types:
OTHERFORUMSPEAKINGBLOGPOSTHACKATHONVIDEO_PODCASTARTICLE_PUBLICATIONEVENT_ORGANIZATIONOPEN_SOURCE_PROJECT
Examples:
# Interactive mode (default)
gsc add
# Non-interactive mode with all options
gsc add \
-t BLOGPOST \
-T "My Blog Post" \
-D "Description here" \
-d 2025-11-22 \
-u https://example.com \
-x
# Non-interactive without URL
gsc add -t SPEAKING -T "Conference Talk" -D "Talked about Node.js" -d 2025-11-20 -xRemove a contribution from your GitHub Stars profile.
Usage:
gsc remove [options]
gsc r [options]Options:
| Option | Description | Required |
|---|---|---|
-i, --id <id> |
Contribution ID to remove | Yes (non-interactive) |
-x, --no-interactive |
Disable interactive mode | No |
-h, --help |
Display help | No |
Examples:
# Interactive mode (default) - search and select
gsc remove
# Non-interactive mode with ID
gsc remove -i abc123 -xβ― Read the changelog here β
KEY: π¦ NEW, π IMPROVE, π FIX, π DOC, π RELEASE, and π€ TEST
I use Emoji-log, you should try it and simplify your git commits.
- Thanks to the GitHub team for an awesome GraphQL API.
- MIT Β© Ahmad Awais.
- Code of Conduct.







