carloshvp / colabcode

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColabCode

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 :)

Colab starter notebook: Open In Colab

ColabCode has the following arguments:

  • port: the port you want to run code-server on, default 10000
  • password: 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.

About

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks

License:MIT License


Languages

Language:Jupyter Notebook 61.8%Language:Python 38.2%