Remix.run Logo
indigodaddy 2 hours ago

Would the app have outbound network access to do some Python scheduling stuff that involves pulling from another endpoint?

Eg something like this flask-based app? (Yes the code is shit, I’m just a sysadmin learning Python with some AI support at that time).

https://github.com/jgbrwn/my-upc/blob/main/app.py

Also, if wasmer supports Starlette, I assume it would support FastHTML (web framework that uses Starlette under the hood) ?

jph00 2 hours ago | parent | next [-]

Yes, since it supports Starlette/ASGI, FastHTML should work just fine.

syrusakbary 2 hours ago | parent [-]

FastHTML requires apsw (SQLite wrapper) even if you don't use it. We already compiled apsw to WASIX but it also requires publishing a new version of Python to Wasmer (with sqlite dynamically linked instead of statically linked).

We will release a new Python version by the end of this week / beginning of next one, so by then FastHTML should be fully work in Wasmer! (both runtime and Edge)

indigodaddy 33 minutes ago | parent [-]

Sounds awesome!

indigodaddy 2 hours ago | parent | prev [-]

Actually I’d imagine probably scheduling won’t work at all with wasmer?

syrusakbary 2 hours ago | parent [-]

Wasmer already support jobs (cron jobs, and jobs after certain triggers: deployment, app creation, ...), although is not fully documented yet.

We'll be improving our docs soon!