Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

🔍 Go diffing service for comparing changes to webpages

Notifications You must be signed in to change notification settings

edgi-govdata-archiving/go-calc-diff

Repository files navigation

Differ

first, install go, then cd to the folder, build & run. default port is 8080.

$ cd differ
$ go build
$ ./differ

It's only got one route: /, hit it with a & b query params, where a & b are urls to diff, eg:

http://localhost:8000/diff?a=http://www.apple.com&b=http://www.apple.com/a

an extra param format sets the output format, which takes one of html, htmlraw, text or json, default is html.

diffing settings can also be controlled by passing in additional query params, setting things like matchThreshold & matchDistance, in lieu of proper documentation, please see the NewDifferFromRequest func in differ.go.

About

🔍 Go diffing service for comparing changes to webpages

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published