Remix.run Logo
agentifysh 20 hours ago

if only i could run django on cloudflare workers

guess i could run it on a dedicated server

would be nice if we can get django and liveview working without a server

evilmonkey19 18 hours ago | parent | next [-]

I wish we could host Django apps with the tasks and everything on Cloudflare workers. Also it would be nice to have a DB like SQLite within Cloudflare.

yoavm 17 hours ago | parent | next [-]

Cloudflare D1 is SQLite within Cloudflare.

BiteCode_dev 16 hours ago | parent | prev [-]

Why, because it's free?

fulafel 15 hours ago | parent | prev | next [-]

They just announced many improvements to Python workers earlier this month: https://blog.cloudflare.com/python-workers-advancements/

https://github.com/G4brym/django-cf has a template (among other things) to get started

Another option is the containers stuff mentioned in sibling comment but it's not so FaaS.

isodev 17 hours ago | parent | prev | next [-]

Bunny has very solid edge runtime if you manage to squeeze it into wasm or “magic containers” so it’s just a pod

https://bunny.net/cdn-lp

slig 16 hours ago | parent | prev | next [-]

Should be possible with this, no?

https://developers.cloudflare.com/containers/

_boffin_ 12 hours ago | parent | prev | next [-]

We ran Django on AWS Lambas years ago. Wasn’t fun and caused headaches, but worked

leobuskin 19 hours ago | parent | prev [-]

you can do it on wasmer's workers, their last wasm/python approach is pretty solid (compatibility, performance). it's sad to say, but after 4 years of "beta" Python support on CF workers - it's still ugly. I dunno who was responsible for such a neglect, but even with the last changes - total fiasco

gscho 16 hours ago | parent [-]

Why is it “ugly”?