/colab-cloud

A resumable cloud editor workspace on Google Colab

Primary LanguagePythonMIT LicenseMIT

colab-cloud Open In Colab

An experiment to have a resumable cloud workspace on Google Colab that persists all your settings and files across sessions.

image

There are are numerous improvements over the original approach we had proposed before:

  1. Uses the RAM to store all the user settings and extensions for code-server. This makes the editor snappier compared to disk and reduces the startup time.
  2. Uses Google Drive to persist the code editor settings across sessions
  3. Uses a dedicated folder on Google Drive to store all the code files. The editor will resume with all your code files.
  4. Uses localtunnel instead of ngrok for exposing the editor on web and allowing choice of custom subdomain.

Usage

You can make a copy of this notebook and run it to get started.

Alternatively, on Colab, install the library

!pip install colabcloud -qqq

Then, run the code with a unique subdomain of your choice.

from colabcloud import colabcloud

colabcloud(subdomain='example')

The editor can be accessed on your chosen URL e.g. https://example.loca.lt.