Rosadn-Cozyme / loungy

Loungy is a WIP launcher in the vein of Spotlight, Alfred, Raycast.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loungy

Loungy

What

Loungy is a WIP launcher in the vein of Spotlight, Alfred, Raycast.

Why

Mostly as a learning/hobby project. It isn't (yet) intended to be used outside of experimentation. I got the idea while writing a Raycast plugin and getting frustrated with their limitations.

How

Initially I wrote it using Tauri as I am familiar with web technologies, but quickly got fed up with moving info from rust side to the webview. Around the same time the awesome folks from Zed open sourced GPUI, which is a Rust based GPU accelerated application framework. It instantly intrigued me due to its Tailwind CSS inspiration.

Credits

Loungy wouldn't be possible without the awesome open source ecosystem:

  • GPUI : The lovely framework
  • Numbat : Used as the calculator
  • Lucide : Amazing open source SVG icon-set
  • Catppuccin : The theme that makes everything look good
  • swift-rs : For providing a way to interface with accessibility APIs and other MacOS native stuff that I wouldn't know how to do with pure Rust
  • nucleo : Fuzzy searcher implemented by the team of my favorite modal editor Helix

Features

  • Launching apps
  • Calculator (including unit/currency conversions, thanks to Numbat)
  • Task manager (killing processes)
  • MacOS menu search

These features exist in the old Tauri based app and will be ported soon:

  • Bitwarden password manager
  • Tailscale peer list
  • Matrix Chat client

Development

Requirements

  • Xcode Apple Swift 5.9.2
  • Rust v1.75.0

Running

cargo run dev

Caveats

  • It is MacOS only, but I would love to support a Linux build in the future. That won't happen until GPUI adds Linux support.
  • Accessibility is still a nightmare. GPUI is lacking a proper accessible text input so currently I am implementing one myself. Screen readers or people with impairments please don't try to use this yet.
  • The window position is currently hardcoded, so depending on your screen resolution it might not be in the best position. Will be fixed as soon as there is an API for it in GPUI.
  • The hotkey is currently hardcoded to Opt+Ctrl+Cmd+Space

About

Loungy is a WIP launcher in the vein of Spotlight, Alfred, Raycast.

License:MIT License


Languages

Language:Rust 82.6%Language:Swift 17.4%