Note 11/17/2022 4:09:34 Pm | - Online Notepad
: Instead of saving the entire file every few seconds, only save the "diff" (the changes made) to minimize storage and allow for precise granular recovery.
: Always use the browser's LocalStorage as a buffer. This ensures that if the user's internet drops, they don't lose the "unsaved" version before it hits the server.
: Highlight what was added in green and what was removed in red when comparing two versions, similar to developer tools like Sublime Text or GitHub . Note 11/17/2022 4:09:34 PM - Online Notepad
: Generate a unique URL where the note is encrypted client-side, meaning even the server cannot read it without the user's password.
While many online notepads like aNotepad and Evernote focus on basic auto-saving, a robust versioning system addresses the risk of accidental deletions or overwrites in real-time collaboration or long-term note management. : Instead of saving the entire file every
: A split-screen view that renders rich text, tables, and checkboxes in real-time.
: Let users manually name a specific version (e.g., "Draft 1 Final" or "Meeting Notes Start") so they can find key points easily without scrolling through hundreds of auto-saves. : Highlight what was added in green and
: If the note is accessed on two devices simultaneously, use Operational Transformation (OT) or Conflict-free Replicated Data Types (CRDTs) to merge changes without one device overwriting the other.
