https://github.com/bramus/chrome-for-developers-rss
Cloudflare Worker that generates RSS Feeds for developer.chrome.com
https://github.com/bramus/chrome-for-developers-rss
rss
Last synced: 10 months ago
JSON representation
Cloudflare Worker that generates RSS Feeds for developer.chrome.com
- Host: GitHub
- URL: https://github.com/bramus/chrome-for-developers-rss
- Owner: bramus
- License: mit
- Created: 2023-12-04T23:38:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T10:49:32.000Z (over 2 years ago)
- Last Synced: 2025-03-28T10:54:21.635Z (about 1 year ago)
- Topics: rss
- Language: JavaScript
- Homepage: https://chrome-for-developers-rss.bramus.workers.dev/blog
- Size: 23.4 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSS Feeds for developer.chrome.com (Cloudflare Worker)
This repo contains a Cloudflare Worker that generates RSS Feeds for the various types of Dynamic Content that [https://developer.chrome.com/](https://developer.chrome.com/) 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://chrome-for-developers-rss.bramus.workers.dev/blog~~ _(redirects to the official https://developer.chrome.com/blog/feed.xml)_
- Case Studies: https://chrome-for-developers-rss.bramus.workers.dev/case-studies
- All: https://chrome-for-developers-rss.bramus.workers.dev/all
Warning: the “all” feed is a very noisy one as it contains all changes to all pages – you’ll get an RSS entry for each and every change, no matter how big or small it was.
## Dev
- `npm i`
- `npm run dev`
- Now go visit http://localhost:8787/
## Deploy
- `npm run deploy`
- Now go visit https://chrome-for-developers-rss.bramus.workers.dev/
## Raw Data Feeds
### Blog
```bash
curl 'https://developer.chrome.com/_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
```
### Case Studies
```bash
curl 'https://developer.chrome.com/_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:case_study",null,null,null,null,10,null,null,null,1]' \
--compressed
```
### All
```bash
curl 'https://developer.chrome.com/_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, "tenant:chrome", null, null, null, null, 100, null, null, null, 2, 1]' \
--compressed
```
## License
This project is released under the MIT public license. See the enclosed `LICENSE` for details.