• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
malcolmocean

malcolmocean

webhookbizhours

Public
Like
webhookbizhours
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
main.tsx
https://malcolmocean--85aa5b8e276311f086ff569c3dd06744.web.val.run
README.md

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.

HTTP
  • main.tsx
    malcolmocean--85…44.web.val.run
Code
README.md
H
main.tsx
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.