Skip to content

PaperMC/diff-viewer

Repository files navigation

Featureful and performant web-based diff viewer.

Overview

Routes

  • /: 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.

Development

Setup

  • Install Bun 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.