Nathan Knowler

Bookmarklet: Open GitHub Repo in CodeSandbox

Permalink

Just thought I’d share this helpful little bookmarklet I made for opening a GitHub repo in CodeSandbox.

Just drag the link into your bookmarks toolbar.

Open in CodeSandbox

Here is the raw code for it. Any improvements are welcome!

javascript:void(location.hostname === 'github.com' && open(`https://codesandbox.io/s/github${location.pathname}`))