Skip to content

tpreview 0.1.0 — initial preview

Pre-release
Pre-release

Choose a tag to compare

@geusan geusan released this 12 Oct 12:21

Native, offline Markdown + Mermaid preview for macOS and Linux.

  • Flowcharts and sequence diagrams as readable Unicode or inline PNG.
  • File watching with debounce, atomic-save recovery, caching and last-good diagrams during incomplete edits.
  • Search, contents, file navigation, relative Markdown links and back navigation.
  • Unicode-aware wrapping and horizontal pan for long code/tables; syntax highlighting.
  • Piped stdin with controlling-TTY keyboard; safe plain output when no interactive terminal exists.
  • --doctor, isolated renderer time/resource limits and terminal restoration.

Download the archive for your platform, verify its adjacent SHA-256 checksum, extract it, and place tpreview on your PATH. No Node.js, Python, browser or Mermaid CLI is needed at runtime.

tpreview --watch docs/design.md
tpreview --render text README.md
tpreview --doctor
Platform Verification
macOS ARM64 Native CI build, 24 tests, PTY/protocol checks; downloaded binary run outside checkout
macOS Intel Native CI build, 24 tests, PTY/protocol checks
Ubuntu 24.04 x86_64 Native CI build, 24 tests, PTY/protocol checks and real tmux integration
Ubuntu 24.04 ARM64 Native CI build, 24 tests, PTY/protocol checks and real tmux integration

All four jobs passed. Executables were built from 337cdaa8294c958264af5d0baf10a2a38d4e2042; the release commit changes verification documentation only. Archive documentation was updated without changing executable bytes, and checksums were regenerated.

This is an initial preview. tmux deliberately uses text. Direct Kitty-protocol graphics are implemented and tested using simulated terminal replies; actual Ghostty/Kitty compositor behavior and end-to-end SSH remain manual checks. No Sixel/iTerm2 support or full Mermaid.js parity is claimed. CJK image text needs a local CJK font. macOS binaries are not notarized; Linux builds target GNU libc.

Usage · Mermaid syntax/limits · Compatibility and manual checks · Technical decisions