capy-ui / capy

💻Build one codebase and get native UI on Windows, Linux and Web
https://capy-ui.org
Mozilla Public License 2.0
1.61k stars 60 forks source link

zgt works great on PinePhone #8

Closed lupyuen closed 2 years ago

lupyuen commented 2 years ago

Hi: Thanks for the great work on zgt! Running it on PinePhone was incredibly easy, only took me a few hours to do this...

https://github.com/lupyuen/zig-pinephone-gui

I hope this will inspire PinePhone devs to create mobile apps with Zig and zgt. Thanks again :-)

zenith391 commented 2 years ago

That's awesome! As I don't have a PinePhone, I didn't knew if it could work on it but looks like it runs the GTK backend just fine. So now zgt runs on 4 platforms: Windows, Linux, PinePhone and WebAssembly :smile:

lupyuen commented 2 years ago

Yep zgt now supports web, desktop AND mobile! Looking forward to the production release of zgt :-)

lupyuen commented 2 years ago

FYI I have written an article to help PinePhone Devs get started quickly on zgt:

"Build a PinePhone App with Zig and zgt"

Thanks again :-)

lupyuen commented 2 years ago

Some interesting comments on Hacker News...

https://news.ycombinator.com/item?id=31863269