63
submitted 1 week ago* (last edited 1 day ago) by mxghj@programming.dev to c/rust@lemmy.ml

Renamed from Flux to Stryde

Hello everyone! I decided to create an application launcher inspired by Raycast, but for Linux - Stryde

I built the first version in 4-5 days and wanted to share it with you to get feedback, both good and bad.

Some highlights:

~0.1-0.2s opening time

~35MB RAM usage

Written in Rust using the Iced GUI framework

Instant search filtering

Supports Breeze, Papirus, and Adwaita icon themes

Works with system apps, user apps, and Flatpaks

Current features in v0.1:

Search and launch applications

Press Enter or click to open apps

ESC to close

Caching

Planned for v0.2:

Arrow key navigation (Already did it)

Built-in calculator for math expressions

More customization options

I'm 14 and this is my first major open-source project. I'd love to hear your feedback on features, performance, code quality, or any bugs you find.

Github: https://github.com/dest-lab/stryde

Tested on Arch Linux with Hyprland, should work on most distros

Hope you have an awesome day!

top 20 comments
sorted by: hot top controversial new old
[-] BB_C@programming.dev 9 points 1 week ago

A quick shallow look.

  • Avoid single hard paths. Provide fall-backs. Make them all configurable. Use xdg (properly)...etc.
  • Avoid .unwrap() or any source of panic!() for non-fatal things that can actually fail.
  • Make non strictly necessary fields optional in you model, if that helps.
  • Use .filter_map() and .collect() in your parsing code, instead of all the matches and continues in a for loop. You can use .ok()? to early-return with None on errors.
  • And finally, since you're micro-benchmarking, try speedy or borsh instead of bincode, unless you need the serde compat for some reason.
[-] victorz@lemmy.world 2 points 1 week ago

I don't know any Rust yet but this sounds believable af.

[-] SlurpingPus@lemmy.world 9 points 1 week ago

Unfortunately, there's already popular software called ‘flux’, or rather ‘f.lux’: the one that turns the screen redder in the evening to mirror the natural light. It's the app that did it first, predating this function in the OSes, and still doing it better than most ‘native’ implementations.

[-] mxghj@programming.dev 2 points 1 week ago

Thank you, i will change the name

[-] redsand@lemmy.dbzer0.com 2 points 1 week ago

I was thinking fluxbox the window manager.

[-] caseyweederman@lemmy.ca 2 points 1 week ago

I was thinking the capacitor

[-] thagoat@lemmy.dbzer0.com 8 points 1 week ago

Gave it a whirl, on Arch with wayland, but I kept getting a panic error. 1000004101

[-] mxghj@programming.dev 4 points 1 week ago

Maybe i fixed it, try again

[-] thagoat@lemmy.dbzer0.com 5 points 1 week ago

It's working now, I'll spend some time with it this week. So far, it seems stable and it responds to my keyboard shortcut. Has run everything I've searched for, and hasn't crashed.

That's all in about 5 minutes of testing, but I'll give it another review in a few dyas when I've had more time to put it through some paces.

Good work so far!

[-] mxghj@programming.dev 1 points 1 week ago* (last edited 1 week ago)

Thanks :), i have a few questions does it also consume ~30 mb of ram? and does it start up quickly?

[-] madmo@programming.dev 8 points 1 week ago

Nice project, I really like the minimal design!

I also experienced a panic on image load.

My rule of thumb for error handling: try to avoid unwrap. Use expect with a nice error message. And only use expect for stuff that should never fail. And bubbling up the errors to the top with ? is also useful.

[-] mxghj@programming.dev 1 points 1 week ago

Thanks i will fix that rn

[-] mxghj@programming.dev 2 points 1 week ago

Guys, do you have any ideas for a name?

[-] caseyweederman@lemmy.ca 3 points 1 week ago

Solder
Rosin Core
Tinned
SMC

[-] mxghj@programming.dev 2 points 1 week ago* (last edited 1 week ago)

I thought about it and came up with the name Rover or Stride, what do you think guys?

[-] pineapple@lemmy.ml 2 points 1 week ago

Yes I need this! Krunner is so slow.

[-] hdzki@lemmy.ml 1 points 1 week ago
[-] mxghj@programming.dev 1 points 6 days ago* (last edited 6 days ago)

Flux can also be customized but need to change colors in app code

there is an catppuccin frappe example

[-] mxghj@programming.dev 1 points 6 days ago

There is one disadvantage and one advantage flux consumes 30-40 MB of RAM but has 0-3% CPU usage, while Anyrun consumes ~160 MB of RAM but has 0-1% CPU usage.

[-] BB_C@programming.dev 2 points 6 days ago

With GPU rendering, you should learn about GPU processing and memory usage too, not that it would matter much for such a use-case.

nvtop is nice for displaying all that info (it's not nvidia-specific).

Also % CPU usage is not a good metric, especially when most people forget to set CPU frequencies to fixed values before measuring. And heterogenous architectures (e.g. big.LITTLE) make such numbers meaningless anyway (without additional context). But again, none of this really matters in this use-case.

this post was submitted on 29 Nov 2025
63 points (97.0% liked)

Rust Programming

9052 readers
7 users here now

founded 6 years ago
MODERATORS