An open API service indexing awesome lists of open source software.

https://github.com/getfrontend/app-diffly

Diffly is a modern web application that allows users to compare two text snippets and visualize the differences between them.
https://github.com/getfrontend/app-diffly

text-compare

Last synced: about 2 months ago
JSON representation

Diffly is a modern web application that allows users to compare two text snippets and visualize the differences between them.

Awesome Lists containing this project

README

        

# Diffly - Text Comparison Tool

Diffly is a modern web application that allows users to compare two text snippets and visualize the differences between them. Built with Next.js and styled with Tailwind CSS, this tool provides an intuitive interface for identifying insertions, deletions, and unchanged text.

![Diffly Screenshot](public/diffly_screenshot.png)

## Features

- **Text Comparison**: Compare two text snippets and see the differences highlighted
- **Visual Differentiation**: Insertions are highlighted in green, deletions in red, and unchanged text remains normal
- **Dark/Light Mode**: Toggle between dark and light themes for comfortable viewing in any environment
- **Export to HTML**: Save comparison results as an HTML file for sharing or future reference
- **Responsive Design**: Works seamlessly on desktop and mobile devices
- **Semantic Diff**: Uses advanced algorithms to provide meaningful, human-readable differences

## Technology Stack

- **Frontend**: Next.js 15, React 19
- **Styling**: Tailwind CSS
- **Diff Algorithm**: diff-match-patch library

## Usage

1. Enter or paste your original text in the "Text A" field
2. Enter or paste your modified text in the "Text B" field
3. Click "Compare Texts" to see the differences
4. Use "Export to HTML" to save the results
5. Click "Clear All" to start a new comparison