Skip to content
nitu2126Public

About

A precision, line-by-line code comparison studio. 100% local, offline, and portable. MIT License.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DiffLens — Code Compare Studio

Version License Platform Electron Offline

A precision, line-by-line code comparison studio. 100% local, offline, and portable.

DiffLens is a professional-grade code comparison tool built for developers who need to spot differences quickly and accurately. It runs entirely on your machine — no uploads, no network calls, no dependencies.


📸 Screenshots

Main interface

Main interface

Dashboard view

Dashboard view

Compare views — split & unified

Compare views

About DiffLens

About DiffLens

Keyboard shortcuts

Keyboard shortcuts

Theme selection

Theme selection


✨ Features

  • Myers diff engine with patience anchoring for fast large-file comparison
  • Word-level highlights showing exactly what changed inside modified lines
  • Split & unified views with accurate minimap navigation
  • 20+ languages with live syntax colouring (JavaScript, TypeScript, Python, Java, C#, C/C++, Go, Rust, PHP, Ruby, Shell, SQL, Kotlin, Swift, HTML, CSS, JSON, YAML, plain text)
  • Inline live editing — compare and fix code in one place
  • 7 themes including Liquid Glass (iOS 27-inspired) and Liquid Glass Dark
  • Unified patch export (.patch) for git workflows
  • Animated intro splash with a professional About panel
  • Zero dependencies at runtime — no uploads, no network calls

📦 Download

Download DiffLens v1.0.0 →

File Type Description
DiffLens 1.0.0.exe Portable Run directly — no installation required
DiffLens Setup 1.0.0.exe Installer Adds to Start Menu and Desktop for quick access

First launch note: Windows SmartScreen may show a warning because the executable is unsigned. Click More info → Run anyway. This is standard for new open-source software.


🚀 Quick Start

  1. Download DiffLens 1.0.0.exe (portable) or DiffLens Setup 1.0.0.exe (installer)
  2. Double-click to run
  3. Paste or drop two files to compare

Keyboard Shortcuts

Key Action
Ctrl + Enter Run compare
N / P Next / previous change
U Toggle split / unified view
W Toggle line wrapping
M Toggle inline edit mode
S Swap sides
E Expand / collapse unchanged blocks
T Cycle through themes
? Show all shortcuts

🛠️ Building from Source

Prerequisites

Steps

# Clone the repository
git clone https://github.com/nitu2126/DiffLens.git
cd DiffLens

# Install dependencies
npm install

# Run in development mode
npm start

# Build the Windows executable
npm run build

The built executables will be in the dist/ folder.

Project Structure

DiffLens/
├── index.html              ← Main application (single-file HTML app)
├── main.js                 ← Electron main process
├── preload.js              ← Secure preload bridge
├── style.css               ← Additional styles
├── script.js               ← Additional scripts
├── package.json            ← Project configuration
├── electron-builder.json   ← Build configuration
├── installer.nsi           ← NSIS installer script
├── build.bat               ← Windows build helper
├── screenshots/            ← Application screenshots
├── LICENSE                 ← MIT License
└── README.md               ← This file

💻 Technical Details

Attribute Value
Platform Windows 10 / 11 (64-bit)
Runtime Electron (bundles Chromium + Node.js)
Diff Engine Myers O(ND) with patience anchoring
Architecture Single-file HTML application
Network Access None — fully offline
License MIT

🤝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines.

🔒 Security

DiffLens runs 100% locally and makes no network calls. See SECURITY.md for details.

📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

👨‍💻 Developer

Nitish Ghadage Version: v1.0.0 · Released: 10/08/2026


If you find DiffLens useful, please consider giving it a ⭐

Report Bug · Request Feature · Download

About

A precision, line-by-line code comparison studio. 100% local, offline, and portable. MIT License.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages