Skip to content

TiagoDanin/TTgram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTgram

NPM

Integration with Twitter <-> Telegram

Installation

  1. Clone repo :)

  2. Get twitter token in https://apps.twitter.com/app

  3. Get Telegram token in https://t.me/BotFather

  4. Set environment variables

telegram_token = 'ABCD:0123456789'
admin_id = '0123456789'
cron_job = '50 * * * * *'
DEBUG = 'TTgram:bot, TTgram:error'
  1. Install dependencies
$ yarn install
  1. Run the TTgram
$ npm start
  1. Send /add

  2. Set tokens

  3. 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

About

Integration with Twitter <-> Telegram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •