Public
Like
1
tangledRSS
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.
main.tsx
https://hrbrmstr--72d468fa20a211f09903569c3dd06744.web.val.run
This worker generates RSS feeds for Tangled.sh repositories associated with a Bluesky handle. It queries the AT Protocol to resolve handles, fetches repository metadata, and outputs a sorted feed.
Key Features
- Resolves Bluesky handles to decentralized identifiers (DIDs)
- Aggregates repositories from Tangled.sh instances
- Generates standards-compliant RSS 2.0 feeds with Atom extensions
- Handles XML escaping and proper content-type headers
Example request:
curl https://hrbrmstr-tangledrss.web.val.run/hrbrmstr.dev
Sample output includes:
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"> <channel> <title>hrbrmstr.dev's Tangled Repos</title> <link>https://tangled.sh/@hrbrmstr.dev</link> <description>Repositories for hrbrmstr.dev</description> <atom:link href="https://hrbrmstr-tangledrss.web.val.run/hrbrmstr.dev" rel="self" type="application/rss+xml"/> <item> <title>headrs</title> <description>Add Believable, Randomized Headers To {httr} and {httr2} Requests</description> <link>https://tangled.sh/@hrbrmstr.dev/headrs</link> <pubDate>Wed, 26 Mar 2025 09:09:08 GMT</pubDate> <guid isPermaLink="true">https://tangled.sh/@hrbrmstr.dev/headrs</guid> </item> …