Skip to main content

Run code-server on Google Colab with persistence of settings and code.

Project description

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 git+https://github.com/amitness/colab-cloud -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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colabcloud-0.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

colabcloud-0.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page