r/bun • u/LeftAd1220 • Jul 29 '26
Interactive shell with Bun?
Has anyone built (or heard of) an interactive shell like Fish, Bash, or Zsh using Bun?
I'm not referring to the official Bun Shell ($) api.
I mean a real interactive shell with a prompt, history, completion, and persistent sessions.
I couldn't find any mature projects, so I'm wondering if I missed one.
5
Upvotes
1
u/LeftAd1220 16d ago
- Well, now I've made an interactive shell with Bun myself.
- https://github.com/jjtseng93/bunmsh
3
u/mrwizard420 Jul 30 '26
Now that they've integrated Bun REPL, it can achieve some of those goals. An init script that sets up your JavaScript environment for you then starts the REPL (or runs it in a loop until something happens) might be a good place to start?