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
Nice! How did you pull this off?
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.
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.I don’t want to do things from scratch. And lightbug doesn’t have a good API.
@Peter Homola how can I make Lightbug better for your use case? Could you share some rough requirements?
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.