/searcher-rs

Generic Search built in Tauri with Svelte

Primary LanguageRust

Tauri + Svelte + Typescript

A lot of this project is code from Spyglass, as it was the perfect base to start from handling most of the things I was after.

Screenshots

image image

Goals

  • Parses the config file - error popup if fails
  • Reloads config on change

TODO

  • Info window doesn't work once built might need to consult the discord 😥
  • Work out where the logs go - for windows especially
  • Modify the pipeline to run less often
  • On Lose focus hide window
  • Wildcard search (ALL?)
  • Allow searching across multiple fields, just don't do the highlighting
  • Make sure display name is working

Completed

  • Fix the config file path
  • initial search will search the configs
  • Screen position of the search bar in config
  • Application starts (on startup) to system tray
  • A global hotkey (similar to PrtScrn) opens up the search window
  • it will also accept hotkeys as defined in the config
  • Only display the selected fields, not necessarily the searched fields
  • Escape back to the initial search - maybe drive by config
  • Escape used as a back button rather than escaping the programing
  • Pressing escape/shortcut in the search window will close it and clear search
    • effectively resets the search

Config

  • config.yaml contains main config like
    • entries_to_show
    • fzf_algorithm
    • simliarty
    • shortcut
  • services/ contains a set of search configurations for the program
  • services/<unique_service_name>.yaml service configuration
    • name
    • etc.

Run

pnpm tauri dev