A blazing fast, local-first 2D workspace for diagnosing complex race conditions, multi-file security vulnerabilities, and architectural bugs using detective-style curved red strings.
β‘ One-Line Install β’ π¦ Direct Standalone Binaries β’ β¨ Key Features β’ πΈ Visual Proofs β’ π‘ How Git Watcher Works β’ β‘ Memory Benchmarks β’ β¨οΈ Shortcuts
Install (One-Line Command):
irm "https://raw.githubusercontent.com/ALL-FOR-ONE-TECH/ThreadTrace/main/install.ps1?v=1.0.4" | iexUninstall (One-Line Command):
irm "https://raw.githubusercontent.com/ALL-FOR-ONE-TECH/ThreadTrace/main/uninstall.ps1?v=1.0.4" | iexNote: Uninstall cleanly deletes the executable, shortcuts, and PATH entries while safely keeping your project files and databases intact.
Install (One-Line Command):
curl -fsSL https://raw.githubusercontent.com/ALL-FOR-ONE-TECH/ThreadTrace/main/install.sh | bashUninstall (One-Line Command):
curl -fsSL https://raw.githubusercontent.com/ALL-FOR-ONE-TECH/ThreadTrace/main/uninstall.sh | bashNote: Removes binaries (~/.local/bin/threadtrace or /Applications/ThreadTrace.app) while safely keeping all project files and investigation databases intact.
Download pre-built standalone binaries from the Latest GitHub Releases:
| Platform | Format | Download Link | Description |
|---|---|---|---|
| Windows x64 | Portable .exe |
Download ThreadTrace.exe | Single standalone file (~11.2 MB, zero install required) |
| Windows x64 | Setup .exe |
Download ThreadTrace_Setup.exe | Standard NSIS Windows Installer with uninstaller |
| Windows x64 | MSI Package | Download ThreadTrace.msi | Windows Enterprise MSI installer |
| macOS | Universal .dmg |
Download ThreadTrace.dmg | Intel & Apple Silicon (M1/M2/M3/M4) |
| Linux | AppImage | Download ThreadTrace.AppImage | Universal Linux standalone executable |
When investigating complex distributed race conditions, multi-file CVEs, or regression cascades, developers are forced to context-switch across dozens of editor tabs, ticket trackers, and terminal logs.
ThreadTrace brings the physical detective evidence board to your desktop workspace:
- Pin snippets, logs, and notes anywhere on an infinite 2D plane.
- Draw red evidence strings between connected clues with quadratic BΓ©zier droop physics.
- Live Git Watcher streams commit hashes and diff stats directly to the canvas in real time.
- Runs on ~18MB RAMβso lightweight you can keep it open 24/7 next to your IDE without consuming system resources.
βββ[0x01:BUG]βββ βββ[0x02:EVIDENCE]βββ
β AUTH_RACE βββββββββΊβ PROD_LOGS_409 β
βββββ¬βββββββββββ βββββ¬ββββββββββββββββ
βΌ βΌ
βββ[0x03:FIX]ββββββββββββββββ΄ββββββββββββββββ
β INFLIGHT_MUTEX_QUEUE_DEDUPLICATION β
βββββββββββββββββββββββββββββββββββββββββββββ
Spatial evidence board showing custom security tags (SECURITY:1, LEAK:1), dynamic radar minimap, and curved red evidence links.
Real-time diagnostics displaying live JS Heap memory sparklines, FPS render speeds, DOM node counts, and zero idle editor memory leaks.
Create custom classification tags with 8 phosphor color swatches, sub-labels, and instant preview badges.
Instant tag filtering to isolate critical CVE clues and sensitive evidence.
ThreadTrace includes an active Git Watcher daemon built directly into the Rust backend (git_watcher.rs):
flowchart LR
A[Local Git Repo] -->|notify crate / inotify| B[Rust Git Watcher Daemon]
B -->|transient cli: git log -1| C[Latest Commit Info]
B -->|transient cli: git diff --stat| D[Active Diff Summary]
C & D -->|Tauri Event Bridge| E[React Masthead Ticker]
E -->|Live UI Update| F[Investigator HUD Banner]
- Filesystem Monitor: Uses the Rust
notifycrate to watch.git/HEAD,.git/refs/heads/, and working tree files for modifications. - Non-Blocking Shell Exec: On file touch, executes lightweight non-blocking subprocesses (
git log -1 --onelineandgit diff --stat) to extract the latest commit message, hash, and modified files. - Zero-Latency Event Dispatch: Streams updates through the Tauri IPC event channel to the React masthead without polling.
- Offline / Web Fallback: Seamlessly switches to web local storage persistence when running in standard browser mode.
ThreadTrace is specifically engineered to eliminate the memory bloat of Electron-based apps:
| Metric | Electron-Based Tools | Standard Web App | ThreadTrace (Rust + React 19) |
|---|---|---|---|
| Base RAM Usage | 300MB β 650MB |
80MB β 150MB |
~18MB β 35MB β‘ |
| Active Editor Strategy | N instances mounted | N instances mounted | Single Active Mount (Prism read mode for idle cards) |
| Startup Time | 2.5s β 4.0s |
1.5s |
< 250ms π |
| Persistence | Remote Cloud / Heavy DB | LocalStorage only | Native SQLite (ACID) + LocalStorage Sync |
| Binary Size | 120MB+ |
N/A | 11.2 MB Standalone Executable |
- π΅οΈ Spatial Clue Canvas: Infinite panning (
Alt + Drag), zoom (Ctrl + Wheel/ HUD), and auto-relayout. - π§΅ BΓ©zier Red Strings: Connect cards with curved, drooping evidence threads.
- π·οΈ Dynamic Custom Tag Engine: Register custom tags (e.g.
SECURITY,LEAK,PERF,API) with 8 phosphor color swatches. - π‘ Auto-Bounding Radar Minimap: Real-time spatial radar that automatically scales to card coordinates with drag-navigation.
- π Real-Time Telemetry Monitor: Live memory, JS heap sparklines, FPS counter, and editor isolation.
- π Markdown Dossier Export: Generate one-click investigation markdown dossiers complete with Mermaid flowchart diagrams.
- πΎ ACID SQLite Persistence: All nodes, links, and tags are stored locally in
snippet_board.dbwith instant zero-server persistence.
# 1. Clone the repository
git clone https://github.com/ALL-FOR-ONE-TECH/ThreadTrace.git
cd ThreadTrace
# 2. Install dependencies
npm install
# 3. Run in Desktop Dev Mode
npm run tauri dev
# 4. Build Standalone Release
npm run build
npm run tauri build| Shortcut | Action |
|---|---|
| N | Add new snippet clue card |
| E | Open Project File Explorer & Source Slicer Drawer |
| T | Open Custom Tag Engine & Color Palette |
| Space + Drag / Left-Click Canvas | Fluid infinite canvas pan |
| Ctrl + Wheel | Smooth cursor-centered canvas zoom ( |
| 0 | Reset filter (Show all cards) |
| 1 .. 4 | Quick-filter by BUG, TASK, FIX, EVIDENCE |
| Ctrl + Z / Ctrl + Y | Undo / Redo board actions |
| Ctrl + K / / | Command Palette |
| Esc | Cancel evidence linking / Close active drawers |
| ? | Toggle Interactive Shortcuts Cheatsheet |
Distributed under the MIT Open Source License. See LICENSE for complete details. Free for both personal and commercial use.