<< 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

It is need to good guide for web development. Your are doing here very well. regards, Granite Worktops

Re: Collaboration in Bespin

If you can add small description about video then users can understand it easily. Regards, iki

Re: Collaboration in Bespin

If you follow the stranded method then we can read easyly. Regards, Company Formation UK

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.

Re: Collaboration in Bespin

Bespin would be great for the scientific community to collaborate on Latex files. 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. free advertising |job|iphone repair

Re: Collaboration in Bespin

Considerably, the article is in reality the greatest on this noteworthy topic. I agree with your conclusions and will eagerly look forward to your next acai berry updates. Saying thanks will not just be sufficient, for best weight loss pills the wonderful clarity in your writing. I will immediately grab your rss feed to stay privy of any updates. Pleasant work and much success in your business dealings!

Re: Collaboration in Bespin

Sharing projects and files like this would be quite helpful for users who are new and not much experienced. I have did all the recommendations that has been outlined by you. The video that you have made is great and very much helpful for every users. I'm quite new to the site Bespin, I'm still learning about how I can make use of the site for my purpose. Thanks again for the wonderful post. Super Bowl Tickets | Multivariate Testing| Mobile Solutions

Re: Collaboration in Bespin

Twitter has changed the way people use the internet and we can see that every website and programs are supporting it. Changing the way people communicate has been changed with the advent of twitter. We also see here that Bespin also has added the function to add and remove followers. The option of following and unfollowing is quite useful. Online Promotional Code| Fortune Cookies

Re: Collaboration in Bespin

I must admit, very useful information for making a good research in university! Essays

Re: Collaboration in Bespin

Great stuff! Thanks! Web design company

Re: Collaboration in Bespin

I think it is a great idea to have a web based editor. I work for an Indianapolis web design company and I must say that I like what you are doing here. The new features are great and I like the "Twitter" like feel that makes this much more user friendly. If you ever need an Indianapolis SEO company please let me know. You have a great community here and thanks for the opportunity.

Re: Collaboration in Bespin

Very innovative approach. I like how the Twitter style "Follow" feature works. It seems like this has caught on and has been introduced to other web platforms and applications. My guess is that once Google Wave opens it's doors to the world (and not just the invite-only test group), that things will start to evolve more in that direction as well. I run a girls bedding site and would love to be able to collaborate with my site maintenance people in real time.

Re: Collaboration in Bespin

I think this is a great feature specially for newbies who are just arrived in to the scene recently. I would just love to see more of microcontroller programming these things pop up in the future.

Re: Collaboration in Bespin

Wow, That's really great news. Good work

Cheers,

Trimomo

Re: Collaboration in Bespin

that is definitely intense looking forward to try this Regards - Car Leasing

Re: Collaboration in Bespin

This is really looking great, I will have to try it. Web

Re: Collaboration in Bespin

Very innovative approach. I like how the Twitter style "Follow" feature works. It seems like this has caught on and has been introduced to other web platforms and applications. My guess is that once Google Wave opens it's doors to the world (and not just the invite-only test group), that things will start to evolve more in that direction as well. I run a Kawasaki Shoes site and would love to be able to collaborate with my site maintenance people in real time.

Re: Collaboration in Bespin

This is an awesome code editor that I use at my Sarasota computer repair shop. It is very interesting and useful. Many people have put alot of hard work into this and I really appreciate it. Thanks

Re: Collaboration in Bespin

This is such a neat application! I really am impressed with the great design behind this. I work for a cheap health insurance company and we need technology like this. It would make us work better.

Re: Collaboration in Bespin

Bespin is a best place to have this function. Seller for van leasing

Re: Collaboration in Bespin

Ahhh,that s definitely a good news, finally a real FOSS implementation of the heroku-style web code editor. Definitely going to play with this now that herokugarden's no longer supported.Greeting Sam Discount Vouchers | Facilities Management Jobs, FM jobs | Seo Company

Re: Collaboration in Bespin

As I'm not that much from a technical background so it took a lot of time for me to figure out the concept and utility of Bepsin but at last I could. The videos and instructions were of a great help. Thanks for sharing this wonderful piece of information. How to get a flat stomach at home | How to lose stomach fat | Flat stomach exercises

Re: Collaboration in Bespin

I love this code editor. I have had complete insanity with other editors such as Dreamwearver and front page. I think this is very impressive and I cant wait to use it more.

Re: Collaboration in Bespin

You guys are working on a must needed addition for all the browsers. this may be be new to some of the users but I think that all will be aware of the features it add to your browser. Combat Arms hacks

Re: Collaboration in Bespin

Great effort by all you guys. We are waiting for your premium release. Beta is also working fine though there are some minute issues. But nothing to worry about the product. quality web hosting

Re: Collaboration in Bespin

Whoa... this is definitely news. I'm researching more on this as well. EX0-101 Practice Exam Questions | gas fire pit

Re: Collaboration in Bespin

Great news, not a big professional in text editors but open source rulez. Garmin nuvi gps reviews

Re: Collaboration in Bespin

Wow this is looking very nice. This is an innovative idea that is sure to help millions of people. I'm going to have to see if I can get it as soon as possible for Firefox, as it will make working with our websites so much easier. Who won the superbowl

Re: Collaboration in Bespin

I have started to use webspin.It is a great application. Although I do prefer the earlier applications for this. Bathroom Studio Used Computers

Re: Collaboration in Bespin

I am happy to find your great way of writing, that's simply great, I always search for quality content. Thanks for sharing it here. Morning Wishes Birthday SMS

Re: Collaboration in Bespin

Re: Collaboration in Bespin

Re: Collaboration in Bespin

I was very pleased to find this site.I wanted to thank you for this great update!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. Web Development Melbourne

Re: Collaboration in Bespin

I hope to see in the future an option to have more control on privacy. So for certain projects, I could set different settings and work with different developers. Streamline Refinance

Re: Collaboration in Bespin

Really cool. The synergy between this Bespin feature and GitHub smacks me in the face when I read it.

Re: Collaboration in Bespin

Very cool! I hope to see in the future an option to have more control on privacy. So for certain projects, I could set different settings and work with different developers. May be, even to have an ‘enterprise’ option.. SEO Services

Re: Collaboration in Bespin

I know lots of developers are waiting to RC of this interesting dev-tool. Dating

Re: Collaboration in Bespin

Its awesome. It will be a great evolution in file sharing. It is much useful for software / application developers (free or commercial). They can let their customers know about file updates and download the latest versions. Great thing.

Add a comment Send a TrackBack