# stackblitz/webcontainer-core

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/stackblitz-webcontainer-core).**

4,610 stars · 277 forks · MIT

## Links

- GitHub: https://github.com/stackblitz/webcontainer-core
- Homepage: https://webcontainers.io
- awesome-repositories: https://awesome-repositories.com/repository/stackblitz-webcontainer-core.md

## Topics

`browser` `nodejs` `stackblitz` `webcontainer`

## Description

WebContainer is a browser-based runtime environment designed to execute server-side code, operating system commands, and full-stack development toolchains directly within a web tab. It provides the infrastructure for cloud IDEs and zero-install development workflows by simulating a runtime that eliminates the need for local installations or remote virtual machines.

The system leverages WebAssembly to map system calls and implements a virtual POSIX-compliant filesystem and network interception layer. This allows the runtime to spawn command-line processes, execute shell commands, and route internal server requests to browser-accessible URLs for live web application previewing.

The platform also includes capabilities for managing virtual filesystem operations, monitoring file changes, and integrating with private package registries via single sign-on and identity verification. It can be deployed on-premises or within private cloud infrastructure to keep execution behind corporate firewalls.

## Tags

### Development Tools & Productivity

- [Browser-Based Execution Environments](https://awesome-repositories.com/f/development-tools-productivity/browser-based-execution-environments.md) — Provides a full-stack, browser-based execution environment that simulates an operating system to run server-side code.
- [Client-Side Development Environments](https://awesome-repositories.com/f/development-tools-productivity/client-side-development-environments.md) — Provides the infrastructure to execute build toolchains and servers in a browser tab, eliminating the need for remote virtual machines.
- [Cloud IDEs](https://awesome-repositories.com/f/development-tools-productivity/cloud-ides.md) — Provides the underlying runtime for online code editors that manage virtual filesystems and execute toolchains.
- [Browser-Based Development Environments](https://awesome-repositories.com/f/development-tools-productivity/local-development-environments/browser-based-development-environments.md) — Provides full stack coding environments that run entirely in the browser to remove the need for local installations.
- [Shell Command Execution](https://awesome-repositories.com/f/development-tools-productivity/shell-command-execution.md) — Enables the execution of system processes and shell commands within the browser environment. ([source](https://webcontainers.io/guides/quickstart))
- [Browser-Based Shell Execution](https://awesome-repositories.com/f/development-tools-productivity/shell-command-execution/trusted-identity-shell-spawning/browser-based-shell-execution.md) — Implements a system for spawning command-line processes and executing shell commands directly within the browser.
- [Zero-Install Workflows](https://awesome-repositories.com/f/development-tools-productivity/zero-install-workflows.md) — Implements zero-install workflows by providing an immediate, operational development environment directly in the browser.
- [Web Application Previews](https://awesome-repositories.com/f/development-tools-productivity/emulated-application-debugging/web-application-previews.md) — Captures the URL of a running server and renders the output in a frame for live viewing. ([source](https://webcontainers.io/guides/quickstart))
- [Registry Connections](https://awesome-repositories.com/f/development-tools-productivity/private-package-registries/registry-connections.md) — Enables connecting to and installing dependencies from private corporate package registries within the browser runtime. ([source](https://webcontainers.io/enterprise))

### Programming Languages & Runtimes

- [Browser-Based Runtimes](https://awesome-repositories.com/f/programming-languages-runtimes/browser-based-runtimes.md) — Provides a full-stack server runtime that executes directly within a web browser environment.
- [Node.js Sandbox Runtimes](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/webassembly/browser-based-runtimes/node-js-sandbox-runtimes.md) — Initializes a full Node.js sandbox runtime using WebAssembly and a virtualized filesystem inside the browser. ([source](https://webcontainers.io/guides/quickstart))

### Data & Databases

- [Virtual Filesystems](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/filesystem-abstractions/file-managers/virtual-filesystems.md) — Implements a POSIX-compliant virtual filesystem that allows browser-based applications to manage project files and monitor changes.
- [Virtualized Filesystem Layers](https://awesome-repositories.com/f/data-databases/storage-abstraction/local-filesystem-storage/virtualized-filesystem-layers.md) — Simulates a POSIX-compliant file system in memory to allow server-side tools to read and write files.
- [Local File Operations](https://awesome-repositories.com/f/data-databases/file-storage-and-metadata-management/local-file-operations.md) — Performs standard filesystem operations such as reading, writing, renaming, and deleting files and folders. ([source](https://webcontainers.io/api))
- [Filesystem Change Monitors](https://awesome-repositories.com/f/data-databases/storage-abstraction/local-filesystem-storage/virtualized-filesystem-layers/filesystem-change-monitors.md) — Watches for modifications to specific files or directories to trigger automatic updates or reactions. ([source](https://webcontainers.io/api))

### Operating Systems & Systems Programming

- [In-Browser Process Management](https://awesome-repositories.com/f/operating-systems-systems-programming/in-browser-process-management.md) — Manages the lifecycle of multiple concurrent command-line processes and their standard input and output streams.
- [Browser-Based System Call Interceptors](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/operating-system-kernels/kernel-mode-interception-mechanisms/browser-based-system-call-interceptors.md) — Maps standard operating system calls to WebAssembly functions to execute binary toolchains within the browser sandbox.
- [Filesystem Mounting](https://awesome-repositories.com/f/operating-systems-systems-programming/filesystem-mounting.md) — Loads a directory tree or binary snapshot into the runtime to provide the initial set of project files. ([source](https://webcontainers.io/api))

### Web Development

- [Toolchain Execution](https://awesome-repositories.com/f/web-development/client-side-execution-environments/toolchain-execution.md) — Runs compilers and bundlers directly in the browser by leveraging a virtualized environment.
- [Browser-side Execution Environments](https://awesome-repositories.com/f/web-development/server-side-frameworks/browser-side-execution-environments.md) — Provides a browser-side execution environment to run server-side code and command-line tools without a remote backend.
- [Virtual File Systems](https://awesome-repositories.com/f/web-development/web-based-file-managers/virtual-file-systems.md) — Provides a virtual file system to create, read, write, and delete files or mount data sets. ([source](https://webcontainers.io/guides/quickstart))
- [Network Request Interception](https://awesome-repositories.com/f/web-development/network-request-interception.md) — Captures requests from internal servers and routes them to a browser-accessible URL for live previewing.

### DevOps & Infrastructure

- [Browser-Based Toolchain Execution](https://awesome-repositories.com/f/devops-infrastructure/build-toolchains/integrated-development-toolchains/browser-based-toolchain-execution.md) — Runs build tools and module bundlers directly in the browser to enable interactive coding experiences. ([source](https://webcontainers.io/guides/introduction))
- [Process Execution](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/environment-management/environment-variable-management/process-execution.md) — Provides utilities for spawning and managing the lifecycle of command-line processes within the virtualized runtime. ([source](https://webcontainers.io/api))

### User Interface & Experience

- [Live Preview Refreshing](https://awesome-repositories.com/f/user-interface-experience/live-preview-refreshing.md) — Reloads preview frames via messaging or source resets to reflect recent changes in the browser environment. ([source](https://webcontainers.io/api))
