GithubHelp home page GithubHelp logo

go-calc-diff's Introduction

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.

go-calc-diff's People

Contributors

b5 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-calc-diff's Issues

Archiving this repo

In accordance with edgi-govdata-archiving/overview#217, we’re planning to archive this repo — it hasn’t seen updates in a year and a half and isn’t being actively maintained. It was originally made to assist in web-monitoring, but that project now uses a different solution for diff-match-patch style text diffing. If you’re subscribed to this repo but missed that conversation and think this repo should stay active, please post here to let me know in the next few days!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.