Update README.md

This commit is contained in:
Dmitri Sotnikov 2020-12-29 17:00:42 -05:00 committed by GitHub
parent 72a56ec033
commit 47bb3feabf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ the bot will post the timeline from the specified Twitter/Tumblr accounts and RS
1. prerequisits: should be installed: [Node.js](https://nodejs.org/en/), npm 1. prerequisits: should be installed: [Node.js](https://nodejs.org/en/), npm
2. install mastodon-bot with: `sudo npm install mastodon-bot -g` 2. install mastodon-bot with: `sudo npm install mastodon-bot -g`
3. run with: `mastodon-bot -h` 3. run with: `mastodon-bot <path to config>`
### usage ### usage
@ -103,8 +103,8 @@ with later timestamps to avoid duplicate posts. On the first run the timestamp w
* transformations have source `(s/def ::source-type #{:twitter :rss :tumblr})` und target `(s/def ::target-type #{:mastodon})` you can combine freely. Multiple transformations for same source-target combination are possible. Source and targets refer to the auth section for their credentials. * transformations have source `(s/def ::source-type #{:twitter :rss :tumblr})` und target `(s/def ::target-type #{:mastodon})` you can combine freely. Multiple transformations for same source-target combination are possible. Source and targets refer to the auth section for their credentials.
* install NPM modules: `npm install`
* compile: `npx shadow-cljs release app` * compile: `npx shadow-cljs release app`
* run the bot: `npm start` * run the bot: `npm start`
* to poll at intervals setup a cron job such as: * to poll at intervals setup a cron job such as: