Interactive shell over repos in a Mesa org running inside a Blaxel sandbox.
Spins up a Blaxel sandbox, installs the Mesa CLI via the install script, mounts your org's repos via FUSE, and drops you into a minimal shell.
npm install
# Create a .env in this directory (gitignored)
cp .env.example .env
# Now populate your .env file with the required values
# Run
npm startCreating Blaxel sandbox...
Installing Mesa CLI...
Mounting your-org...
Connected to your-org. Type "exit" or Ctrl+C to quit.
$ ls
repo-one repo-two repo-three
$ exit
Cleaning up sandbox...
Bye!
- Creates a Blaxel sandbox (Alpine-based, runs as root)
- Installs system dependencies and the Mesa CLI via the install script (
mesa.dev/install.sh), which detects Alpine and adds the correct APK repository- Uses
gcompatinstead oflibc6-compatto avoid gRPC deadlocks
- Uses
- Mints a short-lived access token from your signing private key (outside the sandbox) and starts the Mesa FUSE daemon with it via
MESA_ORGandMESA_ACCESS_TOKEN— your private key never enters the sandbox - Drops you into a minimal REPL at the mount path
| Variable | Description |
|---|---|
MESA_ORG |
Your Mesa organization slug |
MESA_PRIVATE_KEY |
Mesa signing private key stored only in the trusted host process |
BL_API_KEY |
Blaxel API key |
BL_WORKSPACE |
Blaxel workspace name (read automatically by the Blaxel SDK) |
- Node.js >= 18
- Mesa account with a signing key
- Blaxel account with an API key and workspace