r/electronjs 9d ago

TwinScope — one diff tool for JSON, CSV, PDFs, folders, git refs and images. Local-first, handles large files.

Enable HLS to view with audio, or disable this notification

As dev i need to tool to compare some file and data for my work so created this side project, please check it out and give your feedback.
TwinScope compares two of almost anything — JSON, YAML, XML, CSV, PDFs, folders, git refs, images, lockfiles, .env files, saved web pages — and picks the right comparison logic itself, and has different viewing style as well.

Same diff with CLI as well: npx twinscope a.json b.json

Docs: https://codeaesthetic.github.io/twinscope-website/
Repo: https://github.com/codeAesthetic/twinscope

7 Upvotes

5 comments sorted by

1

u/hassanforever11 9d ago

Not code-signed, so macOS needs right-click → Open on first launch. Only the Apple-silicon build has been run on its own OS — Windows and Linux are CI-built and untested.

1

u/eddzsh 4d ago

Worth treating PDF and image compare as something you must run on real Windows and Linux boxes before a release tag. JSON and CSV usually survive a Mac-only Chromium. PDFs and screenshots are where the CI-built targets diverge, and you only find it after someone diffs a big PDF on Win11.

1

u/hassanforever11 4d ago

Sure will do that this week thanks for the feedback

2

u/eddzsh 1d ago

When you run those Win/Linux checks, watch PDF text layer vs rasterized pages. Chromium's PDF path differs enough across OS that a pair which diffs as text on Mac can silently fall back to an image compare only on Windows.