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.
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
- Compare two files:
live-differ file1.txt file2.txt
-
Open your browser to view the comparison (default: http://127.0.0.1:5000)
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ae806a52b3b28050aa58fe5957480f34340847b1b98c8528e0f81f271d0ab4
|
|
| MD5 |
0de7aeb441b317270fcd8f2e7daab9ba
|
|
| BLAKE2b-256 |
355bbf3d15fcc3c7cbb0678d3feaad3ecbdfc2439c0172cdc84de06fef3286a3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f45660340b491510ee79670e1c9b48413cc38351d3ef8474c41543effa740b5
|
|
| MD5 |
182a22d137291faf21e7fe85d24c32bc
|
|
| BLAKE2b-256 |
aed3573f36c31bf6717bbeb6fd0622b2833ede3202fca0cfa1291f3f7678156d
|