FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
dvsj
dvsjisMyWebsiteDown
Remix of healeycodes/isMyWebsiteDown
Public
Like
isMyWebsiteDown
Home
Code
2
README.md
S
main.tsx
Branches
1
Pull requests
Remixes
1
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 miliseconds.
Sign up now
Code
/
Code
/
Search
README.md

Pass a URL to ping a website and see if response is a 200. If it isn't, you get an email with the error response received.

Tip: Make a new, separate cron val to call this isMyWebsiteDown() periodically to check the website's health every 15 minutes or so.
Your separate cron val's code will look something like this:

//Import this val import isMyWebsiteDown from "https://esm.town/v/dvsj/isMyWebsiteDown"; //Add all the websites you want to check isMyWebsiteDown(`https://dvsj.in`); isMyWebsiteDown(`https://blog.dvsj.in`); export default {};
Code
README.md
S
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.