11

I was wondering what are the existing service for sharing code. The only one I know is http://pastebin.ca/

What are the other alternative and what feature do they have ?

2
  • Perhaps you could clarify: are you looking for options for sharing projects and incorporating source control, or are you looking for options for sharing code snippets as a pastebin? I seem to have interpreted the question differently than others. Jul 8, 2010 at 15:23
  • ohloh Jul 9, 2010 at 12:53

11 Answers 11

8

There are 4 that I know of:

  1. http://bitbucket.org/ (for Mercurial Version Control)
  2. http://github.com/ (for Git Version Control)
  3. http://www.codeplex.com/
  4. http://sourceforge.net/

The big difference in features are that options 1 and 2 seamlessly integrate version control and allow you to have public and private projects. So you will be able to work with others on code without the whole world seeing it.

Options 3 and 4 allow version control but I am not sure how tightly integrated they are with certain version control systems. Also, my understanding is that you can't keep projects private in those 2 systems.

In general the Ruby community used github, the python community uses bitbucket, microsoft runs codeplex, and sourceforge is all about open source. Though I believe you can use any language with any of them.

For code snippets I think http://ideone.com/, http://friendpaste.com/, and http://jsfiddle.net/ are good. JSFiddle is especially awesome for editing and sharing Javascript.

1
  • 3
    github also have something called gist to share smaller pieces of code. It's like pastebin, but with version control. Jul 8, 2010 at 15:17
2

If you literally just want duplicate pastbin functionality I use Friend Paste. It allows you go comment on lines of code, edit friend's code, and even set a password that people have to enter to view it.

2

Forrst allows you to share code (and screenshots/links) and discuss them, currently in beta and invite-only but due to open up soon.

Here's an example post: Forrst screeny http://cl.ly/1aVE/Screen_shot_2010-07-08_at_16.38.25.png

1

See this question that also brings in executing the code. Answers regarding IDEOne and JSFiddle both offer pastebin functionality. Some of the others may as well.

0
1

For sharing, writing simple JS code http://www.jsbin.com/ is pretty cool!!

1

I use jsFiddle all the time for javascript prototyping or code snippet sharing.

0

Assembla is a good one. http://www.assembla.com It offers Git and SVN source code control, tickets, private/public options, user management, web viewing, etc. Prices start at free and move upwards from there. ;)

0

http://collabedit.com

Features Include:

  • Real time editing
  • Syntax highlighting
  • Sidebar Chat
  • History
0

If you want to share between fewer than ten people, then take a look at Fisheye: http://www.atlassian.com/software/fisheye/ - it's $10.

It hooks into a subversion repository, so you can see changesets of people's checkins. Another application which works well with Fisheye is Crucible, http://www.atlassian.com/software/crucible/ which works for code reviews.

0

Try Liveweave for HTML5, CSS3 & JS coding. It is awesome!

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