Mojo web apps

Hi folks, I’ve written a web app for running Mojo on the web. It’s just a simple PoC. At the moment it runs on GAE so a Google account is needed to try it out. https://arax.ee/mojo
6 Replies
Hammad Ali
Hammad Ali3d ago
Nice! How did you pull this off?
Peter Homola
Peter Homola3d ago
I wrote a shared library in Go which the Mojo app uses. Once there’s a pure Mojo implementation I’ll switch to that. The apps are compiled on the server and run via Docker.
Ryulord
Ryulord2d ago
you should check out lightbug if you haven't already. You can also use external_call to bind the libc socket functions and just do everything from scratch.
Peter Homola
Peter Homola2d ago
I don’t want to do things from scratch. And lightbug doesn’t have a good API.
a2svior
a2svior2d ago
@Peter Homola how can I make Lightbug better for your use case? Could you share some rough requirements?
Peter Homola
Peter Homola2d ago
I don’t have any requirements, not planning to use Mojo in production for this at the moment. Generally I like the way Go’s http package is designed. I have some ideas about the high level API (like working with JSON) though.
Want results from more Discord servers?
Add your server