Show HN: GhostBox – Borrow a disposable little machine from the Global Free Tier
I built this because I was always creating machines on GH actions to test builds on different OS, and I wanted a tight CLI that could do it. I always saw Actions as this great resources and ephemeral machines you could do dev work in just were a natural way for me to work, so this grew out of that workflow. I didn't expect it to blow up, so it wasn't 100% finished when I posted it. But it should stabilize pretty quickly. Happy to know what you think and talk about it.
Discussion Highlights (20 comments)
Imustaskforhelp
Thanks, I know exactly something which has been in my mind to build which can be made possible with this. Basically any golang/any language cli application preferably-static can be dropped and ran in ghostbox plus xterm in browser (and additionally cloudflare tunnels) or perhaps directly to give a web link. Anyone can then click on that web link to then try out the cli application. Think jujutsu and others too and they can do this upto 90 minutes. Feel free to pick up on this idea as more importantly than not, I would personally love to see an idea like this, even something with asciinema to finally show how an app feels and looks. Can you please tell me more about what is the structure behind Ghostbox and on what service does it run upon? Hetzner/OVH or something else? I would be interested to know more about the infrastructural decisions behind it and does it run on firecrackers, quite so many questions! This is a really cool project, thanks for making this and have a nice day!
throwa356262
@keepamovin this looks cool, but notice that your README and github links are ghosting us (404)
anonymouscaller
Couldn't get it working on MacOS or Linux: $ curl -fsSL https://www.ghost.charity/install.sh | bash Checking for Ghostbox updates... curl: (22) The requested URL returned error: 404 Could not fetch ghost-linux-x64.tar.gz from https://github.com/DO-SAY-GO/ghostbox-releases/releases/late...
colesantiago
Its great that this is free for disposable use. We need more of these. There are too many sandboxes that charge insane prices. Curious what this runs on though and it would be great if this was completely open source. Great work!
fhn
this is exactly what a bad actor would do to temp the greedy. If they are providing free ssh access, why not just use an ssh client instead of curl|sh? That's crazy! And free compute is even crazier. I guess they could make money based off training or selling whatever you put on there.
cobertos
Won't the supply-side incentives misalign with demand-side's desires in this case? If you choose a specific company's free tier, you can rely on reputation and switch if they misbehave (e.g. they exfiltrate your secrets, log all your activities, build a profile on your workload behavior, etc). But if you don't know where your workload being deployed, the operator has less incentive to treat your compute with respect. Means this is really only useful for nearly-public workloads, where tampering is not a critical failure mode.
rao-v
Is there a meaningfully useful version of automatically write to an encrypted disk / RAM that could be used with a random cloud instance? Obviously the decryption key would be in RAM somewhere but as a short term best practice it might be somewhat useful
pvitz
Segfault provides something similar with a direct ssh connection: https://www.thc.org/segfault/
rvz
So that's why we will see GitHub Actions continuing to go down so frequently every day of the week. From their "terms of service" [0] > Ghostbox is software for launching short-lived development machines using third-party infrastructure such as GitHub Actions, tunnels, shells, agents, and related developer tools. So this will go down, just like GitHub Actions since it abuses the subsidised free tier of GitHub Actions to run a service like this and it is likely against the GitHub TOS. [0] https://www.ghost.charity/terms
D2OQZG8l5BI1S06
Weird to have a .charity TLD but promote abusing Github Actions as free compute.
kitchi
Looks like the Github repo has already been nuked, I'm guessing for violating ToS on Github actions?
peter_d_sherman
An interesting set of ideas! The broader concept seems to be "ephemeral environments" , which is related to sandboxing, which is in turn is related to testing/debugging... Related: https://github.com/topics/ephemeral-environments https://blog.invisiblethings.org/papers/2015/state_harmful.p...
6r17
I'd be worry about security tbf - this sounds cool until it's used to host some weird shenanigans and nobody has any kind way to tell who did what
sbuas
Where is the source ? This looks fishy, no way I'll run this bin..
beardsciences
This idea is great in concept, and I think it's important to state that, but the GitHub Actions stuff is against TOS iirc + they will need to address that pretty quickly.
o10449366
As unreliable as GitHub actions are, this is what ruins nice things (free for public repos) for the rest of us.
orliesaurus
Things like this are the reason why companies like GitHub then put everything under a paid tier.
toraway
I wish the link for "Global Free Tier" [1] included an actual list of the free tiers GhostBox is using (ideally also including some kind of table/rubric for comparisons and any limitations, benefits, etc unique to each). It sounds like Github Actions is the first choice, if it's unavailable (or if Github blocks GhostBox in the future), are each of the alternatives viable as a more or less drop-in replacement? Or would there be loss of functionality? Those are the questions I had when reading through the site so I think some basic technical docs would go a long way to help people understand the project and decide to give it a try. I like the cute/whimsical branding but I'll admit to doing a little internal eye-roll when I clicked that link expecting technical specifics and instead read: > GitHub Actions is only the first place ghosts come from. There are strange little pockets of temporary compute all over the internet. Ghostbox makes them feel like one small machine. It's a neat idea though, and I've definitely had moments where I wished I could just spin up a free, temporary VM/container to do something but didn't feel like researching the current free-tier landscape and filling out a sign-up form and stuff. [1] https://www.ghost.charity/#gft
sikozu
GitHub is going to love this. No wonder Actions keeps getting worse and worse.
archargelod
Was this botted to the top of the front page? AI=generated article that asks you to download and run some random binary. Github account is just more AI slop. Everything to me just screams that it's a malware. Or this is normal here?