ArticleslgStudy

computer science

Etherpad

Etherpad is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Etherpad rather than just read about it. In short: Etherpad (previously known as EtherPad) is an open-source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits in real-time, with the ability to display each author's text in their own color. There is also a chat box in the sidebar to allow meta communication.

Etherpad — main illustration
Etherpad — illustration

Key takeaways

  • Etherpad belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Etherpad to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Etherpad from memory before moving on to harder problems.

Reference excerpt

Etherpad (previously known as EtherPad) is an open-source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits in real-time, with the ability to display each author's text in their own color. There is also a chat box in the sidebar to allow meta communication. First launched in November 2008, the software was acquired by Google in December 2009, and released as open source later that month. Further development is coordinated by the Etherpad Foundation.

Features and implementation Anyone can create a new collaborative document, known as a "pad". Each pad has its own URL, and anyone who knows this URL can edit the pad and participate in the associated chats. Password-protected pads are also possible. Each participant is identified by a color and a name. The software auto-saves the document at regular, short intervals, but participants can permanently save specific versions (checkpoints) at any time. Merging of changes is handled by operational transform. A "time slider" feature allows anyone to explore the history of the pad. The document can be downloaded in plain text, HTML, Open Document, Microsoft Word, or PDF format. Automated markup of JavaScript code was made available shortly after the launch. Etherpad itself is implemented in JavaScript, on top of the AppJet platform, with the real-time functionality achieved through Comet streaming. At the time of its launch, Etherpad was the first web application of its kind to achieve true real-time performance, a feat previously only achieved by desktop applications such as SubEthaEdit (for Mac), Gobby, or MoonEdit (both cross-platform). Existing collaborative web editors at the time could only achieve near-real-time performance. The client-side text editor in Etherpad and its Etherpad Lite fork is implemented using Appjet's in-browser text editor, written in JavaScript.

History

Launch Etherpad was launched on November 19, 2008, by David Greenspan, Aaron Iba, and J.D. Zamfirescu (the latter two being former Google employees). They were later joined by former Googler Daniel Clemens and designer David Cole. The original website was etherpad.com. Etherpad was covered by Slashdot on November 21, 2008, resulting in server slowdown and downtime. This led the developers to temporarily revert the tool to closed beta, not allowing new pads to be created (but providing full and unrestricted access to the existing ones), while the server infrastructure was being improved. After the rewrite of the software was completed, the new version went live on 29 January 2009, and on February 3, the site became again open to all.

Acquisition When Google Wave was announced, the Etherpad team wrote on their blog comparing the two platforms and stating that the minimalist and targeted Etherpad interface could be an advantage in some use cases. Still, on 4 December 2009, Etherpad announced on its blog that it had been acquired by Google for integration into Google Wave. Existing Etherpad users would receive invites for Google Wave. On 31 March 2010, Etherpad announced that creation of new pads would be allowed until April 14 (pad creation was still allowed as of April 18, though) and existing pads could still be accessed and used until May 14. Options for download/export were available. The Etherpad service terminated on May 14.

Open source Google released the source code for Etherpad under the Apache License version 2.0 on December 17, 2009. Subsequently, Google asked the Etherpad code maintainers to remove JSMin from its code tree due to a clause in its license stating, "The Software shall be used for Good, not Evil," which is not compatible with the open source licenses allowed on Google Code. After the release of the software as open source, a number of people have set up Etherpad servers, as clones of the original website. Soon after, users and programmers of Etherpad, after an initial meeting, created the Etherpad Foundation to coordinate further development. Their website maintains a list of a growing number of sites that run the Etherpad software.

Etherpad Lite Etherpad Lite is an almost complete rewrite of the original Etherpad software, based on different technical foundations and written by different authors. While the original Etherpad is written in Java and Scala and has quite demanding system requirements, Etherpad Lite is written in server-side JavaScript using Node.js. The original realtime synchronization library (called Easysync) remains the same. Etherpad Lite has some distinctive features which are not available in the original version:

An HTTP API which allows the user to interact with the pad contents, and with user and group management A jQuery plugin exists which helps embedding the collaborative editor in other sites Clients for PHP, Python, Ruby, JavaScript, Java, Objective-C and Perl, which interface with the API. More than 50 plugins, among them email_notifications, invite_via_email, offline_edit, fileupload, tables or rtc for video calls based on WebRTC. Etherpad Lite offers a number of export formats, including LaTeX, but as of June 2019, not Markdown. But there is an official addon to export in markdown. Etherpad Lite supports many natural languages. Localization is achieved collaboratively through translatewiki.net.

See also

Collaborative real-time editor Real-time text Sync.in — an application based on Etherpad

References

Illustrations

Etherpad illustration
Etherpad illustration

Worked examples

Example 1 — a first encounter with Etherpad

Start with the simplest possible case. Write down what Etherpad claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Etherpad before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Etherpad ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Etherpad

In research
Etherpad appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Etherpad in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Etherpad is common in secondary-school and first-year university syllabi. It links to neighbouring topics Collaborative real-time editors, Free software programmed in Java, Free software programmed in JavaScript, so understanding it makes those chapters shorter.
In everyday life
Look for Etherpad outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Etherpad” →

How to study Etherpad in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Etherpad means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Etherpad out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Etherpad in simple terms?

Etherpad (previously known as EtherPad) is an open-source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits in real-time, with the ability to display each author's text in their own color. There is also a chat…

Why does Etherpad matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Etherpad?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Etherpad.

Tags

  • Collaborative real-time editors
  • Free software programmed in Java
  • Free software programmed in JavaScript
  • Free software programmed in Scala
  • Google acquisitions
  • Software using the Apache license

Keep exploring