0.0.1 • Published 1 year ago

awesomer v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

awesomer

Convert any awesome-list into JSON data.

Run

Requirements:

  • npm >= v5

You can configure the following options:

namedescriptiondefault
GITHUB_API_KEYThe API key obtained by Github (required)""
LIST_URLThe URL of the awesome list (should return text) (required)""
DESTThe filename for the static JSON filedata.json
IMAGE_DESTThe folder where you want to save the screenshotsfalse (don't save the screenshots)

Either passing them as command-line arguments or exporting them as environment variables or even write them to a config.json file like the following one:

{
  "GITHUB_API_KEY": "asnd29n30r2fmnoGREG%§gr3094wfenoi3",
  "LIST_URL": "https://raw.githubusercontent.com/wbkd/awesome-d3/master/README.md",
  "DEST": "static/data/projects.json",
  "IMAGE_DEST": "static/images/"
}

Then you can run:

npx github:wbkd/awesomer