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.
An unofficial RSS feed for the HoneyLabs blog — field notes from running honeypot sensors at scale — which doesn't provide one natively.
Subscribe to the feed in your RSS reader:
https://hrbrmstr--019e7d68e38e747786809794f66af76f.web.val.run/feed
Rendering mermaid diagram...
| File | Type | Purpose |
|---|---|---|
feed.ts | HTTP | Serves the RSS feed at /feed and a landing page at / |
cron.ts | Interval | Runs daily to scrape and store new blog entries |
scraper.ts | Script | Fetches and parses blog entries from honeylabs.net/blog |
rss.ts | Script | Generates RSS 2.0 XML from stored entries |
main.ts | Script | One-time database schema initialization |
/— Landing page with feed URL and links/feedor/rss— RSS 2.0 XML feed/source— Redirect to this val's source code
The HoneyLabs blog is a custom SSR site. Each post listing is a block-level
<a href="/blog/slug"> containing a date element, a title heading, and a
description paragraph. The scraper uses Cheerio to:
- Find all anchors matching
/blog/<slug> - Extract the date (prefers
<time>, falls back to text matchingYYYY-MM-DD) - Extract the title (prefers
<h*>or<strong>, falls back to subtracting date + description from the anchor text) - Extract the description (longest
<p>inside the anchor) - Upsert into SQLite keyed by slug