Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

break down and process junky data into streams (think unix pipes for open data)

tree: 64d9a12b7f

Fetching latest commit…

Cannot retrieve the latest commit at this time

gut is a way to use publicly hosted web services to convert data between different formats

A gut web service (essentially a WebHook) has the following attributes:

  • accepts POST data containing a file or other data (such as CSV)
  • turns the incoming data into some other data format (e.g. an array of JSON objects)
  • sends the converted data back to the URL specified by the incoming requests HTTP "X-callback" header

That's it!

An example:

I'm writing a web app concerning public/open data and I want to allow people to upload CSV spreadsheets. Instead of writing a CSV parser from scratch i'm just going to use a gut-compatible CSV-to-JSON server that some nice person wrote.

Given I have the following file, cats.csv:


I can convert my file to JSON using curl:

curl -X POST -H "X-callback:" --data-binary @cats.csv

My server ( will receive the following HTTP POST:

content-type: application/json
content-length: 186
Connection: close


currently only a CSV and JSON related gut servicesare implemented, but you are encouraged to fork and add your own simple gut servers for common open data transformation formats. some useful ones might include:

MSOffice (.xls, .xlxs, .doc, .docx etc), ESRI Shapefiles and File GeoDatabases (.shp), SQL dumps (.sql), Address geocoder to lat/lng ("123 fake street")

Something went wrong with that request. Please try again.