Skip to main content

A real-time file difference viewer with live updates

Project description

Live Differ

A real-time file difference viewer that automatically updates when files change. Live Differ provides an intuitive web interface for comparing files side-by-side with real-time updates when either file is modified.

Live Differ Screenshot

Features

  • Real-time file difference visualization
  • Side-by-side comparison view
  • Automatic updates when files change
  • Web-based interface
  • Modern command-line interface
  • Easy to use and configure

Installation

From PyPI

pip install live-differ

From Git

# Install latest version
pip install git+https://github.com/manthanby/live_differ.git

# Install specific version
pip install git+https://github.com/manthanby/live_differ.git@v1.0.0

Quick Start

  1. Compare two files:
live-differ file1.txt file2.txt
  1. Open your browser to view the comparison (default: http://127.0.0.1:5000)

  2. Edit either file and see the changes update in real-time!

Usage Examples

Basic Usage

# Compare two files
live-differ path/to/file1.txt path/to/file2.txt

Advanced Options

# Use custom host and port
live-differ file1.txt file2.txt --host 0.0.0.0 --port 8000

# Enable debug mode
live-differ file1.txt file2.txt --debug

# View all options
live-differ --help

Configuration

You can configure Live Differ using environment variables:

# Set custom host and port
export FLASK_HOST=0.0.0.0
export FLASK_PORT=8000

# Enable debug mode
export FLASK_DEBUG=1

Contributing

Interested in contributing? Check out our Contributing Guidelines for details on how to get started.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

live_differ-1.0.3.tar.gz (918.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

live_differ-1.0.3-py3-none-any.whl (904.3 kB view details)

Uploaded Python 3

File details

Details for the file live_differ-1.0.3.tar.gz.

File metadata

  • Download URL: live_differ-1.0.3.tar.gz
  • Upload date:
  • Size: 918.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for live_differ-1.0.3.tar.gz
Algorithm Hash digest
SHA256 48ae806a52b3b28050aa58fe5957480f34340847b1b98c8528e0f81f271d0ab4
MD5 0de7aeb441b317270fcd8f2e7daab9ba
BLAKE2b-256 355bbf3d15fcc3c7cbb0678d3feaad3ecbdfc2439c0172cdc84de06fef3286a3

See more details on using hashes here.

File details

Details for the file live_differ-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: live_differ-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 904.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for live_differ-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f45660340b491510ee79670e1c9b48413cc38351d3ef8474c41543effa740b5
MD5 182a22d137291faf21e7fe85d24c32bc
BLAKE2b-256 aed3573f36c31bf6717bbeb6fd0622b2833ede3202fca0cfa1291f3f7678156d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page