Nathan Knowler

Bookmarklet: Open GitHub Repo in CodeSandbox


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 === '' && open(`${location.pathname}`))