Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 693 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 693 Bytes

Gitpod ready-to-code

Storage Bot

A bot who can backup files automatically.

How to host your own bot?

Install deps

npm install

Cloud Storage Credentials

Please see google cloud storage document.

Configuration

// .env
CHANNEL_SECRET=YOUR_CHANNEL_SECRET
CHANNEL_ACCESS_TOKEN=YOUR_CHANNEL_ACCESS_TOKEN
PORT=1234 
GOOGLE_APPLICATION_CREDENTIALS=google-credentials.json
GOOGLE_CREDENTIALS=RAW_JSON_CREDENTIALS

Run

npm run start

Webhook URL

https://your.base.url/callback