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 pnpm and execute pnpm install to install the required dependencies.
  • 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 pnpm run dev in /web.

Code Style

  • The frontend uses ESLint and Prettier for code style. Run pnpm run format to reformat and pnpm run lint to check style.