An open API service indexing awesome lists of open source software.

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

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.