Run code-server on Google Colab with persistence of settings and code.
Project description
colab-cloud
An experiment to have a resumable cloud workspace on Google Colab that persists all your settings and files across sessions.
There are are numerous improvements over the original approach we had proposed before:
- 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.
- Uses Google Drive to persist the code editor settings across sessions
- Uses a dedicated folder on Google Drive to store all the code files. The editor will resume with all your code files.
- 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file colabcloud-0.0.1.tar.gz
.
File metadata
- Download URL: colabcloud-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1429d48b88bdd05967e290590411d70136f6c05b2f2193cfc980a4a7e27f44 |
|
MD5 | 5e504a12bce45706c9fd90908719a708 |
|
BLAKE2b-256 | b4b63de76277c8bcf1c708d19d5ab784e5a8a3938bb9bacc8b85ec893b8d4e1a |
File details
Details for the file colabcloud-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: colabcloud-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ed027011743959827820d6da55a27061fe9c027a0cc8534489a2d832170aec |
|
MD5 | f025ca7fa9ceb5e01f759635b2e39883 |
|
BLAKE2b-256 | e30520ccaee25cd5317cdde1f7bf2021bf1ceb34f3db8ac8990f79040d95b760 |