Open any public GitHub repo in Codesandbox in 3 seconds
Vikrant Bhat

Vikrant Bhat @bhatvikrant

About: The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️

Location:
Delhi, India
Joined:
May 30, 2020

Open any public GitHub repo in Codesandbox in 3 seconds

Publish Date: Aug 23 '20
14 3

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

Comments 3 total

Add comment