ttgram
v2.0.1
Published
Integration with Twitter <-> Telegram
Downloads
18
Maintainers
Readme
TTgram
Integration with Twitter <-> Telegram
Installation
Clone repo :)
Get twitter token in https://apps.twitter.com/app
Get Telegram token in https://t.me/BotFather
Set environment variables
telegram_token = 'ABCD:0123456789'
admin_id = '0123456789'
cron_job = '60 * * * * *'
DEBUG = 'TTgram:bot, TTgram:error'
- Install dependencies
$ yarn install
- Run the TTgram
$ npm start
Send
/add
Set tokens
Done :)
Dependencies
- cron: Cron jobs for your node
- debug: small debugging utility
- env-cmd: Executes a command using the envs in the provided env file
- graceful-fs: A drop-in replacement for fs, making various improvements.
- jsonfile: Easily read/write JSON files.
- telegraf: 📡 Modern Telegram bot framework
- twitter: Twitter API client library for node.js
License
MIT