Skip to content

Repository files navigation

Dashboard Preview

E2B Dashboard

LicenseDiscordGitHub Stars

Open-source dashboard for self-hosted E2B infrastructure. Manage and monitor sandboxes and templates with a team API key — no user accounts, no external auth provider.

Quick Links

Overview

Built with Next.js 16, React 19, and TypeScript. The dashboard talks to two APIs from your E2B infrastructure deployment:

  • infra-api (https://api.<your-domain>) — sandboxes, templates, builds
  • dashboard-api (https://dashboard-api.<your-domain>) — template & build metadata

Authentication

Authentication is a single team API key:

  • Visiting / shows a form to enter the key. It is validated against infra-api and stored in an httpOnly e2b_api_key cookie. All upstream calls happen server-side with the X-API-Key header — the key never reaches client JavaScript.
  • Alternatively, set the E2B_API_KEY environment variable to pre-authenticate the whole deployment (single-user mode; the key form and sign-out are hidden).

Features

  • Sandboxes: paginated live list, per-sandbox monitoring (CPU/memory/disk), logs, filesystem inspector, and an in-browser terminal
  • Templates: list, visibility management, tags, build history with streaming build logs

Getting Started

You need a running E2B infrastructure deployment first.

Prerequisites

  • Bun 1.2+
  • A team API key from your E2B deployment (e2b_...)

Local Development Setup

  1. Clone the repository
git clone https://github.com/e2b-dev/dashboard.git
cd dashboard
  1. Install dependencies
bun install
  1. Set up environment variables
cp .env.example .env
# set NEXT_PUBLIC_E2B_DOMAIN (or explicit NEXT_PUBLIC_INFRA_API_URL /# NEXT_PUBLIC_DASHBOARD_API_URL) to point at your infrastructure
  1. Start the development server
bun run dev
  1. Open http://localhost:3000 and enter your team API key.

Production

bun run build
bun run start

Scripts

CommandDescription
bun run devStart the development server
bun run buildProduction build
bun run test:unitUnit tests
bun run test:integrationIntegration tests
bun run lint / bun run formatBiome lint / format
bun run generate:infraRegenerate infra-api contract types from spec/
bun run generate:dashboard-apiRegenerate dashboard-api contract types from spec/

License

Apache 2.0 — see LICENSE.

About

Modern dashboard for managing E2B sandboxes and API keys. Built with Next.js 16, React 19, and Supabase.

Topics

Resources

Contributing

Stars

177 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages