top | item 46946989

Show HN: Shovel.js – A portable meta-framework built on web standards

3 points| bikeshaving | 20 days ago |shovel.js.org

I recently built a CLI and set of libraries for running Service Workers as application servers. The idea: instead of inventing new APIs, use the ones browsers already have (Cache API, FileSystem API, CookieStore, URLPattern, AsyncContext) and shim them for Node, Bun and Cloudflare when missing. The result is portable code that runs anywhere and follows rigorous specifications which coding agents like Claude Code already know how to use. `npm create shovel` to try it.

2 comments

order

anilgulecha|20 days ago

Very fresh take on APIs. With proliferation of compute types (container, lambda, cloudflare worker, VM, offline-first apps), there's something to be said for a common interface.

Kudos. will explore more.

bikeshaving|20 days ago

Thanks for the kind words! Let me know your thoughts if you end up exploring.