RSSHub/lib
DIYgod 7b96e82f1c
feat(worker): implement KV-based caching for Cloudflare Workers (#20806)
- Add Cloudflare Workers KV cache implementation with TTL support
- Create xxhash-wasm shim using Web Crypto API to replace incompatible WebAssembly
- Unify cache middleware to use single cache.ts via tsdown-worker.config.ts alias
- Update dependencies: wrangler, @cloudflare/puppeteer, @cloudflare/workers-types
- Configure automatic KV namespace provisioning without manual ID configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-04 11:29:33 +08:00
..
api feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
assets feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
errors feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
middleware feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
routes feat(route): add Always Control news route (#20522) 2026-01-04 09:21:38 +08:00
routes-deprecated style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798) 2026-01-02 09:42:24 +08:00
shims feat(worker): implement KV-based caching for Cloudflare Workers (#20806) 2026-01-04 11:29:33 +08:00
utils feat(worker): implement KV-based caching for Cloudflare Workers (#20806) 2026-01-04 11:29:33 +08:00
views fix: add summary field in JSON output format (#20778) 2025-12-30 21:57:51 +08:00
app-bootstrap.test.tsx feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
app-bootstrap.tsx style: auto format 2025-11-27 02:55:46 +00:00
app.test.ts style: auto format 2025-11-27 02:55:46 +00:00
app.ts
app.worker.tsx feat(worker): implement KV-based caching for Cloudflare Workers (#20806) 2026-01-04 11:29:33 +08:00
config.remote-error.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
config.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
config.ts style: auto format 2025-11-27 02:55:46 +00:00
entrypoints.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
index.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
index.ts style: auto format 2025-11-27 02:55:46 +00:00
pkg.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
pkg.ts style: auto format 2025-11-27 05:54:33 +00:00
registry.dynamic.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
registry.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
registry.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
route-paths.d.ts
router.js
routes.test.ts style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798) 2026-01-02 09:42:24 +08:00
server.ts
setup.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
types.ts style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798) 2026-01-02 09:42:24 +08:00
worker.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
worker.worker.test.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00