-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from line/examples
Add kitchensink example
- Loading branch information
Showing
19 changed files
with
1,290 additions
and
147 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/downloaded/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Kitchen Sink Bot | ||
|
||
A kitchen-sink LINE bot example | ||
|
||
## How to use | ||
|
||
### Install deps | ||
|
||
``` shell | ||
npm install | ||
``` | ||
|
||
Also, FFmpeg and ImageMagick should be installed to test image and video | ||
echoing. | ||
|
||
### Configuration | ||
|
||
``` shell | ||
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 | ||
|
||
``` shell | ||
node . | ||
``` |
Oops, something went wrong.