tgtr
v1.0.0
Published
https://github.com/yagop/node-telegram-bot-api https://github.com/34r7h/google-translate-api
Downloads
2
Readme
tgtr TELEGRAM TRANSLATOR (alpha, ru and en only atm)
https://github.com/yagop/node-telegram-bot-api https://github.com/34r7h/google-translate-api
The world is large and you've been missing out on many ideas! Run this telegram bot to translate without leaving the chat.
Set up instructions for heroku
- Use @botfather to create a bot, choose bot name, get key - assign key to process.env.tgkey a. extra credit, set up commands with botfather (/t, /help)
- set process.env.tgid to include any groups you DONT want to be auto-translated
- set process.env.admin to your tg user id
- set process.env.url to your Heroku app url. no trailing /
- invite the bot to a group or private conversation
- type /t and text in any language supported by google translate