njwangchuan / schoidbot

schoidbot is a twitter bot with rss feeds. 二次元Twitter新闻机器人

Home Page:https://twitter.com/GaariRSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

schoidbot

schoidbot is a twitter bot with rss feeds. 幻月があり

System requre

Node.js v10
Twitter developer account

Installation

$ npm install

then input gaari-rss.sql to your mysql database

Config

copy config.json.example to config.json, there are some params below:

param name description required
db mysql db true
feeds rss feeds list true
twitter Twitter API keys true
schedule Twitter bot schedule with cron false
feedparser feedparser for rss false
yourls yourls shorturl rest api false

each param has a .js file under config dir , which you can find and modify it's default value.

Run

run on front:

$ node index.js

or use pm2 tools:

$ npm install pm2 -g
$ pm2 start pm2.json

License

gaari-rss is licensed under the MIT license. (http://opensource.org/licenses/MIT)

About

schoidbot is a twitter bot with rss feeds. 二次元Twitter新闻机器人

https://twitter.com/GaariRSS

License:MIT License


Languages

Language:JavaScript 100.0%