{"id":50962316,"url":"https://github.com/welpo/kawari","last_synced_at":"2026-06-18T15:33:29.948Z","repository":{"id":343658894,"uuid":"1147567593","full_name":"welpo/kawari","owner":"welpo","description":"Local, private diffs; shareable URLs.","archived":false,"fork":false,"pushed_at":"2026-03-19T10:56:07.000Z","size":2398,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T08:04:38.196Z","etag":null,"topics":["developer-tools","diff","local-first","privacy","vanilla-javascript","webapp"],"latest_commit_sha":null,"homepage":"https://diff.osc.garden","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/welpo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"github":"welpo"}},"created_at":"2026-02-01T23:51:36.000Z","updated_at":"2026-03-30T09:22:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/welpo/kawari","commit_stats":null,"previous_names":["welpo/diff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/welpo/kawari","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welpo%2Fkawari","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welpo%2Fkawari/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welpo%2Fkawari/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welpo%2Fkawari/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/welpo","download_url":"https://codeload.github.com/welpo/kawari/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welpo%2Fkawari/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34497366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","local-first","privacy","vanilla-javascript","webapp"],"created_at":"2026-06-18T15:33:27.837Z","updated_at":"2026-06-18T15:33:29.932Z","avatar_url":"https://github.com/welpo.png","language":"JavaScript","funding_links":["https://github.com/sponsors/welpo"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/welpo/kawari/main/app/logo.png\" width=\"120\" alt=\"kawari logo: two overlapping documents, one green and one red, representing diff comparison\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003ekawari\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#contributing\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-0?style=flat-square\u0026labelColor=202b2d\u0026color=0d9488\" alt=\"PRs welcome\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://diff.osc.garden\"\u003e\n        \u003cimg src=\"https://img.shields.io/website?url=https%3A%2F%2Fdiff.osc.garden\u0026style=flat-square\u0026label=app\u0026labelColor=202b2d\u0026color=0d9488\" alt=\"app status\"\u003e\u003c/a\u003e\n    \u003ca href=\"#license\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/welpo/kawari?style=flat-square\u0026labelColor=202b2d\u0026color=0d9488\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/welpo/git-sumi\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/clean_commits-git--sumi-0?style=flat-square\u0026labelColor=202b2d\u0026color=0d9488\" alt=\"Clean commits\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003ePrivate diffs. Shareable URLs.\u003c/h3\u003e\n\nA privacy-focused diff tool. Paste two texts, see what changed. No accounts, no tracking, works offline.\n\n## Features\n\n- No server; everything runs locally in the browser\n- Share via URL: diffs are compressed and encoded in the URL\n- Works offline as an installable PWA\n- Minimap: visual overview for navigating large diffs\n- Drag and drop files directly into the text areas\n- Download patch files compatible with `git apply`\n- Ignore options: whitespace, quote style (\" vs ')\n- Keyboard shortcuts:\n  - \u003ckbd\u003eCmd/Ctrl\u003c/kbd\u003e+\u003ckbd\u003eEnter\u003c/kbd\u003e: compare texts\n  - \u003ckbd\u003ej\u003c/kbd\u003e/\u003ckbd\u003en\u003c/kbd\u003e: next change\n  - \u003ckbd\u003ek\u003c/kbd\u003e/\u003ckbd\u003ep\u003c/kbd\u003e: previous change\n  - \u003ckbd\u003ee\u003c/kbd\u003e: edit (back to input)\n  - \u003ckbd\u003eShift\u003c/kbd\u003e+click on collapsed section: expand/collapse all\n\n## Contributing\n\nPlease do! I'd appreciate bug reports, improvements (however minor), suggestions…\n\nThe tool uses vanilla JavaScript, HTML, and CSS. To run locally:\n\n1. Clone the repository: `git clone https://github.com/welpo/kawari.git`\n2. Navigate to the app directory: `cd diff/app`\n3. Start a local server: `python3 -m http.server`\n4. Visit `http://localhost:8000` in your browser\n\nThe important files are:\n\n- `app.js`: UI logic and event handling\n- `diff.js`: diff algorithms (Myers, Patience) and patch generation\n- `diff.worker.js`: Web Worker for off-main-thread diffing\n- `styles.css`: styles\n- `index.html`: structure\n\n### Tests\n\nTests live in `tests/` and use Node's built-in test runner:\n\n```bash\nnode --test tests/*.mjs\n```\n\n- `patch.test.mjs`: verifies generated patches can be applied with `git apply`. Each test case in `tests/cases/` has an `original.txt` and `modified.txt`.\n- `normalization.test.mjs`: tests whitespace/quote normalization logic.\n\n## Need help?\n\nSomething not working? Have an idea? Let me know!\n\n- Questions or ideas → [start a discussion](https://github.com/welpo/kawari/discussions)\n- Found a bug? → [report it here](https://github.com/welpo/kawari/issues/new?labels=bug)\n- Feature request? → [let me know](https://github.com/welpo/kawari/issues/new?labels=feature)\n\n## License\n\nkawari is free software: you can redistribute it and/or modify it under the terms of the [GNU Affero General Public License as published by the Free Software Foundation](./COPYING), either version 3 of the License, or (at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelpo%2Fkawari","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwelpo%2Fkawari","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelpo%2Fkawari/lists"}