Skip to content
/ wodaboard Public template

πŸ‹οΈ Workout of the Day GitHub Action + Vestaboard ⬛️πŸŸ₯🟧🟨🟩🟦πŸŸͺ⬜️

Notifications You must be signed in to change notification settings

jottenlips/wodaboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’ͺ WODaboard πŸ‹οΈ

Checkout my full blog post on docs.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 to workoutoftheday@mastodon.social.

⚠️ Disclaimer: These workouts are random and vary in intensity. I am not a personal trainer, so seek professional advice before following my dummy data.

Vestaboard

Create your own Vestaboard Installable/Subscription

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 locally or 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.

# .env
VB_SUB_ID=yoursubscriptionid
VB_SUB_KEY=yoursubscriptionapikey
VB_SUB_SECRET=yoursubscriptionapisecret

# (optional to post to Mastodon)
MASTODON_ACCESS_TOKEN=
# send a WOD to your Vestaboard
bun install
bun run index.ts

You can find more information on Vestaboard subscriptions at https://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.

About

πŸ‹οΈ Workout of the Day GitHub Action + Vestaboard ⬛️πŸŸ₯🟧🟨🟩🟦πŸŸͺ⬜️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published