Skip to content
Martin-R-DPublic

About

A fast, keyboard-driven app launcher for Windows. Built with Tauri 2 + React + Rust.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Keystrike

Keystrike

A fast, keyboard-driven app launcher for Windows.
Search apps, do math, convert units, browse the web, and run your own commands — all from one search bar.

Built with Tauri 2 + React + Rust


How It Works

Press Alt+Space from anywhere to open Keystrike. Start typing to search, press Enter to act on the selected result, and Escape to dismiss. Click the gear icon in the search bar to open Settings.

Keystrike sits quietly in your system tray and uses virtually no resources when idle. It indexes your installed applications on startup and ranks them by how often you use them — your most-launched apps always appear first.


Features

App Launcher

Just start typing an app name. Keystrike fuzzy-matches against all installed applications found in your Start Menu and Desktop shortcuts, ranked by match quality and usage frequency. Navigate with Arrow Up/Down or Tab/Shift+Tab, and press Enter to launch. When the search bar is empty, your most frequently used apps are shown.

Calculator

Type any math expression for an instant result.

Input Output
15% of 200 30
sqrt(144) 12
2^10 1024

Operators: +, -, * (or x, ×), / (or ÷), ^, % (modulo) — plus natural language like plus, times, divided by, and mod. Functions: sqrt, sin, cos, tan, log, ln, abs, exp, ceil, floor.

Type X% of Y for percentages. Press Enter to copy the result.

Unit Converter

Type a conversion as {value} {unit} to {unit} (you can use to or in).

Input Output
100 kg to lbs 220.46 lbs
72 F to C 22.22°C
10 km to miles 6.21 miles
1024 MB to GB 1 GB
2.5 hours to minutes 150 minutes

Supports weight, temperature, distance, data, and time. Press Enter to copy the result.

Script Commands

Drop .ps1, .py, .bat, .cmd, or .exe files into %USERPROFILE%\.keystrike\scripts\ (use Settings → General → Scripts → Open scripts folder, which also creates an example hello.ps1). Type the file name followed by arguments, e.g. hello Martin, and every line the script prints becomes a result.

  • A plain line is copied when you press Enter; a line starting with http:// or https:// opens in your browser.
  • For more control print JSON lines: {"title": "...", "subtitle": "...", "copy": "...", "url": "https://..."}.
  • Arguments are passed as separate arguments (never through a shell), scripts are stopped after 3 seconds, and at most 8 results are shown.
  • A script whose name matches a command keyword is ignored, since commands take priority.

Only run scripts you trust: they run with your normal user permissions.

File Search

Type file report to search file and folder names in your Desktop, Documents, Downloads, Pictures, Videos and Music folders. Every word must match; exact and prefix matches rank first. Press Enter to open, or Ctrl+Enter to show it in Explorer. The index is built in the background at startup and refreshed with Reindex Apps in the tray menu. Hidden items and folders like node_modules are skipped.

Window Switcher

Type win to list your open windows, or win firefox to filter them by title. Press Enter to bring the window to the front (minimised windows are restored). Keystrike's own windows are never listed.

Snippet Search

Type snip to list your text snippets, or snip email to search them by label, keyword, or content. Press Enter to copy the selected snippet (it clears from the clipboard after a minute). Create snippets in Settings → Commands.

Clipboard History

Type clip to browse the last 50 things you copied, or clip invoice to search them. Press Enter to copy an entry back, or Ctrl+Delete to remove it. History is kept in memory only (never written to disk), snippets copied by Keystrike are never recorded, and you can turn it off in Settings → General.

Currency Converter

Convert between currencies with live exchange rates, e.g. 100 usd to eur, eur in gbp, or 1,250 usd to jpy (an omitted amount means 1). Rates come from the European Central Bank via frankfurter.dev, refresh in the background every 12 hours, and are cached in rates.json, so the last known rates still work offline.

Web Search Prefixes

Type a prefix followed by a space and your query to search the web directly.

Prefix Provider Example
g Google g how to center a div
yt YouTube yt lofi hip hop
r Reddit r best mechanical keyboards
gh GitHub gh tauri examples
so Stack Overflow so rust lifetime error
wiki Wikipedia wiki Turing machine
ddg DuckDuckGo ddg privacy browser

Press Enter to open the search in your default browser. Every prefix is customizable in Settings, and partial prefixes show hints. If your query matches nothing else, a "Search Google" fallback always appears at the bottom.

Custom Commands

Create your own commands from the Settings dashboard — two types:

URL commands open or search any website.

  • Direct: keyword gt → https://github.com opens GitHub when you type gt.
  • Search: include {query} in the URL (e.g. https://github.com/search?q={query}) and whatever you type after the keyword fills it in — gt tauri searches GitHub. An optional fallback URL opens when no query is given.

Text snippets paste frequently used text. A snippet like ;email → you@example.com copies the text to your clipboard on Enter, then automatically clears it after 1 minute — unless you've copied something else in the meantime, in which case it's left untouched.

Process Manager

Use the /close command to find and terminate running applications. Type /close chrome, select the process from the fuzzy-matched list, and press Enter to terminate it. System processes are filtered out automatically.

Themes

Pick Dark, Light, or System and an accent color in Settings → General → Appearance. Changes apply immediately.

App Aliases

Give any app a short alias in Settings → General → App Aliases. Typing the alias exactly (for example ff) puts that app at the top of the results.

Quick Actions

Type lock, sleep, sign out, restart, shut down, or empty recycle bin to run a system action. Restart, shut down, sign out, and emptying the Recycle Bin ask you to press Enter a second time to confirm.

Settings Dashboard

Click the gear icon in the search bar to open Settings, where you can:

  • Edit any built-in keyword — rename g, gh, /close, and others to whatever you prefer.
  • Add, edit, and delete custom commands — manage your URL commands and text snippets.
  • Reindex apps and files — one click under General → Maintenance, same as the tray's Reindex Apps.
  • Change the global hotkey — open the General tab and record a new shortcut (default Alt+Space).

Changes apply instantly — no restart required.


Keyboard Shortcuts

Shortcut Action
Alt+Space (configurable) Toggle Keystrike (global, works from any app)
Enter Launch app / open URL / copy result / run command
Shift+Enter Launch the selected app as administrator
Ctrl+Enter Show the selected app (or file) in Explorer
Escape Hide Keystrike
Arrow Up/Down Navigate results
Alt+1 to Alt+8 Run the 1st to 8th result directly
Tab / Shift+Tab Next / previous result

System Tray

Keystrike runs in the system tray. Left-click to toggle the search bar, or right-click for options:

  • Show Keystrike — Bring up the search bar (same as Alt+Space)
  • Reindex Apps — Rescan your system for newly installed applications
  • Start with Windows — Toggle autostart on/off (enabled by default)
  • Quit Keystrike — Exit the application

Data Storage

Keystrike stores its data in %USERPROFILE%\.keystrike\:

File Purpose
app_usage.json Tracks how often you launch each app (for ranking)
window_position.json Remembers where you last positioned the window
commands.json Stores your customized keywords and custom commands
hotkey.json Stores your global hotkey
aliases.json Stores your app aliases
scripts/ Your script commands
rates.json Cached exchange rates
theme.json Stores your theme mode and accent color
config.json Stores first-launch flag and configuration

Building from Source

Prerequisites

Development

npm install
npm run tauri dev

Production Build

npm run tauri build

The installer will be generated at src-tauri/target/release/bundle/nsis/Keystrike_0.2.0_x64-setup.exe.


Tech Stack

  • Frontend: React 18, TypeScript, Tailwind CSS, Vite
  • Backend: Rust, Tauri 2
  • Search: Fuzzy matching via skim
  • Math: Expression evaluation via meval
  • Clipboard: Snippet handling via arboard
  • Packaging: NSIS installer via Tauri bundler

License

MIT

About

A fast, keyboard-driven app launcher for Windows. Built with Tauri 2 + React + Rust.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages