stackblitz / stackblitz/sdk

Feature request: expose the WebContainer API from a StackBlitz VM

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
50
Forks
32
PR merge metrics
No merged PRs in 30d

Description

First of all, StackBlitz and WebContainer are both super cool! Thank you for them.

The StackBlitz VM API is quite limited. Issues #9, #15, and #19 are examples of missing capabilities. The WebContainer API covers these capabilities and more.

It would be incredibly useful to be able to control a StackBlitz embed with the WebContainer API. For example, to be able to run a process with something like vm.webContainer.spawn(...).

Is something like this on the roadmap?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the linked StackBlitz VM API and WebContainer API documentation, then review issues #9, #15, and #19 for the missing capabilities motivating this request. The scope and supported API surface would need to be agreed before implementation; done would mean a defined way to control an embed through the selected WebContainer capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.