Giter VIP home page Giter VIP logo

legendarygopher's Introduction

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.

legendarygopher's People

Contributors

schmichael avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.