DEV Community

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

Posted on

8 3

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❤️😍

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay