Thursday, November 3, 2022

Show HN: Eleven – Code sandboxes with automatic HTTPS https://ift.tt/JUN93Lp

Show HN: Eleven – Code sandboxes with automatic HTTPS Eleven is the second project that I've built to learn Go. It lets you create code sandboxes in your cloud provider account easily. What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS). You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you. For example, to deploy a Node.JS app on AWS: $ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world > Success! The sandbox "hello-world" was initialized. $ ssh eleven/hello-world forever node index.js > Forever: command started. Run "forever stop" in current path to stop. $ eleven aws serve hello-world 8000 --as hello.eleven.sh > Success! The port "8000" is now reachable at: https://hello.eleven.sh $ curl https://hello.eleven.sh > Hello World Still learning Go by the way, so I'm open to any suggestions to improve. https://ift.tt/yQrBJfK November 4, 2022 at 01:05AM

No comments:

Post a Comment

A Manual on Self-Defense Intended for Survivalists

In the state that the world is in, you need to know self defense. When the SHTF, you could be called on to have to defend yourself from some...