Spins your avatar like a clock
https://bsky.app/settings/app-passwords
Disclaimer: I set this up locally half a year ago and forgot all the steps, so the steps below may be wrong.
- Set up a virtualenv and activate it
pip install -r requirements.txt
- Get an app password from https://bsky.app/settings/app-passwords
- Add
BSKY_USERNAME
,BSKY_PASSWORD
, andAVATAR_URL
to your enviromental variables, or ride the lightning and hardcode it in - Uncomment the
# run
line at the bottom - Call with
python spinner.py
- Ask an LLM "write a script to call
python spinner.py
every two minutes", and then never turn your computer off
Only do this if you're at least a little bit comfortable with AWS.
- Do steps 1-3 of "To run Locally"
zappa init
zappa package dev
- Create a lambda and "upload from zip file"
- Set the environmental variables in the configuration tab, under
environmental variables
- In
configuration > trigger
, click "add trigger", select "eventbridge (cloudwatch events)". - Set the "schedule expression" as
rate(2 minutes)
.
¯\_(ツ)_/¯