Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

There are many open-source projects hosted online, and some of them offer a very convenient "browse" service, which allows me to browse their source code using a graphical interface in my browser and thus take a glimpse at a few interesting areas without the need for even having the source control program installed, let alone firing it up and connecting.

Some other projects, however, do not offer that service, but do allow anonymous access into their repositories.

My question is, are there some web services that can be fed the address of a different, remote repository, and then allow me to browse the code as if that browsing service was offered by the original site. I am especially interested in solution that can display SVN repositories, but would like to hear about solutions for other repository types as well.

EDIT: since so far I got 5 answers that do not answer my question, I'll try to clarify myself. I'm not looking for a software that I install locally, nor am I the owner of the code repository. I'm looking for an existing web service that allows me to browse a repository which is hosted somewhere else, not in the same place as that service. I guess there's just no such service available at this time.

share|improve this question
    
As of your clarification, I'd have to agree - There must be no such service. To me it doesn't even make sense for anyone to create a web service that browse repository else where. Maybe you should just go with launchpad as Don Kirby advised right below. webapps.stackexchange.com/questions/4765/… –  Cawas Oct 9 '10 at 19:38
add comment

5 Answers 5

Launchpad allows you to import another repository from several formats, including Bazaar and Subversion. You could import the repository you're interested in, and then browse the copy on launchpad. Other code hosting services may have similar import features.

Launchpad also allows you to mirror another Bazaar repository, so you would automatically get any updates. I couldn't find any services that do this for Subversion.

This meets your criteria of not installing anything on your workstation, but I suspect it's still more effort than you were hoping for.

share|improve this answer
add comment

It's not a web app, but if you have TortoiseSVN installed on your computer you can just use the built in Repo-browser to explore the source tree. Otherwise you could always setup one of the many web based SVN browsers yourself.

share|improve this answer
add comment

I believe that Trac allows you to do this.

Assembla.com offers Trac as well as the ability to display your svn repository in a web browser. SVN on Assembla in a Web Browser

Another solution (but not for svn for Mercurial) is Mercurial itself, from which a web server can be started. The easiest way to todo this is using TortoiseHg and selecting Web Server from the menu:

TortoiseHg Web Server

Finally then you'll be able to access it in your browser (the default port for this is 8000):

Mecurial in a browser

share|improve this answer
add comment

Redmine, now ok this is software that you have to install on a web server somewhere but if you're not interested in hosting it yourself, you could always find somewhere that would.

This allows you to browse source code from a variety of open source SCMs (eg SVN, mercurial, git) by creating a project and setting the appropriate details for the remote repo.

Its typically meant for you to browse your own repo, but there's nothing that stops it from browsing someone else's as long as you have the necessary access credentials.

Trac also does this, but again, you have to host an instance of it. Trac also requires you to set up an instance for each remote repository (ie you can only have 1 project per trac instance) but you can put several links to repositories into a single project - if you're tracking many different remote repos, this would probably become messy. You can create many projects in a single instance of Redmine.

There is no 'import' required, so you will always see the latest changes as you browse the projects, and you'll see them in their 'native' format so a git repo will look like a git repo, and not an imported one.

For self-hosting, a lot of website providers will give you a control panel that will let you install apps like redmine with 1-click.

share|improve this answer
add comment

I don't have any personal experience with it, but I've come across Fisheye.

http://www.atlassian.com/software/fisheye/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.