VSCode-Colab – Connect Google Colab and Kaggle to VS Code Securely

2 essence_sentry 1 4/25/2025, 7:39:30 PM github.com ↗

Comments (1)

essence_sentry · 5d ago
I often wanted to code in VS Code while using Google Colab or Kaggle runtimes, but getting a clean connection without weird hacks was messy.

So I built [`vscode-colab`](https://github.com/EssenceSentry/vscode-colab): a tiny Python library that uses official VS Code Remote Tunnels to connect Colab/Kaggle sessions to your local or web VS Code securely.

- No SSH hacks - No 3rd party servers - Just `pip install`, `login()`, `connect()`, done.

You can clone and push to private GitHub repos directly once connected (thanks to GitHub auth).

Works even in Kaggle (with a fallback if clipboard access fails).

Repo + example notebook: https://github.com/EssenceSentry/vscode-colab

Happy to hear feedback!