cwtuan
cwtuan

Reputation: 1861

Web-based VS code run in browser

Since VS code is built with electron, it's hard to run VS code in browser.

I saw there's a project (https://github.com/spiffcode/ghedit) making thing for that. But it's out of date. Is there any other active projects doing the same thing?

Or is there any other web-based IDE including file explorer, tab management, and git version control?

Upvotes: 4

Views: 7559

Answers (7)

jleviaguirre
jleviaguirre

Reputation: 706

MS Just announced VS code for the web called Visual Studio Online

Upvotes: 1

Sơn Trần-Nguyễn
Sơn Trần-Nguyễn

Reputation: 2228

If you don't want to host the editor yourself, you can try https://gitpod.io. It integrates well with GitHub, and you can add language support through custom Docker file.

GitPod uses Theia internally.

Upvotes: 1

Seb
Seb

Reputation: 6737

Also checkout https://github.com/theia-ide/theia

You run it on a remote server, and it provides you essentially a cut-down, self-hosted version of vs-code, that is accessible in the browser:

You can give it a try extremely quickly with docker:

docker run -it --init -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia:next

Upvotes: 2

mikestaub
mikestaub

Reputation: 2173

https://github.com/cdr/code-server

This project allows you to run vscode in the browser.

Upvotes: 6

ArnisAndy
ArnisAndy

Reputation: 336

One option is Cloud9. It's open source:

https://github.com/c9/core

I've written some instructions on how to use it as it can be a bit finicky.

One VSCode-based web editor to keep an eye on is Theia. There are docker images available to give it a whirl.

Upvotes: 5

fkpwolf
fkpwolf

Reputation: 391

StackBlitz, Online VS Code IDE for Angular & React.

Upvotes: 3

Gama11
Gama11

Reputation: 34138

The editor component of VSCode, called Monaco, runs in the browser.

Sourcegraph is also based on VSCode. It's not really an editor though, as files are read-only and it's used for viewing the contents of GitHub repositories.

Upvotes: 5

Related Questions