logoalt Hacker News

Show HN: GhostBox – Borrow a disposable little machine from the Global Free Tier

112 pointsby keepamovintoday at 2:52 PM66 commentsview on HN

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.


Comments

D2OQZG8l5BI1S06today at 3:20 PM

Weird to have a .charity TLD but promote abusing Github Actions as free compute.

show 3 replies
beardsciencestoday at 3:36 PM

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.

fhntoday at 3:10 PM

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.

show 2 replies
orliesaurustoday at 3:39 PM

Things like this are the reason why companies like GitHub then put everything under a paid tier.

show 2 replies
kitchitoday at 3:20 PM

Looks like the Github repo has already been nuked, I'm guessing for violating ToS on Github actions?

show 2 replies
sikozutoday at 3:43 PM

GitHub is going to love this. No wonder Actions keeps getting worse and worse.

ctrlmetatoday at 4:16 PM

The multiple levels of abuse here are astounding. That grown adults can think projects like this are acceptable, let alone promote them, is hard to believe. I am 90% sure this is yet another vibecoded project. Has vibecoding really corrupted people?

First, I am fairly certain this violates Github's ToS. Second, it effectively amounts to a denial of service. Third, are people seriously using the .charity TLD to host something this frivolos? Have people got no sense of propriety anymore?

show 4 replies
beardsciencestoday at 5:07 PM

The repository now appears to be disabled.

https://github.com/DO-SAY-GO/ghostbox-releases

https://github.com/crisdosaygo/ghostbox-home-reveal

show 1 reply
cobertostoday at 3:11 PM

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.

show 1 reply
rao-vtoday at 3:15 PM

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

sbuastoday at 3:32 PM

Where is the source ? This looks fishy, no way I'll run this bin..

anonymouscallertoday at 3:01 PM

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...

show 2 replies
pvitztoday at 3:17 PM

Segfault provides something similar with a direct ssh connection: https://www.thc.org/segfault/

show 1 reply
S0ytoday at 4:10 PM

This is 100% against githubs TOS lol.

Some years ago I toyed with the idea of running a minecraft server inside github actions, I used tailscale to create a public endpoint and saved the world in an artifact that was re-loaded on the next run. It worked really well, but the point was never to actually use it for real.

show 1 reply
torawaytoday at 3:41 PM

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

show 2 replies
throwa356262today at 3:00 PM

@keepamovin this looks cool, but notice that your README and github links are ghosting us (404)

show 1 reply
6r17today at 3:32 PM

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

croemertoday at 3:46 PM

None of the links to Github work because you're pointing at the main branch instead of your default branch ghosts-only

show 1 reply
archargelodtoday at 3:45 PM

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?

show 1 reply
skywhoppertoday at 4:05 PM

Nice way to automate the unethical destruction of the commons. Shared space and community standards are for suckers.

rvztoday at 3:17 PM

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

arm32today at 3:58 PM

Just shut this down.

o10449366today at 3:38 PM

As unreliable as GitHub actions are, this is what ruins nice things (free for public repos) for the rest of us.

colesantiagotoday at 3:04 PM

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!

show 1 reply
Imustaskforhelptoday at 2:57 PM

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!

show 1 reply
aleksiy123today at 3:58 PM

[dead]

peter_d_shermantoday at 3:24 PM

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...