Legal operation of this software requires an amateur radio license and a valid call sign.
Star this repo to follow our progress! This code is under active development, and contributions are both welcomed and appreciated. See CONTRIBUTING.md for details.
APRSD is a python application for interacting with the APRS network and Ham radios with KISS interfaces and providing APRS services for HAM radio operators.
APRSD currently has the following commands to use.
server - Start the aprsd server gateway process.
listen - Listen to packets on the APRS-IS Network based on FILTER.
send-message - Send a message to a callsign via APRS_IS.
check-version - Check this version against the latest in pypi.org.
completion - Show the shell completion code
dev - Development type subcommands
dump-stats - Dump the current stats from the running APRSD instance.
export-config - Export all config options from installed APRSD plugins...
export-plugins - Export all installed APRSD plugins as JSON.
fetch-stats - Fetch stats from a APRSD admin web interface.
healthcheck - Check the health of the running aprsd server.
json-config - Output the current loaded configuration in JSON format.
list-extensions - List the built in extensions available to APRSD.
list-plugins - List the built in plugins available to APRSD.
passcode - Generate an APRS passcode for a callsign.
sample-config - Generate a sample Config file from aprsd and all...
version - Show the APRSD version.
Each of those commands can connect to the APRS-IS network if internet connectivity is available. If internet is not available, then APRS can be configured to talk to a TCP KISS TNC for radio connectivity directly.
APRSD Plugins/Extensions
APRSD Has the ability to add plugins and extensions. Plugins add new message filters that can look for specific messages and respond. For example, the aprsd-email-plugin adds the ability to send/recieve email to/from an APRS callsign. Extensions add new unique capabilities to APRSD itself. For example the aprsd-admin-extension adds a web interface command that shows the running status of the aprsd server command. aprsd-webchat-extension is a new web based APRS 'chat' command.
You can see the available plugins/extensions on pypi here:
aprsd admin and webchat commands have been extracted into separate extensions.
See admin extension here
See admin extension here
See webchat extension here
See webchat extension here
See CLI chat extension here
See CLI chat extension here
List of existing plugins - APRS Message processing/responders
aprsd-email-plugin - send/receive email!
aprsd-location-plugin - get latest GPS location.
aprsd-locationdata-plugin - get latest GPS location
aprsd-digipi-plugin - Look for digipi beacon packets
aprsd-w3w-plugin - get your w3w coordinates
aprsd-mqtt-plugin - send aprs packets to an MQTT topic
aprsd-telegram-plugin - send/receive messages to telegram
aprsd-borat-plugin - get Borat quotes
aprsd-wxnow-plugin - get closest N weather station reports
aprsd-weewx-plugin - get weather from your weewx weather station
aprsd-slack-plugin - send/receive messages to a slack channel
aprsd-sentry-plugin -
aprsd-repeat-plugins - plugins for the REPEAT service. Get nearest Ham radio repeaters!
aprsd-twitter-plugin - make tweets from your Ham Radio!
aprsd-timeopencage-plugin - Get local time for a callsign
aprsd-stock-plugin - get stock quotes from your Ham radio
List of existing extensions - Add new capabilities to APRSD
aprsd-admin-extension - Web Administration page for APRSD
aprsd-webchat-extension - Web page for APRS Messaging
aprsd-rich-cli-extension - Textual rich CLI versions of aprsd commands
aprsd-irc-extension - an IRC like server command for APRS
APRSD Overview Diagram
APRSD's typical use case is that of providing an APRS wide service to all HAM radio operators. For example the callsign 'REPEAT' on the APRS network is actually an instance of APRSD that can provide a list of HAM repeaters in the area of the callsign that sent the message.
Ham radio operator using an APRS enabled HAM radio sends a message to check the weather. An APRS message is sent, and then picked up by APRSD. The APRS packet is decoded, and the message is sent through the list of plugins for processing. For example, the WeatherPlugin picks up the message, fetches the weather for the area around the user who sent the request, and then responds with the weather conditions in that area. Also includes a watch list of HAM callsigns to look out for. The watch list can notify you when a HAM callsign in the list is seen and now available to message on the APRS network.
Install uv (recommended):
uv is a fast Python package installer and resolver. To install uv , visit
To install aprsd , use uv:
Or with the traditional pip:
This command outputs a sample config yml formatted block that you can edit and use to pass in to aprsd with -c . By default aprsd looks in ~/.config/aprsd/aprsd.yml
This is the main server command that will listen to APRS-IS servers and look for incomming commands to the callsign configured in the config file
For detailed documentation of each built-in plugin (commands, configuration, and troubleshooting), see PLUGINS.md .
Current list extensions
This command is typically used for development to send another aprsd instance test messages
git clone [email protected]:craigerl/aprsd.git
While working aprsd, The workflow is as follows:
Checkout a new branch to work on by running git checkout -b mybranch
Checkout a new branch to work on by running
git checkout -b mybranch
Make your changes to the code
Make your changes to the code
Run Tox with the following options: tox -efast8 tox -efmt tox -p
Run Tox with the following options:
Commit your changes. This will run the pre-commit hooks which does checks too git commit
Commit your changes. This will run the pre-commit hooks which does checks too
Once you are done with all of your commits, then push up the branch to github with: git push -u origin mybranch
Once you are done with all of your commits, then push up the branch to github with:
git push -u origin mybranch
Create a pull request from your branch so github tests can run and we can do a code review.
Create a pull request from your branch so github tests can run and we can do a code review.
To do release to pypi:
Tag release with: git tag -v1.XX -m "New release"
git tag -v1.XX -m "New release"
Push release tag: git push origin master --tags
git push origin master --tags
Do a test build and verify build is valid by running: make build
Do a test build and verify build is valid by running:
Once twine is happy, upload release to pypi: make upload
Once twine is happy, upload release to pypi:
Building your own APRSD plugins
For information on building your own APRSD plugins, see the Plugin Development documentation .
For information on building Docker containers (official and development builds), see the Docker Container documentation .
Running the container
There is a docker-compose.yml file in the docker/ directory that can be used to run your container. To provide the container an aprsd.conf configuration file, change your docker-compose.yml as shown below:
To install plugins at container start time, pass in a list of comma-separated list of plugins on PyPI using the APRSD_PLUGINS environment variable in the docker-compose.yml file. Note that version constraints may also be provided. For example:
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
