Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

VS Code (code-server) on Google Colab / Kaggle Notebooks / Anywhere #2084

abhishekkrthakur started this conversation in Show and tell
Discussion options

I made a small library/tool that one can use to have code-server on any machine which is connected to the internet (inspired by a recent article). I call it ColabCode. This is a small video I made demonstrating that: https://www.youtube.com/watch?v=7kTbM3D02jU

The repository is available here: https://github.com/abhishekkrthakur/colabcode

Quickstart:

  • install colabcode: pip install colabcode
  • import colabcode: from colabcode import ColabCode
  • run: ColabCode(port=10000, password="abhishek")

Please let me know how you like it :)

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

This is so cool! Definitely one of the quickest ways to start a code-server environment with https! I love how you preinstalled some extensions too.

Notebooks GIF

You must be logged in to vote
2 replies
Comment options

Can we use https://tunnelto.dev/ insted on ngork

Comment options

@abhay-ranawat Yeah, it seems totally possible. You would just have to modify it in https://github.com/abhishekkrthakur/colabcode/blob/master/colabcode/code.py and install tunnel, and run the tunnel command as a subprocess instead of utilizing the ngork library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /