{"by":"jeremylevy","descendants":2,"id":34142602,"kids":[34144770,34180824],"score":48,"text":"Hey HN,<p>Eleven is the second project that I&#x27;ve built to learn Go. It lets you create a code sandbox in your cloud provider account easily.<p>What&#x27;s a &quot;code sandbox&quot;? 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).<p>You could use it to deploy your app, as a remote development environment or even to test some code. It&#x27;s up to you.<p>For example, to deploy a Node.JS app:<p>$ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh&#x2F;hello-world<p>&gt; Success! The sandbox &quot;hello-world&quot; was initialized.<p>$ ssh eleven&#x2F;hello-world forever node index.js<p>&gt; Forever: command started. Run &quot;forever stop&quot; in current path to stop.<p>$ eleven aws serve hello-world 8000 --as hello.eleven.sh<p>&gt; Success! The port &quot;8000&quot; is now reachable at: <a href=\"https:&#x2F;&#x2F;hello.eleven.sh\" rel=\"nofollow\">https:&#x2F;&#x2F;hello.eleven.sh</a><p>$ curl <a href=\"https:&#x2F;&#x2F;hello.eleven.sh\" rel=\"nofollow\">https:&#x2F;&#x2F;hello.eleven.sh</a><p>&gt; Hello World<p>Still learning Go by the way, so I&#x27;m open to any suggestions to improve.","time":1672093633,"title":"Show HN: Eleven – open-source alternative to Codespaces","type":"story","url":"https://github.com/eleven-sh/cli"}