Creating a CodeSandbox from a GitHub Repository
I recently had the need to post a live demo of a simple Create React App project that was posted on another user’s GitHub repository. I typically turn to CodeSandbox for examples like this, but I didn’t want to recreate the project from scratch since it already was good to go. I found that CodeSandbox has a ton of options to import a Sandbox.
The easiest one in this case by far was using GitHubBox.com. From their readme:
Go to a repo in GitHub
Replace github.com with githubbox.com
There’s no step three
So all I had to do was take this GitHub URL:
https://github.com/aroseman/gdwc-react-demo/tree/main/
and change it to:
https://githubbox.com/aroseman/gdwc-react-demo/tree/main/
Which magically gave me this sandbox:
Super simple and super handy.