https://github.com/papermc/diff-viewer
Featureful and performant web-based diff viewer
https://github.com/papermc/diff-viewer
bits-ui cloudflare-pages comparison diff diff-viewer github patch svelte sveltekit tailwindcss webapp
Last synced: 3 months ago
JSON representation
Featureful and performant web-based diff viewer
- Host: GitHub
- URL: https://github.com/papermc/diff-viewer
- Owner: PaperMC
- Created: 2025-06-02T23:30:27.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-10-07T14:45:47.000Z (3 months ago)
- Last Synced: 2025-10-07T18:42:58.918Z (3 months ago)
- Topics: bits-ui, cloudflare-pages, comparison, diff, diff-viewer, github, patch, svelte, sveltekit, tailwindcss, webapp
- Language: TypeScript
- Homepage: https://diffs.dev/
- Size: 955 KB
- Stars: 27
- Watchers: 0
- Forks: 3
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Diff Viewer](https://diffs.dev)
Featureful and performant web-based diff viewer.
## Overview
### Routes
- [`/`](https://diffs.dev): Multi-file concise diff viewer
### Tech Stack
SvelteKit frontend using tailwindcss for styling, deployed to Cloudflare Pages via GitHub Actions.
### Web Extension
Web extension that streamlines opening diffs in the viewer.
- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/patch-roulette/)
- [Chrome](https://chromewebstore.google.com/detail/patch-roulette/feaaoepdocmiibjilhoahgldkaajfnhb)
## Development
### Setup
- Install [Bun](https://bun.sh/) and execute `bun install` in `/web` to install the required dependencies for the frontend.
- Install a JVM 21 or newer for the Gradle runtime (prefer a JDK to avoid extra downloads for a compiler).
### Testing
- The frontend can be tested with `bun run dev` in `/web`.
### Code Style
- The frontend uses ESLint and Prettier for code style. Run `bun run format` to reformat and `bun run lint` to check style.