As developers and other screen-based humans, we tend to forget that our bodies aren't made to sit in a chair and look at a screen for 8-14 hours a day. We built a slack bot at arus.io to remind us to take 5 mins a few times a day and stretch it out!!
git clone ...
cd into the repo
npm i
await Axios.post(`SLACK-WEBHOOK-URL`,);
(how often you want it to run)
functions:
processYoga:
handler: src/handlers/processYoga.handler
events:
- schedule: rate(1 hour)
sls deploy -v
can run local for debugging if needed
sls invoke -f processYoga -l
.....and there ya go!! Hopefully this tool is useful for you to remember to stretch it out! ❤️
- spin up a Rest API with different yoga moves, and pull random ones daily
- add slack blocks support that supports linking to media content
- add slack blocks support for Spotify API zen-like music tracks