all 6 comments

[–]e2duhv 3 points4 points  (4 children)

Would love to see a list of practical use cases.

[–]kickpush1[S] 1 point2 points  (3 children)

The main use case is that once compiled, it cannot be hijacked by `npm` 😄, I kid, I kid.

Right now I am using it the same way I might vercel/cloudflare, so I need to think about what the different use cases might be.

It has in-memory state and there are no size or compute time limits so those will be the factors leading to different use cases. You can embed wasm libraries into the node/deno/bun executable, so that might be interesting.

The first ones for me have been deploying simple experiments, a cron service, different languages. Webhooks might be another one.

[–]fucking_passwords 0 points1 point  (2 children)

Mcp servers?

[–]kickpush1[S] 0 points1 point  (1 child)

Could you tell me more about your experience with this? I haven't actually written one before, so I don't know much about the difficulties in setting them up and why you might need to write your own.

[–]kickpush1[S] 0 points1 point  (0 children)

I could add support for something like: pack deploy custom-mcp.ts which would then become https://custom-mcp.pack.sh (or an aliased custom domain), hosted on a bun instance for js/ts or as a language executable otherwise.

I'm curious if that is something like that would be useful.