For repository notebooks, replace github.com with githubtocolab.com. For Gists, replace the github.com part of gist.github.com, producing gist.githubtocolab.com.
Read the blog post for the story and usage details.
Start with a real GitHub or Gist notebook URL, change the domain, and the shortcut redirects to Colab.
https://github.com/jax-ml/jax/blob/main/docs/notebooks/Common_Gotchas_in_JAX.ipynb
github.com with githubtocolab.comhttps://githubtocolab.com/jax-ml/jax/blob/main/docs/notebooks/Common_Gotchas_in_JAX.ipynb
https://colab.research.google.com/github/jax-ml/jax/blob/main/docs/notebooks/Common_Gotchas_in_JAX.ipynb
https://gist.github.com/rasbt/d343874ab1a3e8512a24ab7a79c91b97
github.com with githubtocolab.comhttps://gist.githubtocolab.com/rasbt/d343874ab1a3e8512a24ab7a79c91b97
https://colab.research.google.com/gist/rasbt/d343874ab1a3e8512a24ab7a79c91b97/reasoning-inference-scaling-gh-models-examples.ipynb
If a Gist contains multiple notebooks, use the explicit notebook path instead of the bare Gist URL.
Drag this link to your bookmarks bar, then click it from a GitHub notebook page: