Run code server on Google Colab or Kaggle Notebooks
Quickstart:
- install colabcode:
pip install colabcode
- import colabcode:
from colabcode import ColabCode
- run:
ColabCode(port=10000, password="abhishek")
- you can also run it with any password or port :)
ColabCode
has the following arguments:
port
: the port you want to run code-server on, default 10000password
: password to protect your code server from being accessed by someone else. Note that there is no password by default!mount_drive
: True or False to mount your Google Drive
ColabCode
comes pre-installed with some VS Code extensions.
See an example in this video tutorial.