Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jottenlips/wodaboard
🏋️ Workout of the Day GitHub Action + Vestaboard ⬛️🟥🟧🟨🟩🟦🟪⬜️
https://github.com/jottenlips/wodaboard
bun bunjs calisthenics climbing github github-actions iot javascript typescript vestaboard wod workout
Last synced: 2 months ago
JSON representation
🏋️ Workout of the Day GitHub Action + Vestaboard ⬛️🟥🟧🟨🟩🟦🟪⬜️
- Host: GitHub
- URL: https://github.com/jottenlips/wodaboard
- Owner: jottenlips
- Created: 2023-09-14T19:06:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-30T22:23:59.000Z (3 months ago)
- Last Synced: 2024-10-01T03:42:26.596Z (3 months ago)
- Topics: bun, bunjs, calisthenics, climbing, github, github-actions, iot, javascript, typescript, vestaboard, wod, workout
- Language: TypeScript
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💪 WODaboard 🏋️
Checkout my full blog post on [docs.vestaboard.com](https://docs.vestaboard.com/blog/vestaboard-github-actions)
----------
"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 [[email protected]](https://mastodon.social/@workoutoftheday).
⚠️ 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](IMG_5189.jpg)
# 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](https://github.com/orgs/community/discussions/52477)
GitHub cron jobs also expire after 60 days of repository inactivity.