Skip to content
This project is using Serverless + python + Line message api to create a echo bot on AWS.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
MIT-LICENSE
README.md
handler.py
package-lock.json
package.json
requirements.txt
serverless.yml
setup.cfg

README.md

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

Quick Start

  1. Install serverless via npm
$ npm install -g serverless
  1. Setup your AWS ceritficate
export AWS_ACCESS_KEY_ID=<your-key-here>
export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
  1. Clone this project
$ serverless install --url https://github.com/louis70109/aws-line-echo-bot -n <YOUR_FILE_NAME>
$ cd <YOUR_FILE_NAME>/
  1. Insert you line bot secret & key
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN')
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
  1. Deploy the webhhok function
npm install
pip install -r requirements.txt
serverless deploy

Now you can test you chatbot, have fun! Echo bot

Author

Create by NiJia

Bonus

This project is combine in serverless example project

License

The project is available as open source under the terms of the MIT License.

You can’t perform that action at this time.