Build uses:
- Clone this repo
- Run
npm i
- Add
app.js
to the cron job
Telegram:
- Update
telegram_bot_options
object inapp.js
withtoken
andchat_id
from Telegram
Twitter:
- Update
twitter_bot_options
object inapp.js
with 4 access keys using Dev Dashboard values
How to configure a telegram channel for updates:
- Create a new bot using @BotFather, store
token
in the app - Create a channel and add this bot as administrator with access to messages
- Forward any message wrote on behalf of the channel to @getidsbot and find
Origin chat
/id
field. Negative long integer is yourchat_id
, store it in the app
How to add a cron job:
Add a cron task to check updates every minute.
*/1 * * * * root /usr/local/bin/node /path/to/your/application/app.js