- Notifications
You must be signed in to change notification settings - Fork0
jottenlips/wodaboard
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
workout of the day
Checkout my full blog post ondocs.vestaboard.com
"Workout Of the Day" sent to a Vestaboard. This is an example of how you can use the Vestaboard developer API to send messages to your Vestaboard.
This Github Action workflow also posts the message toworkoutoftheday@mastodon.social.
Use the web app's API tab to create an installable for your Vestaboard.Once you have the subscription id, api key, and api secret, add them to your .env for running locallyor your GitHub action secrets for running with a GitHub workflow as a cron job. Be sure to keep your API keys secret and not commit them.
# .envVB_SUB_ID=yoursubscriptionidVB_SUB_KEY=yoursubscriptionapikeyVB_SUB_SECRET=yoursubscriptionapisecret# (optional to post to Mastodon)MASTODON_ACCESS_TOKEN=
# send a WOD to your Vestaboardbun installbun run index.ts
You can find more information on Vestaboard subscriptions athttps://docs.vestaboard.com. Happy hacking!
Issue with delay on GitHub actions during peak traffic times
GitHub cron jobs also expire after 60 days of repository inactivity.