ttgram
Integration with Twitter <-> Telegram
Last updated 2 years ago by tiagodanin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ttgram 
SYNC missed versions from official npm registry.

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 = '60 * * * * *'
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

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

9 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |