2015-09-10 15:19:06 +02:00
|
|
|
speculator allows you to preview pull requests to the matrix.org specification.
|
|
|
|
|
|
2015-09-11 18:15:03 +02:00
|
|
|
It serves the following HTTP endpoints:
|
|
|
|
|
- / lists open pull requests
|
2015-09-11 13:42:41 +02:00
|
|
|
- /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.
|
2015-09-14 12:03:54 +02:00
|
|
|
- /diff/html/123 which gives a diff of the spec's HTML at pull request 123.
|
2015-09-11 13:42:41 +02:00
|
|
|
|
2015-09-10 15:19:06 +02:00
|
|
|
To run it, you must install the `go` tool, and run:
|
|
|
|
|
`go run main.go`
|
2015-10-14 15:42:52 +02:00
|
|
|
|
|
|
|
|
To build the binary (which is necessary for deployment to the matrix.org
|
|
|
|
|
servers), you must again install `go`, and then run:
|
|
|
|
|
`go build`
|