Table of Contents

Direwolf Web Log Viewer

Sourced from Alfredo Vania, IZ7BOJ, GitHub Repository. https://github.com/IZ7BOJ/direwolf_webstat

Overview

I am assuming you have set up and configured an APRS iGate as detailed in this post You might be interested in an easy way of showing what stations you are hearing. Direwolf outputs its logs in a delimited format which can be opened and parsed by a variety of applications. However, sometimes a web GUI is much nicer. Alfredo, IZ7BOJ, has developed a PHP web statistics viewer which parses the logs and displayed the results on a nicely formatted table presented on a self-hosted website.

For reference I have this installed on a Raspberry Pi Zero W running Raspberry OS Lite 32 Bit (Bullseye 2022-09-22)

Main Features of the software

Installing and using

Update your system

sudo apt-get update && sudo apt-get upgrade

Install a lightweight webserver

sudo apt-get install lighttpd
sudo apt-get install php7.4-common php7.4-cgi php
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload

Download Software

cd ~
git clone https://github.com/IZ7BOJ/direwolf_webstat

Copy files to the website folder

cd ~
sudo cp direwolf_webstat/* /var/www/html/

Configure to meet your system setup

sudo nano /var/www/html/config.php

Change these variables to match your Direwolf config

$logpath = "/var/log/direwolf/";
$stationlat = 53.000000;
$stationlon = -06.000000;

Screenshot