Cloudflare Worker that scrapes TP-Link Omada controller release changelogs and publishes machine-readable output to R2.
The scheduled Worker writes these files to the configured BUCKET binding:
| File | Description |
|---|---|
controller.json |
Parsed Omada controller release metadata and changelog content. |
controller.atom |
Atom feed for Omada controller releases. |
index.html |
Simple generated index of published files. |
The Atom feed is generated with a self link for
https://omada-scraper.foldaway.space/controller.atom.
| Source | Implementation |
|---|---|
| TP-Link Omada controller release thread | src/sources/controller/index.ts |
| Atom feed generation | src/sources/controller/feed.ts |
| Scheduled Worker entrypoint | src/index.ts |
Install dependencies:
npm installStart the local Cloudflare/Vite development server:
npm run devTrigger the scheduled handler from another terminal:
npm run dev:scheduled-triggerRun the test suite:
npx vitest runBuild the Worker:
npm run buildRegenerate Cloudflare environment types after changing wrangler.jsonc:
npm run cf-typegenwrangler.jsonc defines:
| Binding | Type | Purpose |
|---|---|---|
BROWSER |
Browser Rendering | Launches Chromium for scraping TP-Link forum pages. |
BUCKET |
R2 bucket | Stores generated JSON, Atom, and HTML output. |