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: Hocus – self-hosted alternative to GitHub Codespaces using Firecracker

291 pointsby hugodutkaabout 2 years ago

13 comments

cpaabout 2 years ago
I believe this kind of service is the way forward when it comes to developer tooling. But paying $39&#x2F;mo&#x2F;user for having the right to deal with the deployment myself for a tool that is still alpha is pretty high. I understand the (tremendous) value prop, but that&#x27;s the kind of price I&#x27;d be expecting from a SaaS version, not from a self-hosted app. Although not giving a discount for self-hosting and a price per user is the &quot;modern&quot; way to do open source (see gitlab or mattermost), it still feels a bit wrong.<p>Anyway, excuse my old man rant, awesome work and good luck making a business out of it! I&#x27;ll give it a try.
评论 #35431582 未加载
评论 #35430795 未加载
评论 #35436592 未加载
vanillaxabout 2 years ago
Why isn&#x27;t this just wrapped in a single docker image or docker compose? Why do you need all these scripts? Just curious. I get its checking for docker and dependencies, but can you just get rid of the dependency problem by embedding in the docker file and have a single set of docker files that do all this work? Leverage compose after?
评论 #35438862 未加载
cube2222about 2 years ago
Ah, great to see this here!<p>Disclaimer: Know the authors, who are extremely bright engineers.<p>Based on my discussions with one of them, Hugo, re the architecture a couple weeks ago, I really think you should take a look at this if you want to do auto-provisioned dev environments in a self-hosted fashion, they know what they&#x27;re doing.
itayabout 2 years ago
Pretty nice, I have two questions:<p>1. Comparing to something like GitPod (which lets you run on your own instances as well), where do you think Hocus shines?<p>2. Given you&#x27;re leveraging Firecracker for isolation, and Firecracker doesn&#x27;t support GPUs, I assume that adding GPU-enabled machines isn&#x27;t on your near-term roadmap?
评论 #35429922 未加载
yewenjieabout 2 years ago
How does this compare to <a href="https:&#x2F;&#x2F;coder.com" rel="nofollow">https:&#x2F;&#x2F;coder.com</a>?
评论 #35428047 未加载
guywithabowtieabout 2 years ago
What would be the future plan here? Any hosted commercial offerings? I am asking to understand whether one could use and depend upon it for few years.
评论 #35428662 未加载
评论 #35429337 未加载
throwawaaarrghabout 2 years ago
You can get close to this without licensing&#x2F;fees by standing up a K8s cluster and running devspace
评论 #35437644 未加载
gravypodabout 2 years ago
Are you planning on using any fancy tricks to optimize large repos? I have open sourced some code I was playing with for fun here which allows you to mount a git repo as a read only FUSE file system: <a href="https:&#x2F;&#x2F;github.com&#x2F;gravypod&#x2F;gitfs">https:&#x2F;&#x2F;github.com&#x2F;gravypod&#x2F;gitfs</a><p>You can really lower IOPS&#x2F;memory&#x2F;disk usage with an approach like this.
评论 #35438900 未加载
itissidabout 2 years ago
This seems to be at the same level of how Meta manages their dev environments. You pick the environment right from VS code and it spins up an environment.<p>I think<p>&gt; Add multi-node support<p>will be important for non trivial project development where the 2 distinct environments might be needed to talk to each other like say for prototyping or &quot;sharing configs&quot;..
评论 #35430916 未加载
politelemonabout 2 years ago
I see Docker listed as a requirement, and I am familiar with Docker. The repo mentions using Firecracker, a microVM that I&#x27;ve only ever heard of. What is the relation, if any, between these two? Is this a wrong question: if this uses Firecracker why is Docker involved?
评论 #35428499 未加载
评论 #35428363 未加载
评论 #35428530 未加载
enedilabout 2 years ago
This is actually something I wish we had at my previous company. Setting up the environment was a pain, and very few people knew how to run all the tests (integration tests really). I am willing to give Hocus a go.
notamyabout 2 years ago
This looks excellent! I have to try spinning it up in my homelab to see how well it works for my needs.
0cf8612b2e1eabout 2 years ago
Very intrigued. With the real VM isolation, I wonder if I could use this as a way of dipping my toe into the Nix pool.<p>Have you given any thought to offering pre-baked development templates? For example, here is a standard Django build with poetry + js utilities + Postgres drivers + jq, etc.
评论 #35430379 未加载