GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HagaleTechnologies/pancetta: FT8 ham radio station in Rust — decode, priority-score, and work QSOs from a terminal UI; multi-stream TX, CAT control, optional hands-off operation

BranchesTags
Open more actions menu

Latest commit

 

History

894 Commits
894 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.catalyst
.catalyst
 
 
.config
.config
 
 
.github
.github
 
 
.semgrep
.semgrep
 
 
.serena
.serena
 
 
.tapes
.tapes
 
 
assets
assets
 
 
benchmarks
benchmarks
 
 
docs
docs
 
 
packaging
packaging
 
 
pancetta-agent
pancetta-agent
 
 
pancetta-audio
pancetta-audio
 
 
pancetta-config
pancetta-config
 
 
pancetta-core
pancetta-core
 
 
pancetta-cqdx
pancetta-cqdx
 
 
pancetta-dsp
pancetta-dsp
 
 
pancetta-dx
pancetta-dx
 
 
pancetta-ft8
pancetta-ft8
 
 
pancetta-hamlib
pancetta-hamlib
 
 
pancetta-protocol
pancetta-protocol
 
 
pancetta-qso
pancetta-qso
 
 
pancetta-research
pancetta-research
 
 
pancetta-tui
pancetta-tui
 
 
pancetta
pancetta
 
 
research
research
 
 
scripts
scripts
 
 
test-support
test-support
 
 
tests
tests
 
 
training/neural_osd
training/neural_osd
 
 
wiki
wiki
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
FEATURES.md
FEATURES.md
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD-PARTY-NOTICES.md
THIRD-PARTY-NOTICES.md
 
 
clippy.toml
clippy.toml
 
 
deny.toml
deny.toml
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

Pancetta logo

Pancetta

A full FT8 station in one Rust binary — decode, score, work, log.
Built and operated by Tony Hagale, W5AU.

CI License: MIT OR Apache-2.0

Pancetta is an FT8 station that lives in your terminal.

Pancetta running a replayed band recording

pancetta --replay feeding archived WAV captures through the real pipeline: startup, band monitoring, the TX-placement scorer ranking candidate offsets, a burst of real FT8 decodes filling Band Activity when the capture reaches its decodable slot, and a clean self-shutdown when the recording ends. One recording of one small corpus proves nothing about recall — for measured decode performance see docs/decoder-comparison.md.

The pitch

Operating FT8 seriously today means WSJT-X for the modem, a logger for the log, GridTracker for what's needed, and a cluster client for spots — four alt-tabbed windows, each with its own idea of what your station is doing. Pancetta is one binary and one terminal: decode, priority scoring, QSO state machine, DX cluster, PSKReporter, and logbook upload in a single process that runs as happily over SSH on a headless box behind the radio as on a desktop.

Why Pancetta

  • A decoder measured against the real reference. Against WSJT-X's jt9 — the decoder hams actually run — Pancetta's native decoder alone needs ~2.1 dB more SNR to reach 50% recall on FT8, and ~3.95 dB more on FT4, where it caps at 78% recall, at a false-positive cost of 1 decode per 1,000 pure-noise recordings (0.1%). The shipped pipeline adds ft8_lib's decodes to the native set: on the same synthetic FT8 corpus it reaches 50% recall at about −19.5 dB, versus −19.3 dB for the native decoder alone (measured on a CI-class x86-64 host; Pi and MiniPC unmeasured). In short: competitive, not yet class-leading. (An older 1,201-file comparison against ft8_lib showed +11.6% more decodes, but ft8_lib is not the bar operators care about.) Full numbers and caveats: docs/decoder-comparison.md.
  • A priority engine, not a list. Every decoded CQ is scored against needed DXCC, needed grid, a portable callsign suffix (/P, /POTA…) as a possible POTA/SOTA hint, rarity, signal, and recent activity — so the station you should work is the one at the top.
  • Multi-stream TX. A smart frequency allocator places N simultaneous FT8 signals inside one 15-second slot, each on its own audio offset, all on the same parity.
  • Headless by design. --headless logs instead of drawing; the decoder is an anytime algorithm with a per-window budget that self-tunes to the host, so slow hardware degrades recall instead of falling over.
  • pancetta doctor. One command checks config, clock vs. NTP, audio device and level, decoder, rigctld, enabled network services, log disk space and microphone permission. It prints the fix for each warning or failure. Verdicts are ON-AIR READY (exit 0), DECODE-ONLY (1), NOT CONFIGURED (2), and NOT READY (3). pancetta doctor --json emits one report with per-check status, detail and fix. ON-AIR READY covers these prerequisites; doctor does not test PTT or transmit audio.

On-air TX has been validated end-to-end against a Yaesu FTdx10 (clean ALC, PSKReporter spots across North America and Europe).

What it looks like

Every capture below — and the GIF further down, and the hero GIF above — was recorded on a development host with pancetta --replay, feeding archived off-air WAV captures through the real pipeline (see .tapes/). Real audio, real decodes, real panels — no mockups. The corpus is one short recording, so treat these as a tour of the interface, not a performance claim: the QSO panel in particular is shown idle (STANDBY, "No QSOs yet"), because a completed QSO needs a multi-slot two-way handshake that a receive- only replay of someone else's traffic can't produce.

Operate overview DX Hunter priority panel
Operate overview: TX placement, band activity, QSO status, callers. DX Hunter: the priority-scoring table (entity, grid, SNR, rarity, score).
QSO status panel Monitor / waterfall view
QSO status (idle in this replay): state machine, exchanges, TX/RX reports. Monitor: the waterfall and the TX-frequency marker.

Decode effort is a live control — press e to cycle presets and the status chip follows:

Cycling decode-effort presets with the e key

Preset Behavior
Auto (default) Budget derived from the auto-probed hardware tier.
Eco Floor pass only — fastest, lowest recall.
Standard A moderate per-window budget.
Deep A generous budget — more passes/candidates, better recall.
Max Runs every decode stage, still bounded by the coordinator's per-slot ceiling (2 s on FT8).

The hardware tier comes from a startup probe that times a committed off-air busy-band FT8 window through the station's own overlapped ft8_lib and native passes and merge, cached per host and build in <data-dir>/tier_cache.json. If a new measurement is due and the 1-minute load average exceeds the logical core count, the probe waits for a later startup: Auto uses the previous tier measured on this host, or the Standard 250 ms budget when there is none, and the station log says why (tier probe deferred: …). Windows has no load average, so the probe always runs there. The tier thresholds are provisional: no MiniPC or Raspberry Pi measurement exists yet.

Pin it at startup via [decoder] in pancetta.toml (docs/CONFIG.md); e is the only live control. Full keybinding reference: docs/KEYBINDINGS.md, or press ? in the TUI.

Autonomy with a control operator present

Hands-off operation is opt-in ([autonomous] enabled = true) and assumes a licensed control operator is at the keyboard and can stop it instantly:

  • Shift+Q is an emergency stop — halts TX and switches autonomous off. It drops the runtime autonomy gate, and every TX item the engine produced for that cycle is discarded before it can be keyed.
  • Autonomous initiation requires a present operator. Calling CQ or pouncing needs a console keypress within the last two minutes (FCC §97.221: a station with nobody at the control point may respond, not originate). Headless or idle, Pancetta drops to respond-only; QSOs already in progress still finish. Every autonomous TX item additionally has to clear the active TxPolicy (e.g. dry-run/listen-only modes).
  • The remote-TX arm gate fails closed. Separate from the above, and specific to transmissions originated over the remote-operation protocol: a poisoned lock means no transmit, never a permissive fallback, and it ANDs under the active TX policy. It governs TxOrigin::Remote only — local and autonomous TX are gated by the mechanisms above.
  • Drop-stale-TX. The TX worker re-checks QSO liveness at the last instant before PTT, so a frame for a QSO that just ended never goes out.
  • One parity, always. Concurrent QSOs share a slot parity; Pancetta never transmits in sequential windows.

Regulatory notes, including FCC §97.221 automatic-control considerations: docs/fcc-part97-compliance.md.

cqdx.io integration

Pancetta pairs with cqdx.io, the DX/logbook layer around the station:

  • Hunting. The needed-DXCC feed from cqdx.io flows straight into the priority scorer, so DX Hunter weighs decoded CQs by what you actually still need. Matching uses ADIF DXCC entity IDs, so alternate prefixes share the right needed status and US dependencies remain separate. Unknown API IDs retain a prefix fallback for compatibility. Needed-grid is wired on the Pancetta side but has no live cqdx.io endpoint yet, so it doesn't affect rankings today. DX Hunter marks a station needed (+) only once cqdx.io's needed list has loaded. Without cqdx.io, or while it is unreachable, needed and ATNO come from your local logbook (qsos.adi): an entity you have never logged shows !, and the strip shows ⚠ NEEDS FROM LOCAL LOGBOOK while pancetta keeps retrying in the background. Import your older log with pancetta import first, or every entity missing from qsos.adi reads as all-time new.
  • Scoring. Rarity and live-spot data from cqdx.io feed the same scorer alongside signal and recent activity, so the top of the list is the contact worth working right now.
  • Logbook. Opt in via [network.cqdx] (with a token) and every completed QSO and spot report uploads to cqdx.io directly — no ADIF export/import round-trip. (This tracks completed QSOs, not LoTW/ClubLog-confirmed ones — confirmation status arrives separately.)
  • Remote rig access. cqdx.io also brokers authorization for remote control: an operator can grant a delegate device — panino, the companion remote-control client, or a browser — scoped, revocable access to the pancetta-controlled rig. Delegated guests get status/QSY visibility and can request a QSO/TX action, but never authorization to key the radio. Only the station's own (non-delegated) client can arm TX, and only after the operator stores its device key on the station with pancetta trust-client. With the integration on, cqdx.io decides which clients may connect and use status or QSY, so a cqdx.io compromise reaches non-TX control but cannot transmit alone (SECURITY.md).

Not every path is equally mature yet — see Why not (yet) for current status.

Quick start

Upgrading an existing station? Stop Pancetta and all logbook writers, then complete the verified backup in Upgrade and rollback before replacing or starting a binary. Keep the prior version directory. Pancetta keeps up to seven changed startup snapshots of qsos.adi by default. These copies do not include contacts logged since the latest startup. Preserve the whole stopped installation before upgrading.

Prebuilt binaries. No Rust toolchain needed. Starting with the first tagged release after this note was added, every release ships CI-verified binaries for macOS (Apple Silicon), Linux x86_64, Linux aarch64 (Raspberry Pi 4/5 and other 64-bit ARM boards — needs glibc >= 2.35, i.e. Raspberry Pi OS Bookworm (2023-10) or newer; Bullseye-era images can't load it), and Windows x86_64 — if /releases/latest doesn't list an archive for your platform yet, either build from source below or wait for the next tag.

# Linux/macOS: the archive extracts into a version-named directory — the
# binary isn't at the archive root.
tar xzf pancetta-*.tar.gz && cd pancetta-*/

# Linux only: the runtime ALSA library (not the `-dev` headers the
# from-source table below lists) — install if `./pancetta` fails to start
# with a missing libasound.so.2 error.
sudo apt install -y libasound2   # libasound2t64 on Debian 13/Ubuntu 24.04+

# macOS only: this binary isn't notarized yet, so a browser download is
# quarantined and Gatekeeper blocks it until you clear that bit once.
xattr -d com.apple.quarantine ./pancetta 2>/dev/null || true

./pancetta        # first-run wizard — same as step 3 below

(Windows: extract the .zip, open the extracted folder, and run pancetta.exe.)

Run it again the same way to start the station — step 4's cargo run --release -p pancetta is the source-build equivalent of that second run; a prebuilt binary doesn't need it or a source checkout. Hamlib is still needed at runtime if you want to key a radio (see the table below).

To build from source instead:

1. Dependencies.

# Linux (Debian/Ubuntu):
sudo apt update
sudo apt install -y libasound2-dev libudev-dev libssl-dev pkg-config libhamlib-utils
# macOS:
brew install hamlib
curl https://sh.rustup.rs -sSf | sh
Requirement Linux macOS Windows
Rust toolchain rustup → stable rustup → stable rustup → stable
Audio dev headers libasound2-dev, libudev-dev (built in) (built in)
TLS libssl-dev, pkg-config (built in) (built in)
Hamlib (CAT — optional, runtime-only) apt install libhamlib-utils brew install hamlib hamlib Windows build

Hamlib is only needed to key a radio, not to build or to decode.

2. Build. --recursive matters: without the submodule the build warns and falls back to the Rust-only decode path. First build is 5–10 minutes.

git clone --recursive https://github.com/HagaleTechnologies/pancetta.git
cd pancetta
cargo build --release

3. Configure. The first run walks you through writing ~/.pancetta/pancetta.toml — callsign, grid, audio devices, rig. Every key is documented in docs/CONFIG.md.

./target/release/pancetta        # first-run wizard
cargo install --path pancetta    # optional: put `pancetta` on PATH

4. Run. With [rig.interface] disabled (the default) this is decode-only and cannot key the radio. Enable the rig interface for TX; see docs/RUNBOOK.md for the autonomous-QSO procedure.

cargo run --release -p pancetta

Put your real callsign in station.callsign before transmitting. Pancetta refuses to call CQ as NOCALL/N0CALL, but it will transmit whatever else you give it — Part 97 is your responsibility, not the software's.

Command-line tools

One binary, several subcommands (pancetta <cmd> --help for details):

Command What it does
pancetta --version Version, commit, build date and target, e.g. pancetta 0.9.6 (50e5208 2026-11-18 x86_64-unknown-linux-gnu). Paste it into bug reports.
pancetta completions zsh Print a zsh completion script for every subcommand and flag (Shell completions).
pancetta Run the station (TUI). First run launches the setup wizard.
pancetta doctor [--json] Station prerequisites and fixes. Exit 0: ON-AIR READY; 1: DECODE-ONLY; 2: NOT CONFIGURED; 3: NOT READY. JSON includes all checks.
pancetta setup Interactive station/audio/rig/PTT wizard. Safe to re-run.
pancetta test-audio --list List audio devices exactly as pancetta sees them.
pancetta test-rig Test a running rigctld; exits 1 on failure. --ptt keys CAT, or RTS on rig.ptt.device for serial_rts, for 1 s after the band-plan check (careful!).
pancetta config --validate Check the config parses and validates, show which file(s) were read; non-zero on error (--show, --generate).
pancetta trust-client <keyId> --key-file <device.pub> [--force] Grant station-local TX trust after comparing device-key words. Requires an owner edge or static allow-list entry too.
pancetta untrust-client <keyId> Remove local TX trust; disarms on the next authorization poll or trust refresh.
pancetta export [--output log.adi] [--since YYYY-MM-DD] [--band 20m] [--mode FT8] Export QSOs directly from qsos.adi to ADIF.
pancetta import-confirmations <file.adi> Merge your LoTW report into existing contacts, then restart to apply confirmations. No login or download.
pancetta import <file.adi> Add contacts from another logger's ADIF file; skips ones already logged and backs up your log first (--dry-run to preview). pancetta import --undo <receipt> removes exactly what an import added.
pancetta benchmark-decode <wav-or-dir> Native decoder vs. ft8_lib on WAV captures.
pancetta --wav <file> Decode one 15-s WAV and exit (no audio hardware).
pancetta --replay <wav-dir> Feed a directory of WAVs through the full TUI pipeline.
pancetta --headless No TUI; logs to ~/.pancetta/logs/.
pancetta --headless --log-format json The same, with one JSON object per log line on stderr and in the log file (for journald, jq or a log shipper).
pancetta --headless --gain-sweep-seconds 600 --gain-sweep-report gain.json Measure per-band receive gain and save an advisory report. Limits and timing.

Shell completions

pancetta completions zsh prints a zsh completion script generated from the binary's own command line, so it always matches the installed version. Save it as _pancetta in a directory on your fpath:

mkdir -p ~/.zfunc
pancetta completions zsh > ~/.zfunc/_pancetta
# in ~/.zshrc, before compinit:
fpath=(~/.zfunc $fpath)
autoload -U compinit && compinit

or add source <(pancetta completions zsh) to ~/.zshrc after compinit. Regenerate the file after upgrading. Only zsh is supported for now.

LoTW confirmations

Run pancetta import-confirmations lotw-report.adi with your own LoTW report for this logbook. It updates existing contacts only. Matching requires the same call including portable suffix, known band, effective mode and UTC start time within 30 minutes, inclusive. Multiple matching contacts are skipped rather than guessed. FT4 and FT8 are distinct modes.

The report must carry a positive LOTW_QSL_RCVD with LOTW_QSLRDATE, or LoTW's QSL_RCVD with QSLRDATE. Values Y and V count, ignoring case and surrounding spaces. Dates must be valid YYYYMMDD. Incomplete or conflicting pairs are skipped. The command stores LoTW tags, retains V and the earliest valid date, and preserves unrelated fields. A paper-QSL file is not a LoTW report.

The command waits up to 60 seconds for the shared logbook lock. A changed log gets a verified .bak or .bak.N recovery copy and a rebuild marker before an in-place rewrite. An interrupted rewrite may need recovery from that backup. Stop the station before restoring it to ~/.pancetta/qsos.adi, retain the rebuild marker, then restart. A repeat import with no changes creates no backup or marker. The SQLite index and running caches are left alone. Restart Pancetta to rebuild the index and apply confirmations. Ordinary import --undo refuses an imported block if a later confirmation merge changed its bytes.

To keep worked but unconfirmed entities needed, set [autonomous] needed_means = "unconfirmed" and restart. The default "unworked" retains cqdx-first behavior. The confirmation policy uses the loaded local log for global and per-band need, across modes, even when autonomous operation is disabled. ATNO still means never worked. Confirmations on another band do not clear band need. Duplicate admission rules still apply. Remote clients retain cqdx-only verdicts.

Capability status

Startup ADIF snapshots are implemented, unreleased. Directory and retention are configurable.

Contest scoring is opt-in for Kansas FT4/FT8 2026 and SC fixed digital 2026. The TUI shows local claimed score, multipliers, contest dupes and hourly rate from durable evidence. SC grid-only contacts remain pending. See configuration.

What each part of Pancetta has been proven to do. This describes main after v0.9.6. Rows marked Unreleased are not in the v0.9.6 binary; see CHANGELOG.md. Each row shows the highest state reached:

  • Experimental: off by default or behind a build feature, or its exchange with the outside service is not confirmed yet. Expect changes.
  • Implemented: runs in the default build and has unit tests. Not yet tested against a simulated peer or a real station.
  • Integration-tested: tested in CI against a simulated peer: loopback audio, the mock rig, a fake rigctld, or a local mock server.
  • Radio-qualified: used on a real station (a rig on air, or the live service), in the environment listed.
Capability State Environment and limits Evidence
Linux service watchdog and field diagnostics Implemented, unreleased READY follows pipeline initialization; missed health passes trigger recovery. Real systemd restart and macOS TCC qualification pending. systemd_unit, service_notify, doctor tests; runbook
FT8 decode Radio-qualified On air at the maintainer's station. Measured sensitivity of the shipped pipeline, and of the native decoder alone vs WSJT-X: decoder comparison FT8 tests
FIR anti-alias receive decimation Experimental, Unreleased Opt-in at 48 kHz via [audio] decimation_antialias_filter (restart required). Unity-gain 31-tap FIR, CPU-budgeted in CI; station qualification on recorded quiet/busy/TX-desense captures is pending, so the shipped default stays subsampling measurement record
FT8 transmit, manual QSOs Radio-qualified Yaesu FTdx10 via rigctld: TX validated 2026-04-26 (clean ALC, PSKReporter spots across NA + EU); manual on-air QSOs since 2026-09 loopback QSO, PTT
Silent audio-output stall recovery Implemented, Unreleased A 2 s output-callback stall requests a forced device reopen, every 10 s while silent, at most 3 per rolling 10 min (input-stale and processing-error recovery keep their own cadence); TX stays muted until callbacks resume, and the readiness strip shows the limit. No physical stall qualified yet audio recovery
Autonomous QSO loop Integration-tested Simulated band only; no on-air autonomous run recorded yet coordinator sim
Tier-based pouncing, decode alerts and editable watchlist Implemented, Unreleased Optional tier admission; bell, ntfy and webhook alerts (webhook: public https targets unless opted in, rate-limited per minute); persistent pins edited with Shift+W. No live notification-service or on-air qualification configuration
CQ DX and regional CQ modifiers in autonomous pouncing Integration-tested, Unreleased PAN-292: skips a same-continent CQ DX and a CQ NA/SA/EU/AS/AF/OC for another continent; unresolvable calls are answered; manual and spot calls unchanged. No on-air run recorded autonomous operator
Autonomous band scheduler (UTC plan, needed activity, grey-line) Integration-tested, Unreleased PAN-385: [[autonomous.band_plan]] windows, hops toward needed entities spotted on cqdx.io and a grey-line tie-break, never while keyed or mid-exchange. Automated coverage only; no on-air run recorded, and cqdx needed-activity data is unverified against the live API configuration
Needed, ATNO, band-slot, mode and confirmed status from the local logbook Integration-tested, Unreleased Answers when cqdx.io has not; confirmations come from QSL_RCVD and LOTW_QSL_RCVD in qsos.adi, including LoTW report imports; opt-in needed_means = "unconfirmed" uses local confirmations even with cqdx loaded; the remote client still shows cqdx-only needed local logbook needs
Several QSOs per slot (multi-stream TX) Integration-tested Simulated only loopback QSO
FT8 Fox mode (DXpedition) Integration-tested, Unreleased PAN-386: Shift+X; CQ and Hound streams on 60 Hz slots in 300-900 Hz; RR73 to one Hound and a report to another share one type 0.1 frame; a Hound is logged when its RR73 airs; an autonomous band hop waits while Fox mode is on, and a band change ends Fox mode (PAN-447). Decoded by pancetta's native and ft8_lib decoders only; no WSJT-X Hound or on-air run recorded. SuperFox not supported coordinator sim
FT4 Integration-tested Chosen at startup or with Shift+M; FT8 and FT4 are never decoded at the same time coordinator sim
FT2 Experimental Only in builds with the ft2 cargo feature (release binaries leave it off); two incompatible FT2 specs exist modes
Rig control (CAT + PTT via rigctld) Radio-qualified (FTdx10 only) Frequency, split, PTT. Optional rig.data_mode applies the CAT mode before TX at connection and after commanded retunes; this new option is hardware-unverified. Omit it for manual rig-mode control. Other Hamlib rigs are mapped but unproven: supported rigs rigctld redial test
Serial RTS PTT Integration-tested, Unreleased rig.ptt.method = "serial_rts" asserts RTS on a separate rig.ptt.device for every key-down (TX frames, tune, manual PTT) and drops it on every unkey and at shutdown; CAT still sets frequency and reads meters. VOX, plain serial, DTR, CM108 and other methods fail validation while rig control is on. Tested with a fake serial line only; hardware qualification pending PTT line
Receive overload attenuator guard Experimental, Unreleased Opt-in live FT8 only; uses rig-supported ATT steps; no automatic restoration. Hardware qualification pending configuration
SWR protection Integration-tested, Unreleased Halts all TX after high-SWR keyed time reaches swr_trip_delay_ms (default 5000 ms; 0 trips on the first high reading) above max_swr (default 3.0). High keyed time accumulates across transmissions; unkeyed time does not count. A reading at or below the limit resets it, as does more than two minutes without a high reading. CAT support is required; real-rig trip qualification is pending SWR guard
TX metering and ALC overdrive warning Integration-tested, Unreleased While keyed, Shift+S shows forward power and ALC read over CAT twice a second. Two ALC readings in a row above max_alc (default 0.5, uncalibrated) raise a sticky warning to reduce audio drive; TX is never blocked. Needs a Hamlib backend that reports ALC and RFPOWER_METER; real-rig qualification is pending TX meter
Live TX audio drive Implemented, Unreleased F7/F8 change TX audio drive in 1 dB steps from the station TUI, including over SSH. The chosen value is saved in audio.levels.output_gain_db and applies to the next FT transmission or Tune. Hardware qualification is pending drive
Automatic per-band TX drive Implemented, Unreleased A completed FT burst with CAT ALC can raise clean drive by 0.5 dB, hold at the ALC onset, or lower overdriven drive by 2 dB. Each band retains its selected gain and Auto/Manual mode across restarts. F7/F8 select Manual and F9 toggles Auto/Manual. Hardware qualification is pending drive
One-shot TX drive calibration Implemented, Unreleased Shift+C runs a bounded Tune carrier sweep from the drive floor, saves one step below ALC onset for the current band, and refuses without a known ALC meter or TX permission. Hardware qualification is pending drive calibration
Measured receive-gain sweep Experimental, Unreleased Opt-in headless FT8 experiment; no live rig qualification. Requires supported PREAMP/ATT controls and sufficient shared-station evidence measurement and inference, operator guide
Config changes while running Implemented, Unreleased Selected autonomous policy, TX timing and receive gain presets apply live, alongside remote-access consent and revocations; hardware bindings and other keys need restart (details) config reload
ClubLog, QRZ Logbook upload Integration-tested, Unreleased Opt-in. Local mock server only; no live-account run recorded. ClubLog, QRZ Logbook, LoTW, eQSL and cqdx.io uploads use a persistent outbox (~/.pancetta/upload_outbox.json, unreleased): transient failures retry on [network.reliability.retry], then every five minutes; login rejection pauses a destination for the session; record rejection holds that entry until restart; startup drains pending entries. Local ADIF remains the durable log upload clients, upload outbox
cqdx.io QSO upload and spots Integration-tested Upload matches the cqdx API contract (2026-06-27). The live-spots response shape is unverified against the live API cqdx client
LoTW upload (through TQSL) Integration-tested, Unreleased Durable outbox retries; fake tqsl verifies actual argv, optional certificate password and duplicate exits 8/9. Needs installed tqsl, certificate and station location; live-account qualification pending subprocess tests
eQSL upload Experimental Field mapping and request form still need a live-account check upload clients
TUI QRZ station lookup Implemented, Unreleased Shift+L looks up the focused callsign with configured XML credentials. Name, QTH, grid and entity appear in the station card; results are cached for the session with a two-second network deadline. Mock-tested; live-account qualification pending lookup handler
TUI themes Implemented, Unreleased Dark (unchanged), Light and HighContrast palettes selected by [ui] theme or [ui.accessibility] high_contrast; restart required. Contrast checked by tests on the xterm default palette; not yet checked on a real terminal theme tokens
Per-target upload state in Recent QSOs Implemented, Unreleased Row glyphs per enabled target (QRZ/ClubLog/eQSL/cqdx.io/LoTW), selected-contact detail card and a typed completion toast. No live three-service qualification run recorded upload status registry
PSKReporter reporting Implemented Opt-in; not checked against pskreporter.info. Queue bounds and datagram chunking are tested; live delivery is unverified PSKReporter client
DX cluster Integration-tested Local mock server only. Band, mode, frequency and duplicate filters apply locally (Unreleased); dxcc_filters is not applied cluster client
Space-to-call on cluster/cqdx spots (QSY + offset) Implemented, Unreleased PAN-287: QSYs to the spot's FT8/FT4 dial and calls at the derived offset; the rig mode follows rig.data_mode when set (PAN-276); cqdx spots do not reach DX Hunter yet. No on-air qualification spot call
WSJT-X UDP interop Integration-tested Local sockets only; FT8/FT4 Decode, Replay and active-QSO Status; inbound WSJT-X Decode display (Unreleased, PAN-381): loopback listener, display and scoring only; not yet checked against a real WSJT-X; compatibility WSJT-X UDP
POTA/SOTA references in the log (MY_SIG, MY_SIG_INFO, SIG, SIG_INFO) Implemented, Unreleased PAN-359: [station] my_sig / my_sig_info are stamped on every logged QSO; a worked station that cqdx.io's activation feed (GET /api/v1/pota) listed within 30 minutes gets SIG / SIG_INFO. Mock-server and writer tests only; no live-service or upload-acceptance qualification sig references
N1MM contactinfo UDP Integration-tested, Unreleased Opt-in [logging] n1mm_udp: one datagram per logged QSO to one IP address and port; never under --replay. Local sockets only; no logger checked yet (compatibility) N1MM emitter
Remote operation (station agent, local gateway) Integration-tested Off by default; station-agent remote TX also needs local consent (remote_tx_enabled), a device key stored with pancetta trust-client and a signed arm. With cqdx.io integration on, cqdx.io decides who may connect and use non-TX control (trust roots) remote-operation decisions
ADIF export / import Integration-tested; import and entity enrichment Unreleased Offline COUNTRY/DXCC/CQZ/ITUZ inference uses prefix and exact-call zone overrides. Stored fields take precedence individually; unresolved calls gain no inferred fields. Old rows can gain fields on export; existing files are not rewritten. Automated coverage; live qualification pending. Imported contacts are never uploaded import test
macOS microphone access over ssh, tmux and launchd Implemented, Unreleased One approval at the Mac per installed binary. Uses private macOS calls and falls back to the launcher's approval when they are missing. Not yet verified on a Mac responsibility relaunch
Separate data directories and one station per directory (--data-dir) Integration-tested, Unreleased PAN-376: config, logbook, logs, keys and upload queue live in the --data-dir directory (default ~/.pancetta); a second live station on one directory refuses with another pancetta is running (pid N). Linux CI only; Windows lock and paths compile-checked, not run; macOS relaunch with --data-dir unverified data directory, instance lock
Platforms — macOS (development), Linux (CI), Windows 11 (the maintainer's station; compile-checked for x86_64-pc-windows-gnu on every code PR). Linux aarch64 release builds are smoke-tested on a cloud ARM64 runner, never on a Raspberry Pi release workflow

Platform archive evidence

Platform archive Build-tested Replay-tested Radio-qualified
macOS Apple Silicon Release CI build and native-C linkage smoke Not established by this release workflow No recorded platform qualification
Linux x86_64 GNU Release CI build and native-C linkage smoke Not established by this release workflow No recorded platform qualification
Linux ARM64 GNU Release CI build and native-C linkage smoke Decoder fixture replay only, nine off-air recordings on cloud ARM64 No Raspberry Pi or other physical ARM station qualification
Windows x86_64 MinGW Release CI build and native-C linkage smoke Not established by this release workflow Historical Windows 11 / Yaesu FTdx10 station evidence; not a radio test of each release

Build-tested means the archive binary built and passed the release's native decoder linkage check. Replay-tested identifies the exact recorded-input test and runner; decoder fixture replay does not establish full-application replay. Radio-qualified requires a named physical station and environment. Historical station use does not qualify every new release or every radio.

Linux ARM64 archives require glibc >= 2.35, such as Raspberry Pi OS Bookworm or newer. Bullseye-era images cannot load them. Cloud ARM decoder replay does not qualify Raspberry Pi hardware. macOS binaries remain unnotarized; see README's quarantine-removal instructions.

Why not (yet)

Honest gaps, so you can judge whether it fits your station:

  • Pre-1.0. Config keys, CLI surface, and on-disk formats can still change between releases.
  • Uploads can still be lost. Per-QSO logbook uploads now go through a persistent outbox with retries (unreleased — see Capability status), but no live-account run has been recorded; ~/.pancetta/qsos.adi stays the durable log.
  • Platform coverage is narrow. Developed on macOS (Apple Silicon), CI on Linux, deployed on a Windows 11 MiniPC. Prebuilt Linux aarch64 binaries are published for Pi-class ARM, but real-hardware validation (the effort-budget work's actual target) hasn't happened yet — CI only proves the binary builds and decodes correctly on an ARM64 cloud runner, not on a Raspberry Pi.
  • One radio, well tested. CAT/PTT is exercised against a Yaesu FTdx10. rig.model accepts any name from the bundled Hamlib catalog or a numeric Hamlib model ID, but no other rig has been proven on air. The supported-rig list shows each rig's test status and which models are accepted.
  • pancetta-research is a local-only decoder harness, excluded from CI and unsupported.

Building, testing, lint

cargo build --workspace
cargo test --workspace --features transmit
cargo test -p pancetta-hamlib --lib -- --test-threads=1   # deterministic mock rig
cargo test -p pancetta --test loopback_qso                # end-to-end encode→decode
cargo clippy --workspace --features transmit
cargo fmt --all -- --check

CI runs the workspace tests and clippy with --exclude pancetta-research (the local-only harness), checks formatting, builds the examples, and adds macOS and Windows (x86_64-pc-windows-gnu, MinGW) cargo check lanes on code PRs; a failure in either fails the required CI check. It has no separate single-threaded hamlib run. cargo deny check guards advisories and license drift. The exact CI commands are in .github/workflows/ci.yml. The 14-crate strictly layered workspace is mapped in docs/ARCHITECTURE.md.

Documentation

  • docs/GUIDE.md — start here: your first 5 minutes, your first QSO, how-do-I recipes.
  • docs/CONFIG.md — every config key, with examples and defaults.
  • docs/TROUBLESHOOTING.md — audio init, missing decodes, duplicate QSOs, rigctld.
  • docs/ARCHITECTURE.md — crate graph, data flow, key abstractions.
  • docs/KEYBINDINGS.md — every TUI binding.
  • docs/SUPPORTED_RIGS.md — rigs Pancetta starts rigctld for, with per-rig test status.
  • docs/RUNBOOK.md — operating procedures, including the autonomous QSO loop.
  • docs/decoder-comparison.md — native decoder vs. ft8_lib, measured.
  • docs/PROVENANCE.md — licensing provenance and the clean-room firewall.
  • FEATURES.md — how each feature works (status: Capability status).
  • SECURITY.md — vulnerability reporting and known trade-offs.
  • CONTRIBUTING.md — coding standards and contribution flow.
  • CHANGELOG.md — release notes.

API docs: cargo doc --workspace --no-deps --open.

Acknowledgments

  • Joe Taylor (K1JT) and Steve Franke (K9AN) designed FT8 — the LDPC code, Costas sync arrays, modulation, and message schema this project implements, documented in The FT4 and FT8 Communication Protocols.
  • Kārlis Goba (YL3JG) authored ft8_lib, the MIT-licensed C implementation Pancetta vendors at pancetta-ft8/vendor/ft8_lib/ and calls via FFI. Several algorithms in the native Rust decoder are ported from it (CRC-14, LDPC tables, Gray code mapping, sliding spectrogram, LLR normalization) and attributed in the source where they appear.
  • The WSJT-X project (GPL) is the de-facto reference FT8 application. Pancetta does not link or vendor any WSJT-X source; it interoperates through the published protocol only.

Full third-party license text: THIRD-PARTY-NOTICES.md. Licensing provenance and the clean-room process: docs/PROVENANCE.md.

License

Dual-licensed under your choice of:

  • MIT — see LICENSE-MIT
  • Apache 2.0 — see LICENSE-APACHE

Contributions are accepted under the same dual-license terms unless explicitly stated otherwise in the PR.

About

FT8 ham radio station in Rust — decode, priority-score, and work QSOs from a terminal UI; multi-stream TX, CAT control, optional hands-off operation

github.com/HagaleTechnologies/pancetta/tree/main/docs

Topics

amateur-radiodigital-modesft8ham-radiorustsdrtuiwsjt-x

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.