Skip to content

daipham3213/bitbox

Repository files navigation

BitBox - Run VM in your browser

BitBox is linux shell in your browser by the power of WASM and v86. It is a simple application that allows you to run a linux shell in your browser. It is useful for running simple commands and testing out things.

The VM image is based on buildroot - a minimal linux image with busybox and a few other utilities. You can find my configuration for buildroot in the bitbox-buildroot repository.

Libraries and tools used

Requirements

How to run

  1. Clone this repository
    git clone
  2. Install dependencies
    bun install
  3. Run the server
    bun run dev
  4. After that, a new tab will be opened in your browser with the application running.
  5. Enjoy!

Limitations

  • It's a bit slow. It is fine for running simple programs but as soon as you try to run anything that requires cpu it will slow down immensely because the cpu is emulated by v86.
  • No reliable package manager. You can use the bundled static-get

Internet

  • This VM uses copy's proxy for internet which is rate limited and does not support https
  • Try not to use it. Instead, consider either manually uploading files or using your own proxy.