{"id":22318320,"url":"https://github.com/kaishuu0123/text-diff-view","last_synced_at":"2026-04-07T16:01:20.900Z","repository":{"id":260793419,"uuid":"865149237","full_name":"kaishuu0123/text-diff-view","owner":"kaishuu0123","description":"A simple, fast, and privacy-focused text comparison tool powered by Monaco Editor. Compare text side-by-side with VS Code's diff engine and generate unified diff patches. Works completely offline. Available for Windows, macOS, and Linux.","archived":false,"fork":false,"pushed_at":"2026-04-02T13:34:11.000Z","size":1888,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-03T01:34:29.736Z","etag":null,"topics":["developer-tools","diff","diff-tool","electron","gui-diff","multi-platform","text-diff","tools","typescript"],"latest_commit_sha":null,"homepage":"https://sandbox.saino.me/text-diff-view/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaishuu0123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-30T04:12:06.000Z","updated_at":"2026-04-02T13:32:20.000Z","dependencies_parsed_at":"2024-11-21T02:25:23.507Z","dependency_job_id":"0b862804-b97b-4a0f-bff0-a3e9b8cec1b4","html_url":"https://github.com/kaishuu0123/text-diff-view","commit_stats":null,"previous_names":["kaishuu0123/text-diff-view"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/kaishuu0123/text-diff-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ftext-diff-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ftext-diff-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ftext-diff-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ftext-diff-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaishuu0123","download_url":"https://codeload.github.com/kaishuu0123/text-diff-view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaishuu0123%2Ftext-diff-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","diff","diff-tool","electron","gui-diff","multi-platform","text-diff","tools","typescript"],"created_at":"2024-12-03T23:13:07.092Z","updated_at":"2026-04-07T16:01:20.891Z","avatar_url":"https://github.com/kaishuu0123.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"128\" height=\"128\" src=\"https://raw.github.com/kaishuu0123/text-diff-view/main/build/icon.png\"\u003e\n\u003c/p\u003e\n\n# Text Diff View\n\n\u003ca href=\"https://github.com/kaishuu0123/text-diff-view/releases\"\u003e\n\n![GitHub Release](https://img.shields.io/github/v/release/kaishuu0123/text-diff-view)\n\n\u003c/a\u003e\n\nA simple, fast, and privacy-focused text comparison tool powered by Monaco Editor.\n\n- [Overview](#overview)\n- [Screenshots](#screenshots)\n  - [Features](#features-1)\n  - [Theme](#theme)\n- [Features](#features)\n- [Usage](#usage)\n  - [Basic Comparison](#basic-comparison)\n  - [Viewing Large Diffs](#viewing-large-diffs)\n  - [Generating Unified Diff](#generating-unified-diff)\n- [Demo](#demo)\n- [Download](#download)\n- [Support platform](#support-platform)\n- [Motivation](#motivation)\n- [Development](#development)\n  - [Recommended IDE Setup](#recommended-ide-setup)\n  - [Project Setup](#project-setup)\n    - [Install](#install)\n    - [Development](#development-1)\n    - [Build](#build)\n- [Technology Stack](#technology-stack)\n- [LICENSE](#license)\n\n## Overview\n\n**Text Diff View** is a straightforward diff viewer designed to instantly compare content entered into two text boxes. It operates entirely offline to ensure privacy and reliability, and supports **Unified Diff (patch format) generation** for seamless developer workflows.\n\n## Screenshots\n\n### Features\n\n| Main                                                                                          | Unified Diff                                                                                                  |\n| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |\n| ![Main](https://raw.github.com/kaishuu0123/text-diff-view/main/screenshots/20260207/main.png) | ![Unified Diff](https://raw.github.com/kaishuu0123/text-diff-view/main/screenshots/20260207/unified_diff.png) |\n\n### Theme\n\n| Light                                                                                                | Dark                                                                                                |\n| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |\n| ![Light Theme](https://raw.github.com/kaishuu0123/text-diff-view/main/screenshots/20260207/main.png) | ![Dark Theme](https://raw.github.com/kaishuu0123/text-diff-view/main/screenshots/20260207/dark.png) |\n\n## Features\n\n- **Side-by-Side Diff**: Compare text with Monaco Editor's powerful diff visualization\n- **Unified Diff Export**: Generate standard unified diff patches with syntax highlighting\n- **Offline First**: Works completely offline - no server required, your data stays local\n- **Theme Support**: Light and dark themes with synchronized editor and UI\n- **Cross-Platform**: Available for Windows, macOS, and Linux\n- **Monaco Editor**: Powered by the same editor engine used in VS Code\n\n## Usage\n\n### Basic Comparison\n\nSimply type or paste text into the left and right text boxes. The differences will be highlighted automatically.\n\n### Viewing Large Diffs\n\nTo test with a real-world example:\n\n1. Copy the contents of `example_texts/freebsd_sbin_route/left_82641e1.txt` from this repository to your clipboard and paste it into the left text box.\n2. Copy the contents of `example_texts/freebsd_sbin_route/right_158f319.txt` from this repository to your clipboard and paste it into the right text box.\n\n### Generating Unified Diff\n\nClick the **\"Show Unified Diff\"** button in the toolbar to:\n\n- View the differences in standard unified diff format (patch format)\n- Copy the patch to clipboard for use with `git apply`, `patch`, or other tools\n- See syntax-highlighted diff output with proper `---`/`+++` headers and `@@` hunk markers\n\n## Demo\n\nhttps://sandbox.saino.me/text-diff-view/\n\nIf you don't want to download the Electron app, try the web version.\n\nAlso available as a [Docker image](https://github.com/kaishuu0123/text-diff-view/pkgs/container/text-diff-view).\n\n## Download\n\n- [Download from releases](https://github.com/kaishuu0123/text-diff-view/releases)\n\n## Support platform\n\n- Windows (x64, arm64)\n- Linux (x64, arm64, AppImage, deb, rpm)\n- macOS (Intel, Apple Silicon)\n\n## Motivation\n\n1. Simple tool to compare left and right text\n1. Works offline (no server required)\n1. Multi-platform support (Windows, macOS, Linux)\n1. Generate unified diff patches for version control workflows\n\nThe difference calculation is done using [Monaco Editor (microsoft/monaco-editor)](https://microsoft.github.io/monaco-editor/). This project provides the Electron app wrapper and UI layout.\n\n## Development\n\n### Recommended IDE Setup\n\n- [VSCode](https://code.visualstudio.com/) + [devcontainer](https://code.visualstudio.com/docs/devcontainers/tutorial)\n\n### Project Setup\n\n#### Install\n\n```bash\n$ yarn\n```\n\n#### Development\n\n```bash\n$ yarn dev\n```\n\n#### Build\n\n```bash\n# For Windows\n$ yarn build:win\n\n# For macOS\n$ yarn build:mac\n\n# For Linux\n$ yarn build:linux\n```\n\n## Technology Stack\n\n- **Framework:** Electron\n- **UI:** React + TypeScript\n- **Editor:** Monaco Editor\n- **Styling:** Tailwind CSS\n- **Build:** electron-vite\n\n# LICENSE\n\nMIT\n\n---\n\nMade by [kaishuu0123](https://github.com/kaishuu0123) ✨\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaishuu0123%2Ftext-diff-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaishuu0123%2Ftext-diff-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaishuu0123%2Ftext-diff-view/lists"}