antoniotejada / obsidian-edit-history

Obsidian Edit History Plugin, automatically save all the edit history of a note, browse and restore previous versions
GNU Affero General Public License v3.0
55 stars 0 forks source link
diff-match-patch jszip obsidian-md obsidian-plugin obsidianmd

Obsidian Edit History Plugin

This plugin saves each edit done to a note into a edit history file, the edits can later be diffed or copied.

image

This is similar to the File Recovery core plugin with the following advantages:

Features

Usage

The edit history file

The plugin creates one edit history (.edtz) file per note, in the same folder as the note.

Format

The edit history file is a zip file with diffs using diff-match-patch.

The most recent version of the note is always stored in full in the zip file, so the edit history file does not depend on the note.

This most recent version may not be the latest version of the note if a non-zero time between edits was set.

Each entry in the file is named after the UTC epoch in seconds at which time the edit was made, encoded as chars, and ending in "$" if the entry is stored in full, otherwise stored as a diff.

Versions

Github releases

0.1.3 (2023-08-11)

0.1.2 (2023-08-11)

0.1.1 (2023-06-23)

0.1.0 (2023-06-17)

TODO