Electron.JS (or similar) on Go

agolangf · · 3563 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Are there any projects that currently offer similar functionality to Electron.JS? I know of Thrust, but the last commit was over a year ago...</p> <p>I love Go, but making a cross-platform GUI application seems to a challenge. I was thinking of termbox / termui ... but I have some reservations.</p> <p>Thanks.</p> <hr/>**评论:**<br/><br/>Sk1LLb0X: <pre><p><a href="https://github.com/oskca/sciter">https://github.com/oskca/sciter</a></p></pre>Xonzo: <pre><p>Very interesting, thanks for the link. </p></pre>szabba: <pre><p>Do I understand right, that the original Sciter thing (not the binding) is not FLOSS and gets linked dynamically?</p></pre>shazow: <pre><p>If I were building a GUI frontend in Go, I&#39;d probably use one of:</p> <ul> <li><a href="https://github.com/go-qml/qml" rel="nofollow">QML</a> (web-inspired syntax for building native GUIs)</li> <li>Straight-up <a href="https://github.com/visualfc/goqt" rel="nofollow">QT bindings</a></li> <li><a href="https://github.com/andlabs/ui" rel="nofollow">andlabs/ui</a> which is a custom native GUI library, a fairly ambitious project.</li> </ul> <p>Some more options here: <a href="https://github.com/avelino/awesome-go#gui" rel="nofollow">https://github.com/avelino/awesome-go#gui</a></p></pre>Mustermind: <pre><p>I started working on it, but decided it was much easier to go for ES6 instead. I really wouldn&#39;t recommend writing frontends in go, just because it doesn&#39;t really provide any benefits over regular javascript.</p> <p>I wouldn&#39;t call the DOM a strength of golang :P</p></pre>Xonzo: <pre><p>heheh noted. I &lt;3 Go though ;)</p></pre>Mustermind: <pre><p>Although it would be cool if someone used Electron bindings to create a UI framework in Go...</p></pre>Cykon: <pre><p>It would actually be pretty cool to see a version of webkit running with GO javascript hooks.</p></pre>zacheryph: <pre><p><a href="https://wiredcraft.com/blog/high-security-electron-js-application/" rel="nofollow">https://wiredcraft.com/blog/high-security-electron-js-application/</a></p> <p>They used electron with a Go backend (locally.) Can&#39;t read easily on my phone nor have I tried it but... If you are already comfortable with electron gives you just that with compiled go to call into (via http/rest interface I imagine)</p></pre>-Nii-: <pre><p>I made a repo awhile back with an early implementation of Go with Electron. It uses the main node process to spawn a Go executable. The backend communicates with the frontend react app using gRPC.</p> <p>Here&#39;s the <a href="https://github.com/nii236/graviton" rel="nofollow">link</a>!</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

3563 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传