Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 480 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 480 Bytes

Karma Bot

A Karma LINE bot example

How to use

Install deps

npm install

Also, FFmpeg and ImageMagick should be installed to test image and video echoing.

Configuration

export CHANNEL_SECRET=YOUR_CHANNEL_SECRET
export CHANNEL_ACCESS_TOKEN=YOUR_CHANNEL_ACCESS_TOKEN
export BASE_URL=https://your.base.url # for static file serving
export PORT=1234

Run

node .

Webhook URL

https://your.base.url/callback