├── .all-contributorsrc ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── ci.yml │ ├── release.yml │ └── test-and-publish.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .prettierrc.json ├── .vscode └── settings.json ├── CNAME ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CREDITS.md ├── LICENSE.md ├── README.md ├── SECURITY.md ├── eslint.config.mjs ├── jest.config.js ├── package.json ├── postcss.config.js ├── scripts └── hulk.ts ├── src ├── __tests__ │ ├── diff-parser-tests.ts │ ├── diff2html-tests.ts │ ├── diffs │ │ ├── bad-escaping.diff │ │ └── large.diff │ ├── file-list-renderer-tests.ts │ ├── hogan-cache-tests.ts │ ├── line-by-line-tests.ts │ ├── printer-utils-tests.ts │ ├── side-by-side-printer-tests.ts │ └── utils-tests.ts ├── diff-parser.ts ├── diff2html.ts ├── file-list-renderer.ts ├── hoganjs-utils.ts ├── line-by-line-renderer.ts ├── rematch.ts ├── render-utils.ts ├── side-by-side-renderer.ts ├── templates │ ├── file-summary-line.mustache │ ├── file-summary-wrapper.mustache │ ├── generic-block-header.mustache │ ├── generic-empty-diff.mustache │ ├── generic-file-path.mustache │ ├── generic-line.mustache │ ├── generic-wrapper.mustache │ ├── icon-file-added.mustache │ ├── icon-file-changed.mustache │ ├── icon-file-deleted.mustache │ ├── icon-file-renamed.mustache │ ├── icon-file.mustache │ ├── line-by-line-file-diff.mustache │ ├── line-by-line-numbers.mustache │ ├── side-by-side-file-diff.mustache │ ├── tag-file-added.mustache │ ├── tag-file-changed.mustache │ ├── tag-file-deleted.mustache │ └── tag-file-renamed.mustache ├── types.ts ├── ui │ ├── css │ │ └── diff2html.css │ └── js │ │ ├── diff2html-ui-base.ts │ │ ├── diff2html-ui-slim.ts │ │ ├── diff2html-ui.ts │ │ ├── highlight.js-helpers.ts │ │ └── highlight.js-slim.ts └── utils.ts ├── terraform ├── main.tf ├── outputs.tf └── variables.tf ├── tsconfig.eslint.json ├── tsconfig.json ├── typings └── merge.d.ts ├── webpack.bundles.ts ├── webpack.website.ts └── website ├── favicon.ico ├── main.css ├── main.ts ├── robots.txt ├── sitemap.xml └── templates ├── helpers ├── block.ts └── partial.ts ├── pages ├── demo │ ├── content.handlebars │ ├── demo.css │ ├── demo.handlebars │ ├── demo.ts │ └── github-highlights.css └── index │ ├── content.handlebars │ ├── images │ ├── snapshot-1.png │ ├── snapshot-2.png │ └── snapshot-3.png │ ├── index.css │ ├── index.handlebars │ └── index.ts └── template.handlebars /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test-and-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.github/workflows/test-and-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | npm run lint:staged 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | diff2html.xyz -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CREDITS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/CREDITS.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/SECURITY.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/postcss.config.js -------------------------------------------------------------------------------- /scripts/hulk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/scripts/hulk.ts -------------------------------------------------------------------------------- /src/__tests__/diff-parser-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/diff-parser-tests.ts -------------------------------------------------------------------------------- /src/__tests__/diff2html-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/diff2html-tests.ts -------------------------------------------------------------------------------- /src/__tests__/diffs/bad-escaping.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/diffs/bad-escaping.diff -------------------------------------------------------------------------------- /src/__tests__/diffs/large.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/diffs/large.diff -------------------------------------------------------------------------------- /src/__tests__/file-list-renderer-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/file-list-renderer-tests.ts -------------------------------------------------------------------------------- /src/__tests__/hogan-cache-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/hogan-cache-tests.ts -------------------------------------------------------------------------------- /src/__tests__/line-by-line-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/line-by-line-tests.ts -------------------------------------------------------------------------------- /src/__tests__/printer-utils-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/printer-utils-tests.ts -------------------------------------------------------------------------------- /src/__tests__/side-by-side-printer-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/side-by-side-printer-tests.ts -------------------------------------------------------------------------------- /src/__tests__/utils-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/__tests__/utils-tests.ts -------------------------------------------------------------------------------- /src/diff-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/diff-parser.ts -------------------------------------------------------------------------------- /src/diff2html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/diff2html.ts -------------------------------------------------------------------------------- /src/file-list-renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/file-list-renderer.ts -------------------------------------------------------------------------------- /src/hoganjs-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/hoganjs-utils.ts -------------------------------------------------------------------------------- /src/line-by-line-renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/line-by-line-renderer.ts -------------------------------------------------------------------------------- /src/rematch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/rematch.ts -------------------------------------------------------------------------------- /src/render-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/render-utils.ts -------------------------------------------------------------------------------- /src/side-by-side-renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/side-by-side-renderer.ts -------------------------------------------------------------------------------- /src/templates/file-summary-line.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/file-summary-line.mustache -------------------------------------------------------------------------------- /src/templates/file-summary-wrapper.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/file-summary-wrapper.mustache -------------------------------------------------------------------------------- /src/templates/generic-block-header.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/generic-block-header.mustache -------------------------------------------------------------------------------- /src/templates/generic-empty-diff.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/generic-empty-diff.mustache -------------------------------------------------------------------------------- /src/templates/generic-file-path.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/generic-file-path.mustache -------------------------------------------------------------------------------- /src/templates/generic-line.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/generic-line.mustache -------------------------------------------------------------------------------- /src/templates/generic-wrapper.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/generic-wrapper.mustache -------------------------------------------------------------------------------- /src/templates/icon-file-added.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/icon-file-added.mustache -------------------------------------------------------------------------------- /src/templates/icon-file-changed.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/icon-file-changed.mustache -------------------------------------------------------------------------------- /src/templates/icon-file-deleted.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/icon-file-deleted.mustache -------------------------------------------------------------------------------- /src/templates/icon-file-renamed.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/icon-file-renamed.mustache -------------------------------------------------------------------------------- /src/templates/icon-file.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/icon-file.mustache -------------------------------------------------------------------------------- /src/templates/line-by-line-file-diff.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/line-by-line-file-diff.mustache -------------------------------------------------------------------------------- /src/templates/line-by-line-numbers.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/line-by-line-numbers.mustache -------------------------------------------------------------------------------- /src/templates/side-by-side-file-diff.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/side-by-side-file-diff.mustache -------------------------------------------------------------------------------- /src/templates/tag-file-added.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/tag-file-added.mustache -------------------------------------------------------------------------------- /src/templates/tag-file-changed.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/tag-file-changed.mustache -------------------------------------------------------------------------------- /src/templates/tag-file-deleted.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/tag-file-deleted.mustache -------------------------------------------------------------------------------- /src/templates/tag-file-renamed.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/templates/tag-file-renamed.mustache -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/ui/css/diff2html.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/css/diff2html.css -------------------------------------------------------------------------------- /src/ui/js/diff2html-ui-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/js/diff2html-ui-base.ts -------------------------------------------------------------------------------- /src/ui/js/diff2html-ui-slim.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/js/diff2html-ui-slim.ts -------------------------------------------------------------------------------- /src/ui/js/diff2html-ui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/js/diff2html-ui.ts -------------------------------------------------------------------------------- /src/ui/js/highlight.js-helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/js/highlight.js-helpers.ts -------------------------------------------------------------------------------- /src/ui/js/highlight.js-slim.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/ui/js/highlight.js-slim.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/src/utils.ts -------------------------------------------------------------------------------- /terraform/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/terraform/main.tf -------------------------------------------------------------------------------- /terraform/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/terraform/outputs.tf -------------------------------------------------------------------------------- /terraform/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/terraform/variables.tf -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/merge.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/typings/merge.d.ts -------------------------------------------------------------------------------- /webpack.bundles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/webpack.bundles.ts -------------------------------------------------------------------------------- /webpack.website.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/webpack.website.ts -------------------------------------------------------------------------------- /website/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/favicon.ico -------------------------------------------------------------------------------- /website/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/main.css -------------------------------------------------------------------------------- /website/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/main.ts -------------------------------------------------------------------------------- /website/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * -------------------------------------------------------------------------------- /website/sitemap.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/sitemap.xml -------------------------------------------------------------------------------- /website/templates/helpers/block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/helpers/block.ts -------------------------------------------------------------------------------- /website/templates/helpers/partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/helpers/partial.ts -------------------------------------------------------------------------------- /website/templates/pages/demo/content.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/demo/content.handlebars -------------------------------------------------------------------------------- /website/templates/pages/demo/demo.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/demo/demo.css -------------------------------------------------------------------------------- /website/templates/pages/demo/demo.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/demo/demo.handlebars -------------------------------------------------------------------------------- /website/templates/pages/demo/demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/demo/demo.ts -------------------------------------------------------------------------------- /website/templates/pages/demo/github-highlights.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/demo/github-highlights.css -------------------------------------------------------------------------------- /website/templates/pages/index/content.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/content.handlebars -------------------------------------------------------------------------------- /website/templates/pages/index/images/snapshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/images/snapshot-1.png -------------------------------------------------------------------------------- /website/templates/pages/index/images/snapshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/images/snapshot-2.png -------------------------------------------------------------------------------- /website/templates/pages/index/images/snapshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/images/snapshot-3.png -------------------------------------------------------------------------------- /website/templates/pages/index/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/index.css -------------------------------------------------------------------------------- /website/templates/pages/index/index.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/index.handlebars -------------------------------------------------------------------------------- /website/templates/pages/index/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/pages/index/index.ts -------------------------------------------------------------------------------- /website/templates/template.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/website/templates/template.handlebars --------------------------------------------------------------------------------