demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
316 stars 229 forks source link

Let colab prepare the working environment automatically every day without human intervention, and send the environment login information to our gmail. #50

Open vbuterin2 opened 4 years ago

vbuterin2 commented 4 years ago

Instead of using selenium, we may use some kind of javascript or make a chrome extension to do this. When the 24H limit is reached, the plugin can automatically run all the cells. By the way, we should also make a stopwatch in case we forget the time left for the session.

rayanfer32 commented 4 years ago

Instead of using selenium, we may use some kind of javascript or make a chrome extension to do this. When the 24H limit is reached, the plugin can automatically run all the cells. By the way, we should also make a stopwatch in case we forget the time left for the session.

The colab VM will be only available for 12 hrs

ochen1 commented 3 years ago

Good idea, but setting this up sounds quite impractical.

First of all, you would be hosting a program which starts up a server on a server. Kinda meta, lol

Second of all, Google prevents login via chromedriver (and hence Selenium webdriver for chrome). That might be an issue, but I know of a bypass for that "browser security" check. My speculation is that Google, by doing this check, wants users to use "more secure apps", in other words their APIs, which they have more control and power over. (of course, there is no official/documented API for Google Colab)

Thirdly (and fortuantely lastly), that idea would add an extra layer of complication to remocolab. You might want to create your own repository for that.

Do you have a particluar use case for it?