Electron.JS (or similar) on Go

agolangf · 2016-02-14 19:23:35 · 3613 次点击    
这是一个分享于 2016-02-14 19:23:35 的资源,其中的信息可能已经有所发展或是发生改变。

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...

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.

Thanks.


评论:

Sk1LLb0X:

https://github.com/oskca/sciter

Xonzo:

Very interesting, thanks for the link.

szabba:

Do I understand right, that the original Sciter thing (not the binding) is not FLOSS and gets linked dynamically?

shazow:

If I were building a GUI frontend in Go, I'd probably use one of:

  • QML (web-inspired syntax for building native GUIs)
  • Straight-up QT bindings
  • andlabs/ui which is a custom native GUI library, a fairly ambitious project.

Some more options here: https://github.com/avelino/awesome-go#gui

Mustermind:

I started working on it, but decided it was much easier to go for ES6 instead. I really wouldn't recommend writing frontends in go, just because it doesn't really provide any benefits over regular javascript.

I wouldn't call the DOM a strength of golang :P

Xonzo:

heheh noted. I <3 Go though ;)

Mustermind:

Although it would be cool if someone used Electron bindings to create a UI framework in Go...

Cykon:

It would actually be pretty cool to see a version of webkit running with GO javascript hooks.

zacheryph:

https://wiredcraft.com/blog/high-security-electron-js-application/

They used electron with a Go backend (locally.) Can'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)

-Nii-:

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.

Here's the link!


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

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