Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

otoyo/linebot-gcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linebot-gcf

A serverless LINE Bot sample working on Google Cloud Functions(GCF).

Introduction(Japanese): http://alpacat.hatenablog.com/entry/linebot-gcf

Preparation

Preparation before deploy.

Deploy

Put config/default.json as follows:

{ "line": { "channelAccessToken": "xxxx", "channelSecret": "xxxx" }, "user": { "husband": { "lineUserId": "xxxx" }, "wife": { "lineUserId": "xxxx" } }, "todoist": { "apiToken": "xxxx", "projectId": { "shopping": xxxx } } }

Deploy to GCF.

$ gcloud beta functions deploy webhook --trigger-http --source .

About

A serverless LINE Bot sample working on Google Cloud Functions(GCF).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors