Hosting a twitter posting bot on Google's Apps Script environment while using Google Sheets as your data store.
$ npm i
$ npm build;
fuelPrice.js
in the dist
folder. Now just create a new GAppsScript project using clasp or pull something already existing.dist
folder (don't commit them)$ npm push
The twitter module exposes a simple class, you need to have secrets.ts
populated before you can build that module. An example file has been provided, just
fill those values and do not commit them. The usage is simple:
const twitter = new Twitter();
twitter.tweet(`msg`);
This module can be separately used to post tweets using Google Apps Scripts.
MIT