yapper-0.4.0 is not a library.
yapper 🔌
A snappy, ergonomic serial terminal for embedded workflows. Built with Rust + ratatui.
Features
- Port auto-detection — Scans system ports, select with
p - Interactive UART settings — Press
sto configure baud, data bits, parity, stop bits, flow control on-the-fly - Mouse support — Scroll wheel, click-to-focus, drag-to-select + copy to clipboard
- Search — Vim-style
/search with match highlighting andn/Nnavigation - Hex view — Toggle raw hex dump with
h - Command history — Persistent across sessions, navigate with
↑/↓ - Session logging — Auto-timestamped log files, toggle with
l - Macro system — Define command sequences in
macros.toml - Regex filters — Include/exclude lines by pattern
- Auto-reconnect — Reconnects automatically on port disconnect
- Timestamps & line endings — Per-line timestamps (
t), line ending indicators (e) - Dracula theme — Easy on the eyes during long debug sessions
Install
Usage
# Auto-detect port
# Specify port and baud rate
# Full configuration
WSL
Works with cargo.exe run from WSL — connects to Windows COM ports directly.
Keybindings
| Key | Action |
|---|---|
i |
Enter input mode |
Esc |
Back to normal mode |
p |
Port selector |
s |
UART settings |
c |
Connect/disconnect |
j/k |
Scroll up/down |
G/g |
Scroll to bottom/top |
/ |
Search |
n/N |
Next/prev match |
h |
Hex view |
t |
Timestamps |
e |
Line endings |
l |
Toggle logging |
? |
Help |
q |
Quit |
Mouse
| Action | Effect |
|---|---|
| Scroll wheel | Scroll output / navigate popups |
| Click input bar | Focus input |
| Click status bar | Connect (left) / Settings (right) |
| Click-drag | Select text → copies to clipboard |
Configuration
Macros
Create ~/.config/yapper/macros.toml:
[[]]
= "reset"
= ["AT+RST"]
[[]]
= "init_wifi"
= ["AT+CWMODE=1", "AT+CWJAP=\"SSID\",\"PASS\""]
= 500
License
MIT