Fuck fsearch, really.
  • Kotlin 50.6%
  • Rust 47.1%
  • Shell 1.8%
  • Python 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alex 8d41096239 Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes
- GUI reconnects to the daemon; searches run concurrently and are cancellable
- Daemon follows the app unless "keep running in background" is on;
  systemd user units with socket activation and sd_notify
- Parallel initial scan with live progress; watcher no longer reports
  benign failures as degraded
- ext: query filter (ext:png,jpg, ext:!lock, ext:none) and "No ext" toggle
- Home view, per-place result grouping, sort direction fix
- Toolbar redesign, search field focus highlight, reliable pane dragging,
  disk view follows list selection, legend scrolls to the hovered slice
2026-10-25 21:23:48 +01:00
assets Set project homepage in metainfo 2026-10-22 20:40:17 +02:00
core Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
packaging Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
proto Merge main into M11 follow-up: PDF page protocol 2026-10-23 16:13:04 +02:00
scripts Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
third_party/fff Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
ui Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
.editorconfig M0: repo scaffold 2026-10-22 20:35:52 +02:00
.gitignore Packaging: release tree, Flatpak manifest and AppImage (M18, M18b) 2026-10-23 14:14:09 +02:00
Cargo.lock Reconnecting client, socket-activated daemon, parallel scan, ext: filter, UI fixes 2026-10-25 21:23:48 +01:00
Cargo.toml M10: daemon and ghidctl 2026-10-23 01:29:37 +02:00
LICENSE Add MIT license 2026-10-22 20:31:18 +02:00
README.md M0: repo scaffold 2026-10-22 20:35:52 +02:00
rust-toolchain.toml M0: repo scaffold 2026-10-22 20:35:52 +02:00

Ghid

Ghid is a native Linux desktop file search app. It offers instant, typo-tolerant filename search over a persistent index, optional offline semantic content search, and a Material 3 Expressive interface. The application ID is com.alex.ghid.

The authoritative design is docs/SPEC.md, which is kept local and not tracked.

Prerequisites

  • Rust stable with clippy and rustfmt (rust-toolchain.toml pins the channel).
  • JDK 25 (JetBrains Runtime). Gradle provisions it automatically through the foojay toolchain resolver, so you do not need to install it by hand.
  • Gradle is not required. Use the bundled wrapper, ui/gradlew, pinned to Gradle 9.8.2.
  • A running X11 session, or XWayland under Wayland, to see the UI window.

Rust workspace

Build and test everything from the repository root:

cargo build --workspace
cargo test --workspace
  • core/ghid-types: shared plain types (IDs, Kind) used across the core crates. More crates (ghid-config, ghid-store, ghidd, and so on) are added by later milestones.

Kotlin UI

The UI is a thin Compose Multiplatform desktop client in ui/. It holds no index state and talks to the daemon over a Unix socket once the IPC milestones land.

./ui/gradlew -p ui build   # compile and check
./ui/gradlew -p ui run     # open the window (title "Ghid", WM_CLASS com.alex.ghid)

On X11 the window's WM_CLASS is set to com.alex.ghid. This relies on the AWT internal field sun.awt.X11.XToolkit.awtAppClassName, so ui/build.gradle.kts adds the --add-opens flag that makes it reachable. If the field is unavailable, the class falls back to the default AWT name.

Repository layout

  • core/: Rust crates, one per module boundary (ghid-*).
  • ui/: Kotlin and Compose Multiplatform client, package com.alex.ghid.
  • docs/: specification and design notes (not tracked).