Skip to content

TSedlar/github-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Scrapes the repositories you work on and stores info in a json file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published