Skip to content
Fetch Your Tumblr Score(Reblog, like) via Tumblr API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
public
.gitignore
README.md
main.js
package-lock.json
package.json

README.md

Fetch Tumblr Posts score

Netlify Status

install packages.

$ npm install

run with config JSON (during development)

create config/dev.json

{
    "Blog": {
        "identifier": "your.tumblr.identifier",
        "apiKey": "yourapikey"
    }
}

run

$ npm start

run (Windows)

> npm windows

run with environment value (in production)

$ export BLOG_IDENTIFIER=your.tumblr.identifier
$ export BLOG_API_KEY=yourapikey

$ npm run env

output

Result file(JSON) will be created.

  • public/tumblr-score.json
  • public/summary.txt

Output image(JSON)

[
  {
    "url": "'https://reblog.kondoumh.com/post/173599194007'",
    "date": "'2018-05-05 06:22:13 GMT'",
    "type": "'quote'",
    "slug": "'私は財務面のことはよく知らないのですがゲームアンドウォッチの発売前任天堂は70億とも80億'",
    "count": "'36'"
  },
  {
    "url": "'https://reblog.kondoumh.com/post/173564859897'",
    "date": "'2018-05-04 03:13:22 GMT'",
    "type": "'quote'",
    "slug": "'自然現象はなぜ数学で説明できるのか-質問'",
    "count": "'194'"
  },
  {
    "url": "'https://reblog.kondoumh.com/post/173539445457'",
    "date": "'2018-05-03 07:49:24 GMT'",
    "type": "'quote'",
    "slug": "'車いすの天才科学者として知られた英物理学者スティーブンホーキング博士が3月に死去する前に書き上'",
    "count": "'2'"
  }

'count' attribute is the sum of reblog and liked.

You can’t perform that action at this time.