frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Bun-install – Global CLI installer for Bun with local monorepo support

https://github.com/joeycumines/bun-install
2•joeycumines•1h ago
Hey HN,

This is a CLI tool I initially built as a convenient and reliable way to install executable(s) from a local monorepo workspace into Bun's global package store.

I had a local monorepo with workspace dependencies that needed to be installed as a whole. The commands aren't bundled, and I didn't want to manually manage dependencies. (If you want to try it out, https://github.com/open-pencil/open-pencil is what I was contributing to)

I tried `bun link` initially. But linking directly meant I had to keep a separate local checkout just so branch switches wouldn't break my installed tools. `bun-install` solves this by packaging the dependencies and installing a snapshot to Bun's global store instead.

I later added the `--bun` (and `--package`) options, which mirror the `bunx` option which supports using `bun` over `node`, after I ran into some annoying JS-execution-environment-related issues. I've found the recurring theme with JS-managed commands is they tend to be fragile when installed globally on machines used for development purposes, susceptible to both runtime and update time incompatibilities and breakages. I concluded this was something of a confluence of factors: A vast ecosystem, numerous runtime environments, and indirection between what's installed (the module) and what's executed (the contents of the bin directory end users add to their PATH). This project doesn't magically fix all of those, but, for me personally, it has completely resolved what was a long-standing pain point.

Highlights:

- Topological resolution: builds and packs sibling dependencies in order.

- Command filtering: `bun-install -p my-cli tool-a`. Strips unselected commands from the manifest so they don't clobber existing global symlinks.

- Shebang rewriting: forces Node shebangs to `#!/usr/bin/env bun` (and injects them if missing). Installed commands actually run under Bun.

- Safe binary scanning: does an 8 KiB null-byte scan so it doesn't mangle non-node scripts or native executables.

- Workspace support: install the local state, great for dev, works with internal dependencies that aren't published.

- Cleans up temporary tarballs and drains TTY input on interactive prompts to prevent stdin bleed.

(pre-v1, so the API might change, but the core implementation is stable).

Try it out: bun add -g bun-install

NPM: https://www.npmjs.com/package/bun-install GitHub: https://github.com/joeycumines/bun-install

I'll be around to answer any questions. Might not respond immediately though :)

Show HN: Janus – Go binary that runs GGUF models via Vulkan on AMD/Intel/Nvidia

https://github.com/Vibra-Ingenn/Janus
50•Maverick617•5h ago•6 comments

Show HN: Open-source model routing for coding agents at Astra-level performance

80•adchurch•1d ago•24 comments

Show HN: Rhun, an open-source code editor written in assembly

https://rhun.app/
34•vladcodes•5h ago•14 comments

Show HN: Giving Opus 5.5 a simulated paint canvas

https://stillwet.art/
2•alstonite•1h ago•0 comments

Show HN: Bun-install – Global CLI installer for Bun with local monorepo support

https://github.com/joeycumines/bun-install
2•joeycumines•1h ago•0 comments

Show HN: Pyxel – A Python retro game engine with built-in art and sound editors

https://github.com/kitao/pyxel
3•kitao•2h ago•1 comments

Show HN: I built a better way to browse and filter the NYT's 100 Best TV Shows

https://100besttvshows.madebyaqua.com/
2•felixding•2h ago•0 comments

Show HN: Ledge.sh – Runnable Markdown Notes

https://ledge.sh
196•dancablam•2d ago•87 comments

Show HN: PhreshOS – OS for Web Apps

https://github.com/PhreshOS/system
2•zouhirdx•2h ago•0 comments

Show HN: Premortem – AI agents that red-team your startup idea

https://premortem.site
6•ahoskins•5h ago•7 comments

Show HN: Graphene – Data analysis toolkit for your coding agent

https://github.com/graphene-data/graphene
3•kcmarr•4h ago•0 comments

Show HN: A working 3D model of an Enigma machine

https://enigma.design
107•primitivesuave•2d ago•40 comments

Show HN: Breadcrumb, record everything on your mac + context manager for AI

https://innerloop.works/breadcrumb
15•jv22222•7h ago•2 comments

Show HN: Zero Slop – Open-source skill that finds and fixes AI slop in writing

https://github.com/manavmishra/ZeroSlop
2•mmishra7•1h ago•0 comments

Show HN: I made a computer vision tool for evaluating deadlift form

https://github.com/jeremyipark/vision-demos/tree/main/deadlift
4•dr_blueberry•8h ago•0 comments

Show HN: What 482 hospitals charge vs. what insurers pay, from their own files

https://www.billmender.com/hospital-prices
6•curatedmcp•6h ago•2 comments

Show HN: JBR-001 – An open-source 3D printable desktop robot

https://projecthub.arduino.cc/syntheticaidata/jbr-001-a-desktop-companion-robot-powered-by-arduin...
130•gvuksic•2d ago•31 comments

Show HN: Ferry – Sync your coding agent setup to remote Linux boxes

https://dlhck.github.io/ferry/
2•dlhck•6h ago•0 comments

Show HN: Dental Scope – Interactive 3D dental anatomy

https://dental-scope.com/
128•Zeruxe•3d ago•66 comments

Show HN: D-Engine – deterministic LLM code edits, 42× fewer tokens than an agent

https://github.com/corruchaga/D-Engine
2•sergiocorruchag•6h ago•0 comments

Show HN: Yantra – an LALR(1) parser generator for C++

https://github.com/TantrixAuto/yantra
31•renjipanicker•23h ago•16 comments

Show HN: CoIsland – Your whole engineering stack in a notch

https://coisland.app/
5•LeDonT•10h ago•1 comments

Show HN: NSL – WSL for Linux

https://frostyard.github.io/nsl/
163•bketelsen•2d ago•111 comments

Show HN: I built an app that scours the internet to create a daily news briefing

https://github.com/yogthos/newsroom
2•yogthos•8h ago•2 comments

Show HN: MCP server for editing Excel with real-time calc and diffs

https://github.com/pixelsmasher13/gridpath
4•escapingsingula•8h ago•0 comments

Show HN: Winamp-style native audio player for macOS

https://vibeplayer.app/
4•cmicali•8h ago•0 comments

Show HN: ASCII Art generator using depth maps

https://polyglyph-nu.vercel.app/
2•tonerow•8h ago•1 comments

Show HN: Using 2D DFT, dithering, etc. to maximize eInk manga image quality

https://github.com/ciromattia/kcc
83•seam_carver•3d ago•20 comments

Show HN: Real-time Solar System with 526k asteroids and all tracked satellites

https://space.bl2.net/
398•wanick•2d ago•107 comments

Show HN: Secret Santa Name Generator – draw names in the browser, no sign-up

https://secretsantanamegenerator.com/
2•xmasdong•9h ago•1 comments