- Mastodon: @[email protected]
- Twitter: @MYVaccineCount
- 🚀 Node.js
- 🚀 Firebase Cloud Functions, Firebase Realtime Database
- 🚀 Mastodon + Twitter API (Send Tweet, Update Profile Image, Update Header Image)
- 🚀 Canvas (Generate Vaccination Progress Profile Image)
- 🚀 Chart.js (Generate Vaccination Rate Chart)
- 🚀 Telegram Bot Platform (Send success/error message to Telegram)
$ cd functions
# install dependencies
$ npm install
# serve cloud functions locally
$ npm run serve
- Setup Telegram Bot: https://core.telegram.org/bots
- Setup Twitter API: https://developer.twitter.com/en/docs
- Setup Mastodon API: https://docs.joinmastodon.org/client/intro
- Setup environment config: Use
firebase functions:config:set
to set the environment configuration. See .runtimeconfig.sample.json for all the required environment configs.
The project is published under the MIT license.