DEV Community

Cover image for Open any public GitHub repo in Codesandbox in 3 seconds
Vikrant Bhat
Vikrant Bhat

Posted on

Open any public GitHub repo in Codesandbox in 3 seconds

If you are someone who wants to quickly just lookup some code in a GitHub repository or even fork or edit it, then this is a good handy trick to know.

Alt Text

NOTE: If you are not a PRO member of codesandbox then the trick will work only on Public repositories

Steps to follow (if the GIF doesn't sum it up 😜):

STEP 1: Open any Public GitHub repository.
STEP 2: Go to the URL and append 'box' to your github.com URL in-between 'hub' and '.com' and it will redirect to CodeSandbox.

Here's an example:

Change the GitHub URL: 
https://github.com/bhatvikrant/react-thumbnail-player

To: 
https://githubbox.com/bhatvikrant/react-thumbnail-player
Enter fullscreen mode Exit fullscreen mode

And that's all you have to do!

Check out the Codesandbox docs to learn more

Top comments (3)

Collapse
 
manishfoodtechs profile image
manish srivastava

Good sharing

Collapse
 
bhatvikrant profile image
Vikrant Bhat

Thanks!

Collapse
 
100rabhcsmc profile image
Saurabh Chavan

This is super Thank You❤️😍