{"by":"da_rob","descendants":57,"id":40469592,"kids":[40471637,40487024,40474090,40470257,40472625,40478463,40472548,40471540,40479732,40472535,40470190,40470222,40480230,40471100,40472972,40473721,40470325,40469307,40474171],"score":309,"text":"Hi HN, I’m excited to share Spot, a simple, cross-platform, React-like GUI library for Go. It is just a few days old and has lots of missing features but I&#x27;m happy with the results so far, and looking for some design feedback.<p>Spot is designed to be easy to use and provide a consistent API across different platforms (mainly Mac &amp; Linux). It’s inspired by React, but written in Go, aiming to combine the best of both worlds: the easy tooling &amp; performance of Go with a modern, reactive approach to UI development.<p>Key features:<p>- Cross-platform: Leveraging FLTK[1] &amp; Cocoa[2], Spot works on Mac, Linux, and the BSDs with plans for native Windows support in the future.<p>- Reactive UI: Adopts a React-like model for building UIs, making it intuitive for those familiar with reactive frameworks.<p>- Traditional, native widget set: Utilizes native widgets where available to provide a more traditional look and feel.<p>Why I built it:<p>I was searching for a cross-platform GUI toolkit for Go that had a more traditional appearance, and none of the existing options quite met my needs. I then started playing with Gocoa and go-fltk and suddenly I worked on an experiment to see how challenging it would be to build something like React in Go, and it kinda evolved into Spot. ¯\\_(ツ)_&#x2F;¯<p>In 2024, is there a still place for classic desktop GUIs—even with a modern spin?<p>I’d love to hear your thoughts, feedback, and any suggestions for improvement. Also, contributions are very welcome.<p>Thank you for checking it out!<p>[1] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;pwiecz&#x2F;go-fltk\">https:&#x2F;&#x2F;github.com&#x2F;pwiecz&#x2F;go-fltk</a><p>[2] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;roblillack&#x2F;gocoa\">https:&#x2F;&#x2F;github.com&#x2F;roblillack&#x2F;gocoa</a>","time":1716578371,"title":"Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go","type":"story","url":"https://github.com/roblillack/spot"}