code.pablomurad.com

patchwork

Publishes the revisions of your pages as a feed, with notes and readable diffs, written in Go

  1. f18feed
    Snapshot content folders and decide which edits become revisions
    
    Patchwork keeps the version history of pages that keep changing and
    publishes the revisions an author announces with a frontmatter note.
    This first commit is the core, with no feeds or HTTP yet.
    
    - slug: the moonflowersociety.org rule, checked against a parity table
      generated by the site's own JavaScript
    - doc: normalization, frontmatter, ignore regions, block splitting,
      plain text per block, word tokens, content hashes
    - diff: Myers on blocks and words, moves, modify pairing, excerpts
    - store: SQLite schema and migrations (pure Go, no cgo)
    - config: patchwork.yaml with defaults and env overrides
    - engine: baseline, silent, published, amended and folded revisions,
      two-scan removal
    - source/folder: scans with an upload settle time, watch with file
      events, debounce and polling
    - cli: init, scan, watch, log, diff, doctor, version
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    

    Pablo Murad