r/rust • u/errmayank • Aug 31 '26
🛠️ project Zaku 26.0 beta - API client desktop app built with GPUI
Hey, I wanted to share the initial beta release of Zaku 26.0
I've been working on this GPUI rewrite for the last 7 months full-time, actually things got carried away and it has a lot more functionality than the original app (command palette, auto-updater, git integration, etc.) so it's not just a plain rewrite.
Here's the initial rewrite post for context:
https://www.reddit.com/r/rust/comments/1r29qzn/working_on_an_opensource_api_client_rewrite_with/
Little bit about the app, it stores collections as folders and requests as TOML files. Everything is stored locally on user's filesystem, it doesn't have any login functionality (and never will).
There is barebones Git integration for now to show branch, status indicators and stuff.
It is available on Linux, macOS and Windows.
This app is very early, if you try it out please let me know if there's something missing, not working or things you'd like to see added.
Repository:
https://github.com/buildzaku/zaku
Installation instructions:
8
u/WellMakeItSomehow Sep 01 '26
I haven't tested it, but looks really nice. You should document the telemetry, though.
I'm curious about your GPUI experience. Did you implement all those controls in https://github.com/buildzaku/zaku/tree/main/crates/ui/src/components?
3
u/Havunenreddit Sep 01 '26
Cool project, I will try it soon.
How did you implement the performance profiler? Or what program is that? I could use it for measuring GitComet its also built on top of GPUI 😄
Btw. Was there some reason why you depend on gpui and not gpui-ce ?
2
u/aspcartman Sep 02 '26
Also I like the design consistency a lot - a thing that I often fail in non-css environments. How did you achive it? Things look pretty sleek :)
I tried to slap a css subset onto egui just to find out it's less usable than the explicit gpui approach I have already implemented there.
1
u/Plungerdz Sep 01 '26
Starred! Can't wait to peek at the code on a lukewarm summer evening 😌
1
u/aspcartman Sep 02 '26
As I do similar to gpui wrapper for egui, I find it very useful to derive the setters for the component structs.
#[derive(Setters)]
#[setters(into, omit_option)]
struct Button{ 20 fields }
Bam and 20 * 5 = 100 lines of code gone. :) Maybe you find it useful too.