11

Google Code Project Hosting recently adapted CodeMirror to allow for quick in-browser editing of code in a repository. This seems extremely useful! Unfortunately not all of my projects are open source.

Are there any other DVCS (Mercurial or Git) hosts that also have this feature but support closed-source projects? In particular, free would be nice (since I'd like to host personal projects with it and be able to tweak them in the browser); I'm a student, so if there's a discount or free mode due to that, that's cool too!

Ricket
  • 33,368
  • 30
  • 112
  • 143
  • As an aside the primary drawback of edit-on-web is that it pretty much guarantees you have code in the repository that hasn't passed your test suite. For some projects that doesn't matter at all, but for others it represents a real drop in quality control. – Ry4an Brase Apr 17 '12 at 13:32
  • Do you know if there is one for an in-house solution, Open Source? – johnny Apr 23 '15 at 14:09

5 Answers5

13

GitHub can do that. There is a “edit this file” button next to each code viewer.

See also the “Edit Online” section on Features / Hosting.

Update (May 2013)

Bitbucket recently introduced a online code editor, just like the one GitHub provides. As Bitbucket also offers free private repositories (up to 5 collaborators) this is definitely a good alternative to GitHub.

poke
  • 369,085
  • 72
  • 557
  • 602
5

GitLab version 3.0+ has a web editor now. Follow the installation instruction here. https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md

If the feature does not work, check this one as well.
https://github.com/gitlabhq/gitlabhq/issues/1761

Brian Cheong
  • 51
  • 1
  • 2
2

I'm looking for the same thing. So far I've found only the combination of http://c9.io/ (cloud9 ide) and bitbucket (both of them offer free accounts). I haven't tried it yet:

http://blog.bitbucket.org/2011/06/07/cloud9-ide-now-integrates-with-bitbucket/

kodingen.com looks very promising as well but at the time of this writing is in beta and the DVCS are disabled.

TryPyPy
  • 6,214
  • 5
  • 35
  • 63
frif
  • 21
  • 1
0

At long last Bitbucket can now also be used for online editing for both public as well as private repositories (free and paid both).

-2

Check out http://bitbucket.org for Mercurial.

Robert S.
  • 25,266
  • 14
  • 84
  • 116