-
Notifications
You must be signed in to change notification settings - Fork 6.3k
VS Code (code-server) on Google Colab / Kaggle Notebooks / Anywhere #2084
-
I made a small library/tool that one can use to have code-server on any machine which is connected to the internet (inspired by a recent article). I call it ColabCode. This is a small video I made demonstrating that: https://www.youtube.com/watch?v=7kTbM3D02jU
The repository is available here: https://github.com/abhishekkrthakur/colabcode
Quickstart:
- install colabcode:
pip install colabcode - import colabcode:
from colabcode import ColabCode - run:
ColabCode(port=10000, password="abhishek")
Please let me know how you like it :)
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2 -
🚀 5
Replies: 1 comment 2 replies
-
This is so cool! Definitely one of the quickest ways to start a code-server environment with https! I love how you preinstalled some extensions too.
Beta Was this translation helpful? Give feedback.
All reactions
-
Can we use https://tunnelto.dev/ insted on ngork
Beta Was this translation helpful? Give feedback.
All reactions
-
@abhay-ranawat Yeah, it seems totally possible. You would just have to modify it in https://github.com/abhishekkrthakur/colabcode/blob/master/colabcode/code.py and install tunnel, and run the tunnel command as a subprocess instead of utilizing the ngork library.
Beta Was this translation helpful? Give feedback.