Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fedebertolini/gh-star
NodeJS app that stars the GitHub repos referenced in a package.json file
https://github.com/fedebertolini/gh-star
github-api github-stars npm-package npmjs star
Last synced: about 1 month ago
JSON representation
NodeJS app that stars the GitHub repos referenced in a package.json file
- Host: GitHub
- URL: https://github.com/fedebertolini/gh-star
- Owner: fedebertolini
- License: mit
- Created: 2017-01-28T07:56:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T15:25:47.000Z (over 1 year ago)
- Last Synced: 2024-09-28T15:21:07.967Z (about 2 months ago)
- Topics: github-api, github-stars, npm-package, npmjs, star
- Language: JavaScript
- Size: 310 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :star: gh-star :star:
Share the love with the developers of your favorite GitHub repos!
Execute this global node module in your root project folder to
add a star to the GitHub repositories in your `package.json`'s
dependencies.## Installation
```
npm install gh-star -g
```## Usage
Since **gh-star** impersonates you for starring repositories, you
need to provide a [Github Personal Access Token](https://github.com/settings/tokens).
You can [get an access token by following this instructions](https://help.github.com/articles/creating-an-access-token-for-command-line-use/).
The only required scope for the access token is `public_repo`.In your project folder where the `package.json` file is located run
```
gh-star
```You will be prompted for you personal access token. Then **gh-star**
will parse the `package.json` file, search each dependency in the
[npm-registry](https://registry.npmjs.org/) and get their GitHub url
(if any). The last step is to select which repositories you would like
to star :tada:.