martimlobao/Regybox Auto Enroll
Enroll in a Regybox class and optionally send yourself an email confirmation.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- MIT
Pinned Snippet
uses: martimlobao/regybox@f961e7a9dda7dd4887a82c34f12e4651c396f2c0 # v2.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| class-time | Class start time (HH:MM). | yes | — |
| class-type | Name of the class to book. Use commas for ordered fallback names, for example WOD,Weekend WOD. | yes | — |
| class-date | Exact class date to book in YYYY-MM-DD format. Overrides class-date-offset-days when set. | no | — |
| class-date-offset-days | How many days from today the class should be booked. | no | 2 |
| operation | Operation to perform, either enroll or unenroll. | no | enroll |
| not-open-is-noop | Set to true to treat enrollment-not-open as a no-op instead of a failure. | no | true |
| cache-key | Optional Cloudflare KV cache key to update after a successful state change. | no | — |
| calendar-fingerprint | Optional stable calendar event fingerprint to store in Cloudflare KV. | no | — |
| cf-account-id | Cloudflare account ID used when cache-key is set. | no | — |
| cf-kv-namespace-id | Cloudflare KV namespace ID used when cache-key is set. | no | — |
| cf-kv-api-token | Cloudflare API token with KV edit permission used when cache-key is set. | no | — |
| phpsessid | Value of the PHPSESSID cookie from regybox.pt. | yes | — |
| regybox-user | Value of the regybox_user cookie from regybox.pt. | yes | — |
| calendar-url | Optional URL to an iCal calendar that blocks the slot when you already have a class planned. | no | — |
| calendar-event-name | Optional calendar event title to match. Defaults to CrossFit when omitted. | no | — |
| timeout-seconds | Maximum number of seconds to wait for enrollment to open. | no | 900 |
| send-email | Set to true to send a confirmation email when the job finishes. | no | true |
| email-to | Recipient email address for the confirmation email. Required when send-email is true. | no | — |
| email-from-name | Display name to use for the confirmation email. The sender address comes from email-username. | no | Regybox Auto-enroll |
| email-username | SMTP username used to send the confirmation email. | no | — |
| email-password | SMTP password or app password used to send the confirmation email. | no | — |
| email-server | SMTP server address. | no | smtp.gmail.com |
| email-port | SMTP server port. | no | 465 |
Outputs
no outputs