A terminal text user interface and parser for exploring 1Password .1pdiagnostics diagnostic report files.
A library (and small demo binary) for parsing .1pdiagnostics files. A .1pdiagnostics file is a single JSON document containing system information, account metadata, structured log entries, and crash reports from a 1Password client.
Highlights
- Strongly-typed model covering system info, accounts, vaults, log files, and crash reports.
- Structured log-entry parser with level, source, thread, timestamp, and continuation/stack-trace extraction.
- Zero-copy parsing path (
parse_log_entries) with string caching for memory-efficient processing of large diagnostic files.
A terminal UI built with ratatui for interactively browsing diagnostic reports.
demo.mp4
Features
- Overview tab — system details, account and vault summaries.
- Logs tab — scrollable log viewer with:
- Level filtering (trace / debug / info / warn / error)
- Source and log-file filtering
- Full-text search
- Detail pane with stack traces
- Crash Reports tab — crash report list with linked panic log entries.
- Mouse scroll support and keyboard navigation.
- Clone this repository.
git clone https://github.com/darrell-roberts/1password-diagnostic-tools.git - Install the TUI binary.
cargo install --path diagnostic-tuiThis installs the diagnostic-tui binary to your ~/.cargo/bin directory. Make sure this directory is in your PATH.
diagnostic-tui path/to/file.1pdiagnostics
Navigate with the keyboard:
| Key | Action |
|---|---|
Tab / Shift+Tab |
Switch tabs |
↑ / ↓ / PgUp / PgDn |
Scroll lists |
Home / End |
Jump to start / end |
Enter |
Toggle detail pane |
/ |
Start search |
Esc |
Cancel search / close picker |
l |
Cycle log-level filter |
s |
Open source filter picker |
f |
Open log-file filter picker |
? |
Toggle help |
q / Ctrl+c |
Quit |
This project is licensed under the MIT License.