DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
31.26k stars 6.97k forks source link

Deploy to Cloudflare Workers #14901

Open DIYgod opened 4 months ago

DIYgod commented 4 months ago

What feature is it?

Our basic framework supports deployment to Cloudflare Workers: https://hono.dev/getting-started/cloudflare-workers

However, the got used by RSSHub has incompatible dependencies, so we need to remove the got dependency before supporting deployment.

I have created a new branch here: https://github.com/DIYgod/RSSHub/tree/feature/cloudflare-workers

What problem does this feature solve?

More flexible deployment methods

Additional description

No response

This is not a duplicated feature request or new RSS proposal

DIYgod commented 4 months ago

Related issues:

TonyRL commented 3 months ago

Considering all the dependencies bundled, I think that the size of the output will be well exceed the paid limit.

https://developers.cloudflare.com/workers/platform/limits/

Feature Workers Free Workers Paid
Worker size 1 MB 10 MB