https://github.com/pashinov/translate-telegram-bot
Translate Telegram Bot written on Python 3 and deployed to AWS Lambda using Serverless framework
https://github.com/pashinov/translate-telegram-bot
aws-lambda serverless telegram-bot
Last synced: over 1 year ago
JSON representation
Translate Telegram Bot written on Python 3 and deployed to AWS Lambda using Serverless framework
- Host: GitHub
- URL: https://github.com/pashinov/translate-telegram-bot
- Owner: pashinov
- License: mit
- Created: 2018-05-12T15:49:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T08:13:44.000Z (about 8 years ago)
- Last Synced: 2025-01-29T03:26:24.250Z (over 1 year ago)
- Topics: aws-lambda, serverless, telegram-bot
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Translate Bot on Telegram][telegram-bot-badge]][telegram-bot-link]
[![MIT License][license-badge]][license-link]
[telegram-bot-badge]: https://img.shields.io/badge/Telegram-Bot-blue.svg
[telegram-bot-link]: https://t.me/PythonTranslateBot
[license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg
[license-link]: https://github.com/pashinov/translate-telegram-bot/blob/master/LICENSE
## Translate Telegram bot
### Intro
This is a Translate Telegram chatbot written in Python 3 and deployed to AWS Lambda using Serverless framework. This bot supports two languages: "EN" and "RU".
### Requirements
1. Python 3
2. Node.js v6.5.0 or later
3. AWS account with Admin rights
### Deploying
Install Serverless framework:
`npm install -g serverless`
Export credentials:
```
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export TELEGRAM_TOKEN=
```
Install pip requirements:
`pip install -r requirements.txt -t vendored`
Deploy to AWS:
`serverless deploy`
### Additional Information
You can find the tutorial of how to deploy Serverless Telegram bot on AWS Lambda [here](https://medium.com/@andriidvoiak/serverless-telegram-bot-on-aws-lambda-851204d4236c)