{"id":15288238,"url":"https://github.com/fornever/extdiff","last_synced_at":"2026-03-16T20:05:45.681Z","repository":{"id":38869648,"uuid":"65647903","full_name":"ForNeVeR/ExtDiff","owner":"ForNeVeR","description":"Compare documents using MS Word from the command line.","archived":false,"fork":false,"pushed_at":"2024-10-19T15:57:07.000Z","size":30,"stargazers_count":128,"open_issues_count":3,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-05T05:04:59.350Z","etag":null,"topics":["diff","microsoft-word","powershell"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/ForNeVeR.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"License.md","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}},"created_at":"2016-08-14T03:18:36.000Z","updated_at":"2025-02-04T21:46:35.000Z","dependencies_parsed_at":"2024-08-01T16:39:41.901Z","dependency_job_id":"436f4af3-4330-44d8-86b2-e71333ee9297","html_url":"https://github.com/ForNeVeR/ExtDiff","commit_stats":{"total_commits":26,"total_committers":7,"mean_commits":"3.7142857142857144","dds":"0.46153846153846156","last_synced_commit":"f05d9341f58ad4a1d84a53abc018143aa1ff0b31"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2FExtDiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2FExtDiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2FExtDiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2FExtDiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ForNeVeR","download_url":"https://codeload.github.com/ForNeVeR/ExtDiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289426,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["diff","microsoft-word","powershell"],"created_at":"2024-09-30T15:44:51.888Z","updated_at":"2026-03-16T20:05:45.645Z","avatar_url":"https://github.com/ForNeVeR.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ExtDiff [![Status Aquana][status-aquana]][andivionian-status-classifier]\n=======\n\nThis is a small command line script that will compare two files using Microsoft\nWord file comparison tool. Microsoft Word will be started using COM automation.\n\nIt is useful as a diff tool for Word-related file types.\n\n## Using via command line\n\nTo run the script, execute it through PowerShell like this:\n\n```console\n$ powershell -File Diff-Word.ps1 oldfile.docx newfile.docx\n```\n\nOr via the batch file:\n\n```console\n$ diff-word.cmd oldfile.docx newfile.docx\n```\n\n## Using the GUI form\n\n![UI Form Screenshot][docs.ui-form]\n\nTo run the GUI form, run the script `start-gui.cmd`: it will open a form that stays on top of all the system windows,\nand you can drag files from Windows Explorer to two text fields\n(first for the old document, and second for the revised document).\nWhen you click the **Compare** button, it will start Word application with chosen documents as in command line usage,\nand the form will lose the \"stay on top of all windows\" behavior.\nIt will regain this property again after the button **Clear** is clicked.\n\nIf you drop multiple files into either box, then the first element will be placed in the box where files are dropped, and the second one into the other box.\n\n## Using via Git Integration\n\nYou can also use this tool with git, so that `git diff` will use Microsoft Word\nto diff `*.docx` files.\n\nTo do this, you must configure your `.gitattributes` and `.gitconfig` to support\na custom diff tool.\n\n### `.gitattributes`\n\nTo configure your `.gitattributes`, open or create a file called\n`.gitattributes` in your git repo's root directory. Add the following text to a\nnew line in this file:\n\n```\n*.docx diff=word\n```\n\nIt is also possible to create a global `.gitattributes` file that will be\napplied to every repository in a system. To do that, create a file\n`.gitattributes` in your home directory, and then perform the following command:\n\n```console\ngit config --global core.attributesfile ~/.gitattributes\n```\n\n### `.gitconfig`\n\nTo configure your `.gitconfig`, open or create the file in your home directory.\nThen, add the following to your `.gitconfig`:\n\n```ini\n[diff \"word\"]\n\tcommand = \u003cpathToExtDiffFolder\u003e/diff-word-wrapper.cmd\n```\n\nReplace `\u003cpathToExtDiffFolder\u003e` with the path to this repo's\nlocation on disk.\n\n-------\n\nIdea taken from [TortoiseSVN diff-doc script][tortoisesvn-diff-doc].\n\nAdditional Documentation\n------------------------\n- [License (MIT)][docs.license]\n- [Changelog][docs.changelog]\n\n[andivionian-status-classifier]: https://github.com/ForNeVeR/andivionian-status-classifier#status-aquana-\n[docs.changelog]: CHANGELOG.md\n[docs.license]: License.md\n[docs.ui-form]: docs/ui-screenshot.png\n[status-aquana]: https://img.shields.io/badge/status-aquana-yellowgreen.svg\n[tortoisesvn-diff-doc]: https://sourceforge.net/p/tortoisesvn/code/27268/tree/trunk/contrib/diff-scripts/diff-doc.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffornever%2Fextdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffornever%2Fextdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffornever%2Fextdiff/lists"}