FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
vipshek

vipshek

detectNewWebsiteContents

Public
Like
1
detectNewWebsiteContents
Home
Code
2
README.md
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 milliseconds.
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
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.