Skip to content

BuilderIO/SSDiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSDiff

The open-source tool for pixel-perfect website migrations

Diff

Use Cases:

  • Compare two URLs to achieve a pixel-perfect match
  • Ideal for website migrations to a new stack
  • Spot differences in similar-looking web pages
  • Open-source and customizable
  • Perform diffing in realtime without any hassle

Installation

If you want to run websites (automated) on a browser based environment and get PNG diffs for multiple paths and URLs use,

npm install ssdiff

Vite plugin

If you want to do the visual testing yourself on your browser by just adding ?_diff=true command, use our vite plugin. This will show you the output directly and compare it with two base URLs that you provide.

npm install -D vite-plugin-realtime-diff
// vite.config.ts
import { realtimeDiff } from 'vite-plugin-realtime-diff'

export  default  defineConfig(() => {
	return {
		plugins: [realtimeDiff('https://builder.io/')],
	}
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published