Skip to content
shanoysincPublic

About

A fast, lightweight, keyboard-first launcher for Windows. Find apps, run commands, and get things done instantly.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Fyn logo

Fyn

A fast, keyboard-first launcher for Windows 11.
Press Alt+Space, type a few letters, press Enter.

Built with Tauri 2, Rust and React. Small, offline-first, no telemetry.


Features

Apps

  • Finds every app: Start Menu shortcuts (.lnk, plus non-web .url such as Steam games) and Store/MSIX apps.
  • Fuzzy search in Rust (nucleo): vsc finds Visual Studio Code, with the matched letters highlighted.
  • Smart ranking: match quality, prefix bonus and frecency (how often and how recently you open something).
  • Favorites: pin apps, commands, Settings pages and websites, reorder them, and open them with Ctrl+1…9.
  • Suggestions: your most-used apps on the home screen.
  • Favorites and suggestions show as an icon grid (up to 3 rows, arrow keys to move) or a short list. View all in the section header (or the "View All Favorites" command) opens the full set. Choose the layout in Settings.
  • Run as administrator, show in File Explorer, copy path.

Built-in tools

Type… You get
24*1.15, 15% of 80, sqrt(2) Calculator: the answer appears instantly; Enter copies it
g rust, yt lofi, gh tauri, w turing, ddg, b, npm, maps Search a site directly
anything Web search fallback with your default engine (Google, DuckDuckGo or Bing)
github.com, localhost:3000 Open the website
C:\Users, ~\Downloads, %APPDATA% Open the folder or file (Ctrl+Enter shows it in Explorer)
wifi, bluetooth, display, sound… Windows Settings pages (35+)
lock, sleep, restart, shut down, sign out System commands (restart, shut down and sign out ask you to confirm)
empty recycle bin, toggle windows dark mode More system commands
emoji Emoji picker with search and recently used
clipboard Clipboard history: search and paste text (and optionally images) you copied; opt-in, encrypted, never keeps passwords
#7c3aed, rgb(…), color Color picker: convert between HEX, RGB and HSL, or pick a color from anywhere on screen

Everything else

  • Configurable global shortcut (if the new one is taken, the old one keeps working).
  • Light, dark, or follow Windows, for Fyn only. Your PC's theme isn't touched.
  • Welcome screen on first run.
  • Signed auto-updates.
  • Tray icon, launch at login (on by default; turning it off sticks), single instance, hides when it loses focus, opens on the monitor under your cursor, acrylic background.

Clipboard history

Type clipboard to search and paste what you copied recently (Enter pastes into the app you were in). It's off until you turn it on, never leaves your PC, and protects sensitive copies in layers:

  1. Copies from password managers are never recorded: Fyn honours the "don't record" flags that 1Password, Bitwarden, KeePass and others set (the same ones Windows' own clipboard history uses), and ignores copies made while those apps are in front. You can add your own apps in Settings.
  2. Known secrets are never kept: API keys and tokens (GitHub, OpenAI, Anthropic, AWS, Stripe, Slack, Google, npm, JWTs…), private keys, credentials in URLs, PASSWORD= lines and card numbers (Luhn-checked). Patterns follow the gitleaks rule set.
  3. Password-like text is never kept: anything that looks like a generated password is dropped the moment it's checked, never written to disk or held in memory. Optionally, Fyn also takes it off the clipboard after a minute (if you haven't copied something else since), remembering only that the clipboard changed, never what was on it.
  4. Everything else is encrypted on disk with your Windows account (DPAPI), and deleted after 1, 7 or 30 days (max 200 items).
  5. Images are opt-in (Settings → Include images): screenshots and copied pictures, up to 50, each stored as an encrypted file with an encrypted thumbnail. Fyn can't read what's inside a picture, so a screenshot of a password would be kept; that's why it's off by default. Turning it off deletes the saved images.
  6. Pause for 15 minutes or until resumed, delete single items (Ctrl+Backspace) or clear everything; turning the feature off deletes it all.

No tool can recognise a human-chosen password like Summer2024! (it looks like ordinary text); that's what the short retention, Pause and delete are for.

Mini Apps

Small built-in tools with their own screen: Clipboard History, Clean Windows, Color Picker and Emoji Picker. Open them from the Mini Apps button next to Settings at the bottom of Fyn, or search for them by name. Add any of them to Favorites with the star on the Mini Apps screen, Ctrl+Shift+P or right-click.

Clean Windows frees disk space. It scans first (read-only) and shows what each category would free; nothing is deleted until you press Enter twice.

Category Default
Temporary files (older than a day), crash dumps & error reports, Recycle Bin On
npm, Yarn, pnpm, Bun and pip caches, Gradle caches On
Android emulators, Android SDK system images (picked one by one) Optional, off

Switch any category off with Space or a click; your choices are remembered. Protected names (default beacon and EMR) are never touched: anything whose name or path contains one is skipped, including emulators with that name and the system images they use. Paths are fixed and worked out in Rust, links and junctions are never followed, and files in use are skipped.

Keyboard shortcuts

Keys Action
Alt+Space Show / hide Fyn (configurable)
↑ ↓ / Enter Move / run
Ctrl+K All actions for the selected item
Ctrl+Enter Show in File Explorer
Ctrl+Shift+Enter Run as administrator
Ctrl+Shift+P Add / remove favorite
Ctrl+Shift+↑ ↓ Reorder favorite
Ctrl+Shift+C Copy path / URL
Ctrl+1…9 Open favorite N
Ctrl+, Settings
Ctrl+P (inside the color picker: type color) Eyedropper: Fyn hides and the pointer becomes a crosshair; click anywhere to grab that color (Esc cancels)
Esc Clear search, go back, then hide

Install

Download the latest .msi or -setup.exe from the Releases page and run it. Fyn starts in the tray. Press Alt+Space to open it.

Installed copies update themselves: Fyn checks for a new version shortly after it starts. You can also check from Settings → Updates.

Development

Prerequisites (one-time)

  1. Visual Studio Build Tools with the Desktop development with C++ workload, including a Windows 11 SDK:
    winget install Microsoft.WindowsSDK.10.0.26100
  2. Rust: the exact toolchain is pinned in rust-toolchain.toml and installed automatically by rustup.
  3. Bun 1.3+ (package manager and script runner): powershell -c "irm bun.sh/install.ps1 | iex". Vite and Vitest also need Node 22.22+ on your PATH.
  4. WebView2: preinstalled on Windows 11.

Git Bash users: if a build fails at the link step, Git's /usr/bin/link is shadowing MSVC's link.exe. Run the commands from PowerShell or a Developer PowerShell for VS.

Commands

bun install
bun run app:dev       # run with hot reload
bun run typecheck     # TypeScript
bun run test          # frontend tests (not `bun test`, which is Bun's own runner); test:all adds Rust
cd src-tauri; cargo test; cargo clippy
bun run app:build     # local release build + MSI / NSIS installers

Dev vs. installed builds

bun run app:dev runs as Fyn Dev (src-tauri/tauri.dev.conf.json), a separate app identity from the installed Fyn:

Installed Fyn Fyn Dev
Data (favorites, usage, settings) %LOCALAPPDATA%\dev.fyn.launcher %LOCALAPPDATA%\dev.fyn.launcher.dev
Default shortcut Alt+Space Alt+Shift+Space
Launch at login On by default Never registered
Tray name Fyn Fyn Dev

So both can run side by side, and nothing you do in dev touches your everyday favorites.

Developer menu

In dev builds, press Ctrl+Shift+D (or click DEV in the footer) to jump straight to any screen or state: the welcome screen, settings, emoji and color pickers, a simulated "update available" notice, success and error toasts, resetting onboarding, and reloading the UI. The menu isn't included in release builds.

Releasing

Maintainers: see docs/RELEASING.md. In short, bun run release patch bumps the version, tags it and pushes, and GitHub Actions publishes a signed release that installed copies pick up automatically.

Architecture

src-tauri/src/
  main.rs         wiring: plugins, setup, command registration
  commands.rs     IPC surface (every input validated)
  indexer/        app discovery
    shortcuts.rs    Start Menu .lnk/.url (IShellLinkW)
    packaged.rs     Store apps via shell:AppsFolder
    cache.rs        apps.json snapshot for instant startup
  search.rs       nucleo fuzzy match + ranking
  system.rs       system commands, Settings pages, URLs and paths
  clipboard/      clipboard history: watcher, secret detection, DPAPI encryption, paste
  miniapps/       built-in mini apps (clean.rs: Clean Windows scanning + cleaning)
  launcher.rs     ShellExecute open / runas, reveal in Explorer
  updater.rs      update check / install (tauri-plugin-updater)
  icons.rs        IShellItemImageFactory → PNG cache (4 parallel workers)
  store.rs        SQLite (WAL): pins, usage, settings
  state.rs        shared state + background re-index pipeline
  watcher.rs      Start Menu file watcher (debounced)
  hotkey.rs       global shortcut register / swap / suspend
  window.rs       show on active monitor, hide on blur, theme
  tray.rs         tray menu
src/
  App.tsx         launcher view (cmdk) + dev menu
  components/     Settings, Welcome, Emoji, Color, ActionPanel, icons
  lib/
    entries.ts      built-in commands, Settings pages, web search, URL/path detection
    calc.ts         calculator (a small parser, no eval)
    color.ts        color parsing and conversion
    fuzzy.ts        matcher for built-in commands
    ipc.ts          typed IPC

Performance

  • Instant open: the window is created once and only shown/hidden. Nothing is scanned on open.
  • Instant startup: the last catalogue loads from apps.json; a fresh scan runs on a background thread.
  • Icons extracted once: 4 parallel workers, cached as PNGs keyed by a hash of app id + shortcut timestamp, loaded lazily.
  • Search in Rust: nucleo matches a few hundred apps in well under 1 ms; stale responses are dropped so fast typing never flickers.
  • Lazy extras: the emoji data (~450 KB) only loads when the emoji picker opens.
  • Small release binary: LTO, codegen-units=1, panic=abort, stripped.

Security

  • Least-privilege IPC. The webview may only listen/unlisten to events (capabilities/default.json). It gets no file system, shell or HTTP access. Everything goes through Fyn's own validated commands.
  • Apps by id only. Launching an app takes an opaque id that the backend looks up in the catalogue it built itself, so the UI can't ask for an arbitrary program to run.
  • Everything else is validated in Rust:
    • System commands are a fixed list.
    • Settings links must match ms-settings:[a-z0-9-].
    • URLs must be http(s) with no spaces or quotes.
    • Typed paths must be absolute and exist.
    • The theme and search engine must be one of the known values.
  • Input limits. Queries are capped at 256 characters, ids at 2 KB, URLs at 2 KB and paths at 1 KB. Shortcuts must include a modifier.
  • No shell interpolation. Apps and paths open with ShellExecuteW; Explorer gets a single quoted absolute path and rejects quotes; SQL is parameterised.
  • Strict CSP. No eval, no remote content. The asset protocol can read only $APPLOCALDATA/icons/**.
  • Run as administrator always goes through UAC. Fyn never runs elevated itself.
  • The eyedropper captures the mouse and Esc only while you're picking a color: it takes the one click (so it doesn't reach the app underneath), then removes the capture. It gives up after 30 seconds.
  • Network use is limited to the update check. Updates are verified against the bundled public key before they install.
  • Clipboard history is opt-in and private by design: see Clipboard history above.
  • Release hardening. No dev tools, no context menu, reload disabled, no dev menu.

Roadmap

✅ Shipped in 0.1

  • App search with fuzzy matching, frecency ranking, suggestions, and favorites (apps, commands, Settings pages, websites; icon row or list)
  • Calculator, web search with site prefixes, open URLs and paths
  • System commands (lock, sleep, restart, shut down, sign out, empty Recycle Bin, Windows dark mode) and 35+ Windows Settings pages
  • Emoji picker; color picker with HEX/RGB/HSL conversion and a screen eyedropper
  • Clipboard history with layered privacy protection
  • Mini Apps, starting with Clean Windows (free disk space)
  • Right-click actions menu, welcome tour, light/dark/system theme for Fyn, launch at login
  • Signed auto-updates, one-command releases (bun run release), CI with ~390 tests

🔜 Next

  • Code-signed installer, so Windows stops showing the "isn't commonly downloaded" / SmartScreen warning
  • Unit and currency conversion in the calculator (5 km in mi, 20 usd in eur)
  • Quicklinks: saved searches and links with a placeholder (jira {query})

💡 Later

  • File search (Everything SDK / Windows Search)
  • Window switcher, and window snapping (halves, thirds, other monitor)
  • Snippets and aliases (;email → your address, ps → Photoshop)
  • Beta update channel ("Get beta updates" in Settings)
  • A magnifier for the eyedropper, for picking small details

License

MIT. Use it, change it, share it; keep the copyright notice.

Credits

Emoji data from unicode-emoji-json and emojilib. The settings icon comes from Lucide (ISC licence).

About

A fast, lightweight, keyboard-first launcher for Windows. Find apps, run commands, and get things done instantly.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages