etherpad.org
Etherpad is a real-time collaborative document editor that runs on the user's own server. Every keystroke is attributed to its author and revisions are preserved, with a timeslider for reviewing a document's history. The Apache 2.0 code supports plugins for comments, images, tables, drawing, video chat, authentication and optional AI features.