A lightweight, local code diff compare tool that helps you quickly compare two pieces of code, with a dash of magic ✨.
Tags: Code Diff, Local Development, Automation, Quick Wins
Quick Code Diff is a tool that helps you quickly compare two pieces of code, highlighting added, removed, and unchanged lines, with a focus on simplicity and ease of use.
- Compare two pieces of code side-by-side, with added lines in green, removed lines in red, and unchanged lines in black
- Preserves newline characters, because we care about the little things
- Runs locally, no server dependencies, because we love freedom
- Highlights added, removed, and unchanged lines, because we love rainbows
- Save this repository to your local machine
- Run
python start_server.py
to start the server - Open a web browser and navigate to
http://localhost:<port>
(replace<port>
with the port number displayed in the terminal) - Paste your code into the two textareas and click "Compare" to see the diff
The tool uses the Diff library to compute the differences between the two pieces of code. The differences are then highlighted in the output, with added lines in green, removed lines in red, and unchanged lines in black.
This project is licensed under the MIT License. See LICENSE
for details.
Contributions are welcome! If you'd like to contribute to this project, please fork this repository and submit a pull request.
This project uses the Diff library, which is licensed under the MIT License.