webhookbizhours
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Got a webhook that turns on lights that shouldn't be turned on at certain times of day?
Send a webhook to https://malcolmocean-webhookbizhours.web.val.run?forwardUrl=URL_GOES_HERE and it will be forwarded to that url only if it's between the hours of 7am and 7pm pacific. You can customize those hours with eg &startHour=9 and &endHour=16 (which would be 9am to 5pm — would stop firing at 4:59pm).
I didn't want to mess with timezones so if you want something not in pacific time or to have multiple blocks of availability, you'll need to fork!
Also I may change the default hours (7am-7pm) so don't rely on them.