github-scraper
Scrapes the repositories you work on and stores info in a json file
Code Style
This library adheres to the StandardJS code style.
Config file
{
"user": "...",
"token": "...",
"user_agent": "...",
"wanted_keys": [
"name", "description", "updated_at", "html_url", "language",
"stargazers_count", "forks_count", "contributor_count"
],
"target_file": "./target.json"
}
Usage
node ./lib/index.js {user} {token} {user-agent} {json-file-to-write}
or
node ./lib/index.js {json-config}
This can be used via a crontab or forever/pm2.