Skip to content
MaxMiksaPublic

About

A fast, zero-dependency file previewer for Windows with in-place editing.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

137 Commits

Folders and files

Repository files navigation

FlashPeek Logo

FlashPeek

A fast, zero-dependency file previewer for Windows with in-place editing.

Latest Release Platform License   简体中文

Select any file or folder in File Explorer or on the desktop and press Space, run flashpeek <path> from your terminal, or integrate any app via the standard host protocol.

FlashPeek rendering Markdown with tables, Mermaid flowchart, and LaTeX math


Why FlashPeek

  • Instant & lightweight — Opens in ~38 ms in default Instant resident mode. Choose Low-memory (≤ 10 MB idle after standby) or opt into Smart mode, which prewarms when File Explorer comes to the foreground.
  • Zero-dependency formats — Built-in rendering for Markdown (with offline math & Mermaid), code, SQLite databases, Jupyter notebooks, Office documents, PDF, images, audio/video, folders, and archives — no Office, WPS, or plugin packs required.
  • Edit in place, safely — Press Ctrl+E or click editable text to make quick changes without launching a separate editor, with syntax-checked autosave, Ctrl+S manual save for code, and on-disk conflict protection.
  • Consistent everywhere — File Explorer (Space), CLI (flashpeek), and external apps via the host protocol share the exact same viewer, rules, and interactions.

Quick Start

Download the latest build from GitHub Releases:

Package Best for Notes
Installer (FlashPeek-Setup.exe) Daily Windows use (Recommended) Optional sign-in startup, PATH integration for CLI, and background update checks
Portable (FlashPeek.zip) Zero-install / USB / manual control Extract anywhere and run directly; manual updates

Basic workflow

  1. Launch FlashPeekHotkey.exe to enable global Space preview (a lightweight tray icon appears).
  2. Select a local file or folder in File Explorer or on the desktop and press Space.
  3. Press Esc (or Space when not editing) to close, ← / → to step through neighboring files, or Ctrl+E to edit Markdown.

To keep the current page for comparison, click a file in a folder preview or follow a Markdown file link within the document's directory tree. The target opens in a separate preview window; web links still open in the browser.

Have a path instead? Copy the full path of one local file or folder from any app and press Ctrl+Alt+Shift+P to preview it. Explorer’s “Copy as path” quotes are supported. If the shortcut is taken, choose Preview copied path from the tray menu. FlashPeek reads the clipboard only on request and leaves it unchanged.

Select multiple local files in File Explorer and press Space to start at the focused file. Use ← / → or the top-bar buttons to cycle through the selected files in view order. Use Alt+← / Alt+→ when arrows page or seek within the preview, and save any edits before switching.

If Space conflicts with another tool, use the FlashPeek tray menu to choose a shortcut such as F8, pause or resume the listener, or reset to Space. File dialogs, search boxes, and rename fields do not trigger previews.

Keyboard shortcuts, tray options & updates
Shortcut Action
Space / Esc Open or close preview
← / → or Alt+← / Alt+→ Cycle within the selection, or step through neighboring files for a single item
Ctrl+E Toggle Markdown Preview / Edit mode
Ctrl+F In-page search (text, Markdown, Office, folders, archives)
Ctrl+ + / - / 0 Scale content and window together
Ctrl+Shift+O Open or locate the original file
Ctrl+Shift+T Pin window always on top (new previews open side-by-side)
Ctrl+Shift+H Pin or auto-hide the top bar
Ctrl+C Copy current image or video frame (Ctrl+Shift+C for PDF page text)
  • Tray menu: Choose Instant resident, Low-memory, or Smart mode. Smart switches back to Low-memory after File Explorer leaves the foreground for 5 seconds; this never closes an open preview. The tray also manages sign-in startup, opt-in font preview, and updates (installed builds). Use FlashPeekHotkey.exe --enable | --disable | --status | --stop to control the listener from PowerShell.
  • Updates: Installed builds check in the background and verify SHA-256 via FlashPeekUpdater.exe --check / --update. Portable builds update by stopping FlashPeekHotkey.exe --stop and replacing the folder.

Supported Formats

Category Built-in Capabilities
Markdown, Tables & Code Rendered Markdown (offline LaTeX math, Mermaid diagrams, collapsible outline), CSV/TSV aligned tables, UTF-8 / UTF-16 / GBK / GB18030 text (Head/Tail & chunked paging for > 160 KiB files), syntax-highlighted source code
Office (Read-only) .docx, .xlsx (multi-sheet, styles, merged cells), .pptx (slide outline) with zero Office/WPS dependency; bounded text extraction for legacy .doc / .xls / .ppt
SQLite (Read-only) Browse tables in .sqlite, .sqlite3, and SQLite .db files; up to 200 rows and 16 columns per table, with BLOB sizes instead of contents
Jupyter Notebooks (Read-only) Browse Markdown, code, and saved outputs in v4 .ipynb files without executing cells
PDF On-demand multi-page rendering, zoom, page jump, collapsible thumbnail sidebar, and per-page selectable text extraction
Images, Vector & Fonts JPEG (up to 50 MP), PNG, WebP, BMP, GIF, ICO, TIFF, SVG, WIC HEIC/AVIF, RAW thumbnails with zoom, pan, 90° rotation, and Ctrl+C copy; opt-in .ttf / .otf font preview
Audio & Video Local playback for MP3, WAV, M4A, FLAC, OGG, AAC, WMA and MP4, M4V, MOV, WebM, MKV with frame stepping (, / .), frame copy, seek, and volume controls
Folders & Archives Progressive paginated folder overview; read-only inspection for .zip (OEM/GBK & UTF-8), .rar, .7z, .tar/.gz/.bz2/.xz with bounded single-entry & nested preview without full extraction

Unsupported, cloud-only, locked, or oversized files show a clean status card explaining why, with one-click Open and Locate actions.

SQLite preview uses Windows' built-in SQLite engine. Close the writing app and checkpoint or export a standalone copy if the database still needs its journal or WAL sidecars; FlashPeek never recovers or modifies it.

Jupyter Notebooks (.ipynb, v4) open read-only. Read Markdown, code with its language and execution count, and saved text, stream, PNG/JPEG or error output. No kernel starts and no HTML, scripts or external images are loaded. The reader accepts files up to 4 MiB and shows at most 200 cells; it reports clipped or omitted content.

Zero-dependency multi-sheet Excel preview

Built-in ZIP archive catalog preview


Inline Editing & Safety

Editable UTF-8 files up to 160 KiB can be edited directly across all entry points (unless --read-only is passed). Explorer and CLI automatically reload clean previews, including read-only ones, when the source changes; external hosts can opt into change notifications. If a file changes on disk while you edit, FlashPeek protects your draft and lets you copy or reload instead of overwriting.

  • Markdown reading position — Switching between Preview and Edit keeps you near the same passage, so you don't have to scroll back to it.
  • Autosave — Markdown, plain text, notes, CSV/TSV, and structured configs (.json, .yaml, .toml, .ini, etc.). Invalid config syntax is never written to disk.
  • Ctrl+S manual save — Common source code files (.ts, .js, .py, .rs, .go, .cs, .cpp, .ps1, etc.). Closing never saves an uncommitted draft automatically.
  • Read-only — Binary/Office/archive files, non-UTF-8 files, actual .env files, truncated views, mixed line endings, and hard-linked/redirected files display a clear reason banner.

Syntax-highlighted TypeScript code preview

Full editable extension rules
  • Autosave: .md, .markdown, .txt, .text, .rst, .adoc, .org, .log, .csv, .tsv, README, LICENSE, .json, .jsonc, .yaml, .yml, .toml, .ini, .gitignore, .gitattributes, .env.example.
  • Ctrl+S only: .js, .ts, .tsx, .jsx, .py, .sh, .ps1, .html, .css, .scss, .less, .xml, .sql, .rs, .go, .java, .cs, .cpp, .c, .h, .hpp, .bat, .cmd, .vue, .svelte, Dockerfile, Makefile.

See docs/text-autosave.md for save-safety rules and memory measurements.


Performance & Comparison

Measured on the same Windows 11 machine against QuickLook 4.5.0, PowerToys Peek 0.97.2, and WinQuickLook 3.11.11:

Windows 11 benchmark comparison: FlashPeek vs QuickLook vs PowerToys Peek vs WinQuickLook

Metric / Capability FlashPeek QuickLook 4.5.0 PowerToys Peek 0.97.2 WinQuickLook 3.11.11
Idle memory 78 MB (Low-mem: 9.5 MB) 115.9 MB 104.7 MB (+ host) 129.8 MB
Small text open 38 ms 475 ms 876 ms —*
32 MiB log open 42 ms (Head/Tail) 880 ms 849 ms 564 ms
PDF first page 192 ms 648 ms 853 ms —*
4K video open / memory 244 ms / 261 MB 546 ms / 1,202 MB 876 ms / 516 MB 113 ms / 686 MB
Direct editing & save Yes (autosave + Ctrl+S) No No No
Office & Archives Built-in, zero dependency Plugins / handlers System handlers / none System handlers / none
Entry points Explorer, CLI, Host Protocol Explorer + file managers Explorer (Ctrl/Shift+Space) Explorer

*Tested from an unpackaged source build where some formats hit a file-association icon error before rendering. See the full methodology, raw numbers, and feature matrix in Competitor Comparison, Performance Strategy, and Windows Benchmark.


CLI & External App Integration

With the FlashPeek folder on your PATH, invoke flashpeek from PowerShell, Command Prompt, scripts, or AI assistants:

flashpeek README.md                  # Preview (editable if supported)
flashpeek .\docs --read-only         # Force read-only preview
flashpeek .\report.pdf --wait        # Wait until the preview window closes
flashpeek .\a.png --new-window       # Open side-by-side in a new window
flashpeek --close                    # Dismiss the active preview window

Options: --read-only · --new-window · --wait · --lang <zh|en> · --close · --help · --version

Any third-party desktop application can integrate with FlashPeek using either the CLI or the standard Host Protocol, without requiring FlashPeekHotkey.exe.


Build from Source & License

Building from source requires NSH 0.7.2 for Windows x64 and Visual Studio C++ x64 Build Tools (no local Rust toolchain required for standard builds). See docs/development.md for build, test, and dataset generation instructions.

FlashPeek is released under the MIT License. Distributions include notices for NSH's prebuilt runner (Apache-2.0) and bundled configuration parsers.

About

A fast, zero-dependency file previewer for Windows with in-place editing.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages