github.com/glacials/tugnut/internal

a LiveSplit parser


License
MIT
Install
go get github.com/glacials/tugnut/internal

Documentation

Tugnut

Tugnut is a LiveSplit parser written in Go.

Building locally

go install ./...
tugnut

Now Tugnut is listening on port 8000 for requests. In another terminal you can give it a LiveSplit file:

curl localhost:8080/parse/livesplit -F splits=@/path/to/livesplit/file.lss

and you should receive a JSON interpretation of it back.

Running tests

go test ./...

Using Tugnut headlessly

You can use Tugnut's parsing code in your own Go project by importing github.com/glacials/tugnut/parser.