Giter Site home page Giter Site logo

loungy's Introduction

Logo
Loungy

Loungy is an application launcher in the vein of Raycast and Alfred.
It's built using GPUI, a GPU accelerated application framework for Rust.

Showcase

Loungy.mp4

Features

  • Launching apps
  • Calculator (including unit/currency/date conversions, thanks to Numbat)
  • Task manager (killing processes)
  • MacOS menu search
  • Clipboard manager
  • Tailscale peer list
  • Bitwarden password client (only viewing, not editing)
  • Matrix Chat client (very early WIP)

In the absence of a proper extension system (which is wanted, but still quite far out at this point) I am adding features I need, but that aren't universally useful behind cargo feature flags.

So far there is clipboard, tailscale, bitwarden and matrix. You can also build all optional features with cargo build --all-features --release.

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. There is some very rough Linux support. It's still very early since a lot of functionality in GPUI required for Loungy hasn't made it into the Linux GPUI yet (they are obviously focusing on getting Zed features running first).
  • 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. I kinda fixed this, but it's probably still wonky on multi display setups.
  • The hotkey is currently hardcoded to Opt+Ctrl+Cmd+Space Hotkeys are now rebindable, but it's still a bit sketchy since GPUI doesn't report raw keycodes, while the Tauri hotkey manager uses raw keycodes. To rebind you can simple select any command in the root search and use the Change Hotkey action.

Linux

Experimental Linux support. Building requires (on Fedora Wayland):

  • openssl-devel
  • wayland-devel
  • g++
  • fontconfig-devel
  • libxcb-devel
  • libxkbcommon-x11-devel
  • libxkbcommon-devel

Many features won't work yet, since I am using a lot of MacOS specific APIs for autofilling. So notably the clipboard and bitwarden features will need Linux specific implementations to get working.

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

loungy's People

Contributors

matthiasgrandl avatar unnamedd avatar bloeckchengrafik avatar eltociear avatar sonyarianto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.