#820 Toy library to play with Haystack in Go (Golang)

Olivier Wulveryck Fri 29 May 2020

Hi,

This message is to inform that I made a toy library in Go to play with Haystack.

https://github.com/owulveryck/gohaystack

This library is very basic and limited by now. It is in puree Go, therefore it is cross compilable and can be easily exported to embedded devices (to build a basic haystack server for example). I did not try to compile it with Tiny Go, but it should also be possible. This would bring the possibility to build haystack interfaces on bare metal IOT I guess.

The main element of the library is a Grid object that can be serialised and deserialised in JSON (no zinc yet).

I use it to discover Haystack and TBH, I don't think it will ever be production ready.

Nevertheless, it is a commodity to build some tools.

For example there is a basic CLI tool that convert a JSON grid into a graphviz format for visualisation (I posted the carytown example):

https://github.com/owulveryck/gohaystack/tree/master/example/graph

The documentation is not straightforward though, if you want precisions, you can contact me.

Regards,

Olivier

Brian Frank Fri 29 May 2020

This is great Olivier, thanks for contributing. Would you like us to list your project in the Downloads page?

Olivier Wulveryck Fri 29 May 2020

Please, do (if you think it has a value for the haystack community).

Brian Frank Fri 29 May 2020

I added it

Mike Jarmy Fri 5 Jun 2020

Nice! Thanks Olivier

Login or Signup to reply.