soruly / plurk-hitokoto

Post quotes from hitokoto (一言) to plurk (噗浪)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plurk-hitokoto

License GitHub Workflow Status

Post quotes from hitokoto (一言) to plurk (噗浪)

Usage

  1. Checkout this repository
  2. npm install
  3. Create an application in https://www.plurk.com/PlurkApp/ and obtain App key and App secret
  4. Copy .env.example to .env, enter the App key and App secret you have just obtained
  5. node index.js
  6. Open the authorization url as prompted and enter the 6 digit code
  7. node index.js again

You can setup a cron job to schedule posts

Caveat

This uses OpenCC to convert Simplified Chinese to Traditional Chinese, which requires g++

About

Post quotes from hitokoto (一言) to plurk (噗浪)

License:MIT License


Languages

Language:JavaScript 100.0%