A local diff viewer for comparing your working directory to any branch, not just HEAD.
No forge, no push — just run it in your repo.
The quickest way — no install required:
uvx difflicious
Or with Docker:
docker run -it --rm -v "$PWD:/workspace" -p 5000:5000 insipid/difflicious
Then open http://localhost:5000 in your browser.
For regular use, install from PyPI:
pip install difflicious
difflicious
See INSTALLATION.md for Docker, source installation, and full configuration options.
If you prefer not to install globally, add one of these to your shell profile:
# via uvx
difflicious() { uvx difflicious "$@"; }
# via Docker (uses DIFFLICIOUS_PORT if set, otherwise 5000)
difflicious() { docker run -it --rm -v "$PWD:/workspace" -p "${DIFFLICIOUS_PORT:-5000}:${DIFFLICIOUS_PORT:-5000}" insipid/difflicious "$@"; }
Like your favourite forge, and then some:
DIFFLICIOUS_FONT environment variableAll options can be set via environment variable or CLI flag:
| Environment variable | CLI flag | Default | Description |
|---|---|---|---|
DIFFLICIOUS_PORT | --port, -p | 5000 | Port to listen on |
DIFFLICIOUS_HOST | --host, -h | 127.0.0.1 | Host to bind to |
DIFFLICIOUS_FONT | — | jetbrains-mono | Code font (--list-fonts to browse) |
DIFFLICIOUS_DISABLE_GOOGLE_FONTS | — | false | Use system fonts only |
DIFFLICIOUS_AUTO_RELOAD | --auto-reload / --no-auto-reload | true | Auto-reload on file changes |
DIFFLICIOUS_WATCH_DEBOUNCE | --watch-debounce | 1.0 | File watcher debounce delay (seconds) |
DIFFLICIOUS_DEBUG | --debug | false | Verbose debug logging |
See INSTALLATION.md for full configuration details.
See CONTRIBUTING.md.
Content type
Image
Digest
sha256:bb89c53db…
Size
41.5 MB
Last updated
2 months ago
docker pull insipid/difflicious