<< Command Lines | Home | Apple and Adobe, Obituaries and Idealism >>

Collaboration in Bespin

Recently I've been working on adding collaboration features to Bespin, Mozilla's web code editor. Today they're getting pushed out into bespin.mozilla.com.

Enhanced collaboration is one of the best reasons to do an IDE on the web. It’s possible in a traditional IDE or code editor, but there are lots of features of a web based editor that make it an obvious thing to do on the web.

Our new collaboration feature is still fairly new, and like the rest of Bespin, still fairly beta, but we’ve got it working in Firefox, Safari and Chrome right now.

We’ve released a webcast showing it off here:

Taking it for a spin

Want a go real quick? Here are the steps:

  • Sign up or login to Bespin.
  • Press CTRL+J/CMD+J to open the command line.
  • Type 'follow joewalker' to get someone to share files with. I've shared a project called pubproj globally.
  • Type 'project list'. You should see joewalker+pubproj in your list of projects.
  • Type 'set collaborate on' to turn on shared editing.
  • Open a shared file by typing 'open /joewalker+pubproj/example.txt'.

Or, in one graphic:

You should then be in a collaborative editing session with the rest of the Internet.

Click on the collaboration icon (2 people) in the top right hand corner show you who's editing with you.

How it Works

There are 2 parts to what's new. Firstly there's a way to decide who you want to share stuff with and secondly there's the shared editor. We’re adding 3 or 4 new commands:

  • follow/unfollow: allow you to decide whose shared projects you want to see in your project navigator. We've gone for a lightweight Twitter style model so it's easy to get started. As we evolve Bespin this will become a way to get all sorts of information about the people you are working with

  • group: allows you to put the people you are interested in into groups to make it easy to manage sharing

  • share: allows you to export your projects read-only or editable to individuals, groups, or to everyone

Expressing an interest in someone is as easy as “follow username”. You can then group these users together to make sharing easier. So for me to add Kevin, Ben and Dion to a group, I would do “group add mozlabs Kevin ben dion”. Grouping people like this is totally optional, but it will make maintaining sharing rules a lot easier going forward, when you’re working on a number of projects.

Then if you want to share a project in read-only mode, to someone that is following you, you just type: “share add projectname username”. Replace username with groupname to share with one of your defined groups, or with “everyone” to just throw everything wide open. To allow editing you add “edit” to the end. So for ultimate wiki-like promiscuity: “share add projectname everyone edit”.

Projects shared to you by people you follow will now show up in your file-explorer, or you can edit them from the command line. Type “load /owner+projectname/path/to/file”.

Future Extensions

We’re currently using Mobwrite to provide the diffing and synchronization with some additions to allow us to share collaborator information. We’re hopeful that we will be able to share collaboration systems with a number of other editors in the future. Various developers are working on plug-ins for GEdit, Eclipse, emacs, etc.

Other things that we’re working on include plans for a quick share mode where you can grab a URL post it to an IRC session and instantly be in a shared edit session with the other IRC users.

We've also been discussing in-page chat. We've left it for now because many Bespin users will already have IM or IRC or even Skype or similar, and we want to do something smart with the chat transcripts other than just throwing them away.

Next we’ll be working on getting smooth undo so you have a time machine that can smoothly walk through changes from the current revision back in time through recent saves, and into VCS history, and then into a more lightweight collaboration where when 2 people have 2 check-outs of 1 file, they can both see each others changes to reduce merge pain, without directly affecting each others work.



Re: Collaboration in Bespin

Very cool, but the command-line bits feel very un-webby to me. Definitely an easy "share this project" link like Google Docs would be a great addition. Nevertheless, great progress!

Re: Collaboration in Bespin

Totally agree on the easy share option - we're working on it.

The point of the command line is to reduce the clutter in big IDEs, but I agree for basic use, the CLI should be optional.

Re: Collaboration in Bespin

Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!

Re: Collaboration in Bespin

Awesome stuff. I think this is actually usable already, keep up the good work!

Re: Collaboration in Bespin

I haven't seen much evidence of a Mobwrite plugin effort for Eclipse; can you point me towards that?

Re: Collaboration in Bespin

I don't know that the mobwrite / eclipse plug-in is public yet, but I've been lead to believe that development is underway.

Re: Collaboration in Bespin

Any news on Latex syntax highlighting? Bespin would be great for the scientific community to collaborate on Latex files. Going further, would a latex compiler 'in the cloud' be possible? Thanks -max

Re: Collaboration in Bespin

Seconded! I'd love LaTex syntax highlighting.

kerja part time

I'm very interested in your article, and I suggest you to browse some online stores to find something different.

Re: Collaboration in Bespin

good features.

Re: Collaboration in Bespin

Great post. Very informative. Site has been added to my RSS feed for later browsing.

Re: Collaboration in Bespin

Great work.

Re: Collaboration in Bespin

<a href = "http://www.homesearchfinder.com/">Home | <a href = "http://www.homesearchfinder.com/ca-homes.html">Real Estate | 3.5% FHA | <a href = "http://www.homesearchfinder.com/featured-listings.html">Real Estate | <a href = "http://www.homesearchfinder.com/forum/">Real Estate | 100% VA | <a href = "http://www.homesearchfinder.com/instant-prequal-and-apply.html">Mortgage | <a href = "http://www.homesearchfinder.com/lending.html">Mortgage | Zero Down USDA | <a href = "http://www.homesearchfinder.com/ca-homes/fresno-madera/739-fresno-madera-additional-cities.html">Madera Acres Homes For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/inland-empire/438-loma-linda-ca-homes.html">Loma Linda Real Estate | Half Percent Down | <a href = "http://www.homesearchfinder.com/ca-homes/long-beach/746-long-beach-additional-cities.html">Signal Hill Home | <a href = "http://www.homesearchfinder.com/ca-homes/san-diego/753-san-diego-imperial-additional-cities.html">Lakeside Houses | 203 K FHA | <a href = "http://www.homesearchfinder.com/ca-homes/north-bay/756-sf-north-bay-additional-cities.html">Corte Madera House | <a href = "http://www.homesearchfinder.com/ca-homes/peninsula/757-sf-peninsula-additional-cities.html">Atherton Real Estate | Conventional Loans | <a href = "http://www.homesearchfinder.com/ca-homes/sacramento/380-galt-ca-homes.html">Galt Real Estate | <a href = "http://www.homesearchfinder.com/ca-homes/sf-valley/742-la-sf-valley-additional-cities.html">Westlake Village Houses | Jumbo Loans | <a href = "http://www.homesearchfinder.com/ca-homes/tahoe-reno/324-south-lake-tahoe-ca-homes.html">South Lake Tahoe Houses | <a href = "http://www.homesearchfinder.com/ca-homes/east-bay/755-sf-east-bay-additional-cities.html">El Sobrante Home | City Down Payment | <a href = "http://www.homesearchfinder.com/ca-homes/fresno-madera/739-fresno-madera-additional-cities.html">Coalinga Real Estate | <a href = "http://www.homesearchfinder.com/ca-homes/antelope-valley/736-antelope-valley-additional-cities.html">Quartz Hill Homes | 2yr BK Discharge OK | <a href = "http://www.homesearchfinder.com/ca-homes/bakersfield/737-bakersfield-additional-cities.html">Tehachapi Homes For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/inland-empire/414-desert-hot-springs-ca-homes.html">Desert Hot Springs Home | <620 FICO with No 12 mo lates | <a href = "http://www.homesearchfinder.com/ca-homes/la-west-south-bay/743-la-westside-south-bay-additional-cities.html">Palos Verdes Estates Homes For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/la-west-south-bay/743-la-westside-south-bay-additional-cities.html">Tulare Homes For Sale | 620+ FICO Ok | <a href = "http://www.homesearchfinder.com/ca-homes/north-bay/756-sf-north-bay-additional-cities.html">Cloverdale Houses | <a href = "http://www.homesearchfinder.com/ca-homes/san-diego/753-san-diego-imperial-additional-cities.html">El Centro Houses | 6% Seller Credit OK | <a href = "http://www.homesearchfinder.com/ca-homes/san-diego/753-san-diego-imperial-additional-cities.html">Imperial Beach Real Estate | <a href = "http://www.homesearchfinder.com/ca-homes/long-beach/746-long-beach-additional-cities.html">South El Monte Real Estate | 30 Yr Fixed | <a href = "http://www.homesearchfinder.com/ca-homes/slo-sb-santa-maria/760-slo-sb-santa-maria-additional-cities.html">Arroyo Grande Home | <a href = "http://www.homesearchfinder.com/ca-homes/la-central/451-cudahy-ca-homes.html">Cudahy Houses | 15 Yr Fixed | <a href = "http://www.homesearchfinder.com/ca-homes/north-bay/756-sf-north-bay-additional-cities.html">Sausalito Homes For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/slo-sb-santa-maria/760-slo-sb-santa-maria-additional-cities.html">Oceano Homes | 20 Yr Fixed | <a href = "http://www.homesearchfinder.com/ca-homes/modesto/261-salida-ca-homes.html">Salida Homes For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/sf-valley/742-la-sf-valley-additional-cities.html">Lennox Real Estate | 5 Yr Adjustable | <a href = "http://www.homesearchfinder.com/ca-homes/san-gabriel-valley/472-temple-city-ca-homes.html">Temple City Real Estate | <a href = "http://www.homesearchfinder.com/ca-homes/east-bay/212-fremont-ca-homes.html">Fremont Housing | 7 Yr Adjustable | <a href = "http://www.homesearchfinder.com/ca-homes/east-bay/211-oakland-ca-homes.html">Oakland House For Sale | <a href = "http://www.homesearchfinder.com/ca-homes/east-bay/214-livermore-ca-homes.html">Homes Livermore Ca | 10 Yr Adjustable

Re: Collaboration in Bespin

Great informative post indeed, video tutorial is very helpful. Thanks for sharing.

Re: Collaboration in Bespin

Share collaboration systems is the thing that made Baspin more useful for me. Thanks for the post and video.

Re: Collaboration in Bespin

Chat thing would be a great addition, I appreciate the idea. Thanks for the post.

Re: Collaboration in Bespin

The feature that things can be shared to specific group of people is great. Thanks for the awesome options.

Re: Collaboration in Bespin

great feature have been offered, I really like the application, its quite useful for my projects and assignments. Thanks for it.

Re: Collaboration in Bespin

I always wanted some application with these features to manage and share my projects, It is great for me. Thanks for sharing.

Re: Collaboration in Bespin

Very nice and helpful application, It made my work easy for me. Thanks for the tutorial and details.

Re: Collaboration in Bespin

Really great information and inspiration, both of which I like. Nice article with very strong content. I love reading it over again.Internet Marketing Company

Re: Collaboration in Bespin

Now a days I am finding things very new that I don't seen before. And today I came to know about Bespin.

Re: Collaboration in Bespin

Awesome stuff. I think this is actually usable already, keep up the good work! San Diego Web Design

Re: DWR version 3.0 Release Candidate 1

look our shop we sell cheap nfl jerseys

Re: Collaboration in Bespin

Anyone tried the new Firefox beta? I thinks its amazing. - Thanks - Joe Holt

Re: Collaboration in Bespin

It is really a useful and resourceful article about collaboration in Bespin. I've found the webcast show very helpful to see how it works. As mentioned - there are lots of features of a web based editor that make it an obvious thing to do on the web, it is worth experimenting. used auto parts

Add a comment Send a TrackBack