Electron in nim like Tarui and Wails v2

2022-11-27 Thread alexeypetrushin
Update to my previous message, I was wrong. I misunderstood the goal of libraries like tauri, wails, nimview, webgui. I though those framework would allow you to develop UI in Rust/Go/Nim with HTML/CSS. But as it turned out, it's not the case. The UI had to be in JS or compile-to-JS. You can't

Electron in nim like Tarui and Wails v2

2022-11-26 Thread alexeypetrushin
[quote]Any UI that targets JS can be used[/quote]Hmmm, then what's the point of using webgui? If you target JS (with Karax), you can use Electron or any other WebView libs, you don't need any integration with Nim.

Electron in nim like Tarui and Wails v2

2022-11-26 Thread juancarlospaco
Any UI that targets JS can be used, including Karax, JS vanilla, SVG, Nim stdlib nimf, Nimx, canvas, Latex MathML, NodeJS UIs, etc.

Electron in nim like Tarui and Wails v2

2022-11-26 Thread alexeypetrushin
Ok, I see. It's a **low-level bridge** between WebView and Nim. It can be used to build simple forms etc. But can't be used for complex UI, as it would require some sort of higher level framework, like Karax etc.

Electron in nim like Tarui and Wails v2

2022-11-25 Thread juancarlospaco
https://juancarlospaco.github.io/webgui/#realminuslife-projects

Electron in nim like Tarui and Wails v2

2022-11-25 Thread alexeypetrushin
[quote]. I look at examples and still don't quite understand how to use it... having a classical UI example, like , that would highlight how to a) create content dynamically b) handle events c) read/write state would b

Electron in nim like Tarui and Wails v2

2022-11-25 Thread juancarlospaco
https://github.com/juancarlospaco/webgui

Electron in nim like Tarui and Wails v2

2022-11-25 Thread giaco
Sure. Why not?

Electron in nim like Tarui and Wails v2

2022-11-24 Thread matt
>From nimview, "Currently, the project is not in active development anymore. >There is tauri (written in rust) that has similar goals and is much more >advanced than nimview." Rust has Tarui and Golang has Wails v2. Could we have something like that?