Skip to content

pietvanzoen/legendarygopher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legendary Gopher

Just playing around with Dwarf Fortress's legends export in Go.

Usage

The easiest way to get started is to download the latest release binary for your platform here:

https://github.com/schmichael/legendarygopher/releases

Then run it and pass in your legends xml:

legendarygopher some-legends-dump.xml

Once the xml is parsed open http://localhost:6060/ in a browser.

Need an XML file? Download a gzipped sample

Turning off the web interface dumps raw text:

legendarygopher -http="" some-legends-dump.xml

WARNING

Everything, including the package/repo name/location is subject to change without warning. If you want to use this code your best bet is probably just to copy and paste it into your own projet.

Go nuts!

Development

If you change templates you must install go-bindata and run go generate:

go get -u github.com/jteeuwen/go-bindata/...
go generate
go build
./legendarygopher -http=:6060 some-legends-dump.xml

Contributing

Pull requests welcome!

Check out https://github.com/schmichael/legendarygopher/issues for the roadmap.

About

Dwarf Fortress legends xml export viewer written in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 77.8%
  • HTML 21.9%
  • CSS 0.3%