./install
Export credentials
export TELEGRAM_APITOKEN=<TOKEN>
Run locally
./serve
Run as container
docker compose up -d --force-recreate
The bot will repeat messages 3 times whose length is no greater than 10 and ends with "!"
If you want to use it in a group and receive all messages, don't forget to /setprivacy
at BotFather.
SQLite CLI Client
pip3 install litecli
litecli remote.db
Spin up a local server to view tables
datasette remote.db
Initialize metadata (ONLY done once)
datasette publish vercel remote.db \
--project=repeater-bot-sqlite \
--generate-vercel-json > vercel.json
Publish
# install prerequisites
npm i -g vercel
# deploy with config
./scripts/deploy-datasette.sh