Open any public GitHub repo in Codesandbox in 3 seconds
August 06, 2020
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.
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
And that’s all you have to do!
Check out the Codesandbox docs to learn more
Thanks for reading and if you liked this blog then please consider following for more posts like this!