Sitelet https://github.com/NigelJu/blood
Skip to content
NigelJuPublic
forked from g0v/blood

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

72 Commits

Folders and files

Repository files navigation

blood

A cron job for fetching data from blood.org.tw, convert to JSON file and send to gh-pages.

Generated JSON file

JSON file is generated every hour and upload to here: http://g0v.github.io/blood/blood.json

Run on local machine

Goto Github Settings -> Personal access tokens to create a new token.

export GH_TOKEN & GH_REF to your environment variables

export GH_TOKEN=<YOUR_GITHUB_TOKEN>
export GH_REF=github.com/g0v/blood.git

Install dependencies:

npm install

and execute main.js to fetch data blood.org.tw, convert to json and send to gh-pages.

node main.js

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages