Skip to main content
⠀⢀⣤⣤⣤⣤⣀ ⠀⠀⢸⣿⣿⣿⣿⣿⣷⡀ ⠀⠀⠘⠉⠉⠙⣿⣿⣿⣷ ⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣧ ⠀⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⣆ ⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⣿⣿⡀ ⠀⠀⠀⠀⣴⣿⣿⣿⠟⣿⣿⣿⣷ ⠀⠀⠀⣰⣿⣿⣿⡏⠀⠸⣿⣿⣿⣇ ⠀⠀⢠⣿⣿⣿⡟⠀⠀⠀⢻⣿⣿⣿⡆ ⠀⢠⣿⣿⣿⡿⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⡇ ⢀⣾⣿⣿⣿⠁⠀⠀⠀⠀⠀⠈⠿⣿⣿⣿⡇
Background image

Litepad RTC Editor

In this experiment you can find the lightest-ever version of a real-time collaborative text editor. This project does not account for any complex features like user authentication or document persistence. It is just a text editor that allows multiple users to type in the same document in real-time with the less amount of code possible.

Open project
  • Experimental
  • JavaScript
  • WebSockets

About this demo

The Litepad editor is just 100 lines of code, yet it is a fully functional real-time collaborative text editor. It uses WebSockets to share messages across all the connected clients.

Future work

While this editor is designed to be as lightweight as possible, it can easily be extended with additional features like:

  • Authentication
  • Rich text editing
  • User location visualization
For now, though, it stands as a demonstration of the power of simplicity in software design.