Stop being the product.
Become the owner.
or
sign uplog in

pack.sh : elf-host single-file apps I’m working on pack…

pack.sh : elf-host single-file apps

I’m working on pack https://pack.sh , a simple way to deploy self-hosted apps.

I always liked the old Zeit/Vercel `now` flow: run one command in a project and get a URL that is persistent, immutable and does not need platform specific code.

I wanted something similar for myself, so I am working on pack.

The approach I chose is single-file executables. It builds your app into one file, uploads, and runs it.

Node, bun, deno, go, rust, zig and c/c++ all support single file executables so that part was actually pretty straightforward. The most complex part was handling port pooling, caddy setup and inactive instances.

Using single-file executables keeps server setup very minimal and makes it easy to run many small apps on a cheap VPS. It also removes the need to configure node or any other runtime on the server.

Feedback and PR's welcome!
#dev #technology #js #programming S
earnings
3,000 mlx total
$0  total
engagement
3 views
0 reactions

0 comments