Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
brycedornPublic archive

About

Using Cloudflare Workers to proxy dev.to posts and cache at edge

Topics

Resources

Stars

32 stars

Watchers

1 watching

Forks

Repository files navigation

Deploy RSS

A project built using Hono for Cloudflare Workers. Uses KV for edge caching and thumbhash to generate image placeholders.

Fork and deploy your own for free!

Development

Install dependencies:

npm install

Set up environment:

cp .env.example .env

Start via miniflare:

npm start

Updating cache

This project uses KV as a distributed store for article data and image placeholders.

To populate the cache, open the /update endpoint in your browser with the password set in environment passed via query parameter, e.g. /update?password=test.

Deploying your own blog

Fork this repository & set your dev.to username in consts.ts and a password in actions secrets.

Then generate an API token and set CF_API_TOKEN and CF_ACCOUNT_ID in actions secrets as well. The deploy action will automatically deploy via Wrangler.

About

Using Cloudflare Workers to proxy dev.to posts and cache at edge

Topics

Resources

Stars

32 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages