Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/louis70109/aws-line-echo-bot
☁This project is using Serverless + python + LINE message api to create a echo bot on AWS.
https://github.com/louis70109/aws-line-echo-bot
aws python serverless
Last synced: about 1 month ago
JSON representation
☁This project is using Serverless + python + LINE message api to create a echo bot on AWS.
- Host: GitHub
- URL: https://github.com/louis70109/aws-line-echo-bot
- Owner: louis70109
- License: mit
- Created: 2019-06-28T05:20:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T08:08:11.000Z (about 2 years ago)
- Last Synced: 2023-03-04T11:40:01.024Z (over 1 year ago)
- Topics: aws, python, serverless
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 15
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-LINE-echo-bot
This is my first project using Serverless framework to create LINE echo bot in AWS.
Release this project to help first time use this framework's developer!
# Bebore you start
1. LINE developer account
2. [LINE Message API](https://developers.line.biz/en/docs/messaging-api/getting-started/)# Quick Start
1. Install serverless via npm
```bash=
$ npm install -g serverless
```2. Setup your **AWS** ceritficate
```bash=
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
```3. Clone this project
```bash=
$ serverless install --url https://github.com/louis70109/aws-line-echo-bot -n
$ cd /
```4. Insert you LINE bot secret & key
```python=
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN')
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
```5. Deploy the webhhok function
```bash=
npm install
pip install -r requirements.txt
serverless deploy
```Now you can test you chatbot, have fun!
![Echo bot](https://i.imgur.com/Tn1XS13.png)# Author
Create by NiJia
# Bonus
This project is combined in [serverless example project](https://github.com/serverless/examples/tree/master/aws-python-line-echo-bot)
# License
MIT