matrix-doc/scripts/speculator
Daniel Wagner-Hall 7df3d9090a Merge pull request #81 from matrix-org/daniel/speculatormerge
speculator: Merge after fetching, so that /spec/head works
2015-10-02 07:33:34 -05:00
..
README speculator: Add HTML diffing 2015-09-14 11:03:54 +01:00
htmldiff.pl speculator: Add HTML diffing 2015-09-14 11:03:54 +01:00
main.go Merge pull request #81 from matrix-org/daniel/speculatormerge 2015-10-02 07:33:34 -05:00

README

speculator allows you to preview pull requests to the matrix.org specification.

It serves the following HTTP endpoints:
 - / lists open pull requests
 - /spec/123 which renders the spec as html at pull request 123.
 - /diff/rst/123 which gives a diff of the spec's rst at pull request 123.
 - /diff/html/123 which gives a diff of the spec's HTML at pull request 123.

To run it, you must install the `go` tool, and run:
 `go run main.go`