Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bramus/web-dev-rss
Cloudflare Worker that generates RSS Feeds for web.dev
https://github.com/bramus/web-dev-rss
rss
Last synced: about 2 months ago
JSON representation
Cloudflare Worker that generates RSS Feeds for web.dev
- Host: GitHub
- URL: https://github.com/bramus/web-dev-rss
- Owner: bramus
- License: mit
- Created: 2023-10-16T14:37:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T10:45:53.000Z (about 1 year ago)
- Last Synced: 2024-05-01T23:16:10.776Z (8 months ago)
- Topics: rss
- Language: JavaScript
- Homepage: https://web-dev-rss.bramus.workers.dev/blog
- Size: 26.4 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSS Feeds for web.dev (Cloudflare Worker)
This repo contains a Cloudflare Worker that generates RSS Feeds for the various types of Dynamic Content that [https://web.dev/](https://web.dev/) has. The worker parses the [raw data](#raw-data-feeds) and transforms them to [RSS 2.0](https://www.rssboard.org/rss-specification).
## Live Endpoints
- Blog: ~~https://web-dev-rss.bramus.workers.dev/blog~~ _(redirects to the official https://web.dev/blog/feed.xml)_
- Articles: ~~https://web-dev-rss.bramus.workers.dev/articles~~ _(redirects to the official https://web.dev/articles/feed.xml)_
- Case Studies: https://web-dev-rss.bramus.workers.dev/case-studies## Dev
- `npm i`
- `npm run dev`
- Now go visit http://localhost:8787/## Deploy
- `npm run deploy`
- Now go visit https://web-dev-rss.bramus.workers.dev/## Raw Data Feeds
### Blog
```bash
curl 'https://web.dev/_d/dynamic_content' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9,nl;q=0.8,fr;q=0.7' \
-H 'content-type: text/plain;charset=UTF-8' \
--data-raw '[null,null,null,"type:blog",null,null,null,null,10,null,null,null,2]' \
--compressed
```### Articles
```bash
curl 'https://web.dev/_d/dynamic_content' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9,nl;q=0.8,fr;q=0.7' \
-H 'content-type: text/plain;charset=UTF-8' \
--data-raw '[null,null,null,"family_url:/articles",null,null,null,null,10,null,null,null,2]' \
--compressed
```### Case Studies
```bash
curl 'https://web.dev/_d/dynamic_content' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9,nl;q=0.8,fr;q=0.7' \
-H 'content-type: text/plain;charset=UTF-8' \
--data-raw '[null,null,null,"keyword:casestudy",null,null,null,null,10,null,null,null,2]' \
--compressed
```## License
This project is released under the MIT public license. See the enclosed `LICENSE` for details.