docs-matrix-spec/scripts/speculator
Kegan Dougal ede43fbe9f Modify how speculator uses git repos
Modified so it has a "master" repo and local A/B repos which pull from the
"master". This saves an extra git clone operation per HTTP request.
2015-09-30 14:31:26 +01:00
..
htmldiff.pl speculator: Add HTML diffing 2015-09-14 11:03:54 +01:00
main.go Modify how speculator uses git repos 2015-09-30 14:31:26 +01:00
README speculator: Add HTML diffing 2015-09-14 11:03:54 +01:00

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`