{"repo":"EmergingTravel/differ","free":true,"listed":false,"github":"https://github.com/EmergingTravel/differ","clone":"git clone https://github.com/EmergingTravel/differ.git","description":"Self-hosted online diff tool. Alternative to diffchecker.com","language":"JavaScript","stars":17,"topics":["diff","diff2html","javascript","nodejs","docker","docker-compose"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Self-hosted diff tool that compares two versions of text and saves the differences. A simple alternative to diffchecker.com. Features - Compare two versions of text and highlight the differences. - Save the differences with a unique shareable link. - Edit existing differences and save them as new versions. Installation 1. Copy .env.example to .env and change values if needed: - DB : connection string to PostgreSQL database - INSTANCES : number of PM2 instances inside a container - NODE ENV : development production - affects stack tracing on error pages 2. docker compose up -d --build Usage 1. Open service instance. 2. Enter the text in the left and right text areas. 3. Click the Compare button. 4. The differences will be highlighted. 5. Check the differences and make sure that everything is correct. 6. You can get back to editing source files if needed. Click Edit button. 7. Optionally add diff name. For instance, you can add a ticket number. 8. Click the Save button to save the differences. 9. Copy the link and share it with others. Also, you can edit existing differences and save them as new versions. 1. Open the link with the differences. 2. Click on the Edit button. 3. Edit the differences. 4. Click on the Save button to save the changes. 5. A new link will be generated. How it works 1. Unified diff of 2 texts is computed on client side 2. Diff is deflated (compressed with DEFLATE algo) also on client side 3. Resulting data is saved to database 4. When link is opened then","default_branch":null,"files":null,"tree":[],"storefront":"/r/EmergingTravel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EmergingTravel/differ/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}