TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Eleven – open-source alternative to Codespaces

48 pointsby jeremylevyover 2 years ago
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.

2 comments

mdanielover 2 years ago
Congratulations on your release<p>Please don&#x27;t mandate the use of static AWS credentials; the aws sdk is capable of abstracting away all those gory details for you, including <i>allowing</i> someone to use those env-vars if they really want, but forcing them is a headache for an organization that uses AssumeRole (or its friends) for everything: <a href="https:&#x2F;&#x2F;github.com&#x2F;eleven-sh&#x2F;cli&#x2F;blob&#x2F;v0.0.4&#x2F;internal&#x2F;cloudproviders&#x2F;aws&#x2F;errors_presenter.go#L60">https:&#x2F;&#x2F;github.com&#x2F;eleven-sh&#x2F;cli&#x2F;blob&#x2F;v0.0.4&#x2F;internal&#x2F;cloudp...</a><p>I wasn&#x27;t readily able to find the Route53 logic; how are those &quot;serve --as&quot; domains created&#x2F;updated?
debarshriover 2 years ago
Running it in a VM is a huge maintenance overhead. This at first glance looks like a great PoC. You might have to eventually support kubernetes or ecs equivalent thing on each cloud provider from production readiness point of view as well as from admin perspective, the way gitpod works.