TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

VSCode on Google Colab

197 pointsby amitnessover 4 years ago

15 comments

shp0ngleover 4 years ago
Note that this is not &quot;actual&quot; VSCode, but its fork code-server, that takes VSCode and modifies it to run in a browser.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cdr&#x2F;code-server</a><p>This package just installs code-server on Google Colab, whatever that is.<p>Hosted VSCode instances that Microsoft has on Azure and in beta on GitHub are a different thing and are not open source.
评论 #24710414 未加载
评论 #24708806 未加载
评论 #24709637 未加载
tmabrahamover 4 years ago
This uses Abhishek Thakur&#x27;s great package on GitHub here: <a href="https:&#x2F;&#x2F;github.com&#x2F;abhishekkrthakur&#x2F;colabcode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abhishekkrthakur&#x2F;colabcode</a><p>Video example by Abhishek: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;7kTbM3D02jU" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;7kTbM3D02jU</a>
评论 #24706107 未加载
square_usualover 4 years ago
That&#x27;s interesting, but do the Google Colab Terms of Service allow this? The article goes into how, but not if you&#x27;re allowed to. Until you&#x27;re certain it is allowed, I would suggest not using it. You don&#x27;t want to be locked out of your (at best) colab or (at worst) Google account because you wanted a fancy IDE.
评论 #24708121 未加载
评论 #24707197 未加载
syntaxingover 4 years ago
If everyone is uncomfortable with using an &quot;online IDE&quot;, you can accomplish the same thing with ngrok + vscode remote ssh [1].<p>[1] <a href="https:&#x2F;&#x2F;imadelhanafi.com&#x2F;posts&#x2F;google_colal_server&#x2F;" rel="nofollow">https:&#x2F;&#x2F;imadelhanafi.com&#x2F;posts&#x2F;google_colal_server&#x2F;</a>
qmmmurover 4 years ago
Gave it a try. Font&#x27;s rendered incorrectly and were unusable which is an obvious deal breaker when you&#x27;re trying to Code in a seriffed fallback. It was really slow which is my entire experience of all Jupyter&#x2F;Collab notebook style approaches to coding. I really don&#x27;t see what anyone else sees in this. If you want to collaborate with people just learn some tried and tested tools that are open and work.
johnisgoodover 4 years ago
&gt; modifies it to run in a browser.<p>The future is truly horrifying. I do not want to run my text editor in my browser. Soon our text editors will be hosted by Google or something, and we will edit files with them online. Ugh. Imagine requiring Internet connection and a browser just to edit a file on your computer! I know I am exaggerating a bit, but jeez, this direction sucks.
评论 #24710700 未加载
评论 #24710900 未加载
评论 #24710718 未加载
amrrsover 4 years ago
If you don&#x27;t want to use any package, it&#x27;s just a few lines of code that you can run at the top of your Colab - <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ATif5s5peHU" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ATif5s5peHU</a>
quyleanhover 4 years ago
Cool. Another online IDE for developer.<p>I used theia-ide of openshift.io. It&#x27;s good as well but sometimes the browser tab was freeze and I had to reload. A bit annoy. An other choice is Google Cloudshell.
评论 #24706098 未加载
brutuscatover 4 years ago
I wonder how this is different from Eclipse Che? <a href="http:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;</a>
ctl0over 4 years ago
Brilliant but it seems to me every colab hack requires ngrok or something similar to relay the traffic, which it&#x27;s sadly just too slow.
zb1plusover 4 years ago
Super cool but I&#x27;m curious if anybody has figured out how to use the VSCode Juypter notebook integration with Google Colab?
bugmen0tover 4 years ago
&gt; Now, we will start the VSCode server in the background at port 9000 without any authentication using the following command.<p>Great.
xriskover 4 years ago
Why not just use a service like repl.it? Is it just so you can use VSCode?
评论 #24706483 未加载
评论 #24710012 未加载
评论 #24707491 未加载
nevesover 4 years ago
Is there similar options to run it in a Zeppelin Notebook?
babuskovover 4 years ago
I&#x27;m curious. I know it&#x27;s great for one-offs, but is anyone actually using VSCode as their main tool when so many native IDEs and text editors are available?<p>I would love to know what&#x27;s your use case. Maybe I&#x27;m missing something big.
评论 #24708156 未加载
评论 #24708017 未加载
评论 #24714287 未加载
评论 #24711477 未加载