FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
vipshek
vipshekdetectNewWebsiteContents
Public
Like
1
detectNewWebsiteContents
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
1
History
Environment variables
Settings
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

Detect New Website Contents

This val fetches a given publicly-accessible URL and detects whether its contents have changed. If they have, it sends an email to notify about the change.

Changes are detected by computing a quick hash of the website's contents, storing the hash, and comparing against the previously stored hash on each request. Trivial changes to the website's contents will count as a change, which may not be desired for some use cases.

Usage

  1. Fork this val and update the URL to point to your website.
  2. Optionally, update the storage key or email subject.
  3. Set a schedule for how often you want to detect changes (default 1h).
  4. Receive updates when the given website changes.
Code
README.mdmain.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.