- 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.