Skip to content
timgrossnerPublic

About

CLI APRS messaging client over AGWPE

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aprsmsg

Small command-line APRS messaging client for AGWPE-compatible servers such as Graywolf, Dire Wolf, and AGWPE.

Uses the pyham-pe AGWPE client library. Message text and delivery acknowledgements follow APRS message framing. Messages addressed to this station are saved locally in SQLite; numbered incoming messages are automatically acknowledged.

Install

Requires Python 3.10+ and uv:

uv tool install git+https://github.com/timgrossner/aprsmsg.git

Set your station callsign and Graywolf address (port 8000 by default):

export APRS_CALLSIGN=KF0TIM
export AGWPE_HOST=graywolf-host-or-ip

Or pass --callsign and --host to each command. APRS transmits are real radio transmissions; check the destination, path, radio configuration, and applicable operating rules before sending.

Commands

  • aprsmsg send DESTINATION MESSAGE [--via PATH] sends one message and exits.
  • aprsmsg watch receives and auto-acknowledges addressed numbered messages.
  • aprsmsg read prints saved history without connecting.

Interactive mode is the default when you run aprsmsg with no subcommand. It opens a prompt similar to ragrc; use Tab to complete commands and recent station callsigns, and Up/Down for command history. Once /to CALL sets a recipient, plain text sends to that station. Use /msg CALL MESSAGE for a one-off send. /reply MESSAGE responds to the latest incoming station. /messages [CALL] lists saved traffic and /read NUMBER shows one entry. /status, /commands (or /help), and /quit are local commands; unknown slash commands are never transmitted. Prompt history is saved in history.txt beside the message database; override it with --history.

Options include --host, --tcp-port (AGWPE TCP port, default 8000), --radio-port (AGWPE radio index, default 0), --callsign, --db, and --history. Use these before a subcommand. watch --once exits after the first addressed message or matching ACK.

The SQLite database defaults to $XDG_DATA_HOME/aprsmsg/messages.sqlite3 (or ~/.local/share/aprsmsg/messages.sqlite3). The tool records the packets it submits and incoming messages, and displays ACK/reject status when received. It does not retry unacknowledged messages automatically.

Development

uv sync
uv run python -m unittest discover -s tests -v

About

CLI APRS messaging client over AGWPE

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages