An open API service indexing awesome lists of open source software.

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

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)