Savvy is a Telegram bot that posts tomorrow's energy prices to Telegram and Bluesky. If, like me, you have a dynamic energy contract ("dynamisch energiecontract") at ANWB Energie, Savvy could help you save both time and money.
You can find the bot on Bluesky and Telegram (though the channel might be more interesting).
You most likely won't need to run the bot yourself. However, if you want to run your own instance for some reason, here's roughly how to do it:
-
Create an
.envfile:# https://t.me/botfather TG_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 # https://bsky.app/settings/app-passwords BS_PASSWORD=1234-abcd-5678-efgh # https://cronitor.io/app, optional CR_URL=https://cronitor.link/p/your-monitor-id-here
-
Pull in the secrets:
kubectl create secret generic savvy-secrets --from-env-file=.env -n savvy
-
Create Kubernetes resources:
kubectl apply -f https://raw.githubusercontent.com/heyajulia/savvy/main/deploy/savvy.yml
TODO: Add how to upgrade Savvy, how to update public and private environment variables, and how to run the CronJob
manually.
If you have any suggestions or improvements, feel free to open an issue or a pull request. I'd be happy to hear from you!