Settings

Theme

Coder (Visual Studio Code in browser) goes open source

coder.com

60 points by darrinm 7 years ago · 34 comments

Reader

wodenokoto 7 years ago

I used to work at a place where we all used the enterprise server version of RStudio, which also runs in a browser.

There was a lot of good thing about that setup. Nobody could walk home with code, and no code was lost on somebody laptop.

Execution happened on a server, much more powerful than any dev machine.

  • paulddraper 7 years ago

    >no code was lost on somebody laptop.

    Doesn't full disk encryption solve that as well as putting it in the cloud (and you'd need encryption anyway)

    • wodenokoto 7 years ago

      Not necessarily lost to a 3rd party. Just if somebody was working on fixing a blocker and doesn’t push progress before going home and then losing the laptop on the train or something.

      The real scenario would be “we need to finish this blocker that Jim is working on, but he is sick and hasn’t pushed progress to git.”

      As to syncing with cloud. Why not just have it on cloud and let people ssh into the server. And then do one better better, and give them a full IDE instead of teaching them emacs or vim.

  • iamgopal 7 years ago

    How often do you think, somebody walk home with code, happened ?

    • wodenokoto 7 years ago

      When you code on your laptop computer and push to git; every day.

      The problem wouldn’t actually be people taking code home, it would be taking the data they are working on, as this could be highly sensitive data (think medical history) and regulation wouldn’t allow for it to leave the company location.

      • BubRoss 7 years ago

        Your medical data goes straight to people's all day every phones through Epic's web interface.

Hortinstein 7 years ago

Has anyone tried this and compared it to https://www.theia-ide.org/?

First thing off the bat I notice is that Coder looks harder to deploy or try out, Theia was super easy, on the landing page they had a docker one liner:

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

  • eclipsenet 7 years ago

    The biggest difference vs dockerized theia and coder is I have access to the actual server instead of just the docker container.

    This means I have the full power of the underlying server, access to my docker on the host and any other features.

    This also means though that it is direct shell access over the web and should be locked down like Fort Knox.

    I've put this behind Traefik with httpauth for testing and it works well so far.

  • joecot 7 years ago

    theia looks pretty cool, but didn't look like intellisense was built in to that docker image. Is there an easy set of language plugins, and a way to get them to pop into that docker image?

  • nhooyr 7 years ago

    Dockerfile is being worked on.

andreigheorghe 7 years ago

Why does an open source browser code editor ask for my phone number to sign up?

  • garren 7 years ago

    This got me too. It looks like a neat project, but the phone number requirement seems a little off. There doesn't appear to be a real need for it and running through their privacy page isn't helpful.

  • nhooyr 7 years ago

    Its to prevent abuse as you get a real VM to run code server in.

ksynwa 7 years ago

Visual Studio Code in browser sounds a lot like Visual Studio Code itself.

johnymontana 7 years ago

Does it work well on iPad with an external keyboard? I've been surprisingly frustrated with the lack of support for iPad by in-browser IDEs.

NonEUCitizen 7 years ago

Requires a login to try. Should have non-login trial, or youtube video.

Wowfunhappy 7 years ago

It looks super easy to host your own server. The instructions consist of:

> 1) Download a binary (Linux and OSX supported. Windows coming soon)

> 2) Start the binary with the project directory as the first argument

> code-server <inital directory to open>

From: https://github.com/codercom/code-server

Disclaimer: I haven't actually tried it.

  • csixty4 7 years ago

    x86/x64 only, by the way. I couldn't get it to build VS Code on a Raspberry Pi and the binary releases are only for x86/x64.

anth_anm 7 years ago

Is this based on the same JS code editor as VS Code?

  • csixty4 7 years ago

    It is VS Code. The build script grabs a copy of VSC, patches it, and builds it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection