Lantern

Write a web server in almost any language.

Lantern is a generic web server which wraps any application and allows it to respond to HTTP requests. The request body and headers are passed to stdin as JSON, and anything sent to stdout is returned to the client.

Is this useful? Not really.

Isn’t this basically just CGI? Yeah kinda.

Should this be used for production deployments? Definitely not!

It’s just a fun experiment with sanic and async programming in its early days.

View on GitHub

Share this page