codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

Support opening a fork directly from a github link

Open Janpot opened this issue 2 years ago • 1 comments

🌈 Feature

Stackblitz offers the ability to craft links that immediately fork the sandbox: https://developer.stackblitz.com/guides/integration/open-from-github#open-directly-or-fork

This is useful to us as our sandboxes modify their own repository directory. We don't want every visitor to operate on the same sandbox and interfere with each other.

Janpot avatar Jul 26 '23 15:07 Janpot

If you edit the url of a GitHub repo from github.com/user/repo to githubbox.com/user/repo it will do what you are asking. So just add the word box before the .com

djsnipa1 avatar Oct 28 '23 23:10 djsnipa1