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.
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}`))