Skip to content

GitLab hosted Codesandbox

Codesandbox can be self hosted quite easily by hosting the static sandpack script on a custom domain. It interacts directly with the https://unpkg.com/ CDN, removing the previous requirement of also operating a packager.

GitLab currently defaults to the Codesandbox.io domain. We should use a GitLab domain (e.g. gitlab-sandbox.com) and enable the feature by default for self hosted instances.

Proposal

Not in Scope

Documentation

The docs around enabling Client Side Evaluation should be updated to reflect the assets are served from a GitLab hosted domain, but be clear that it runs the latest version required for GitLab.com and may cause incompatibility with older versions of GitLab.

Links / references

https://docs.gitlab.com/ee/user/project/web_ide/index.html#enabling-client-side-evaluation

Edited by Kai Armstrong