Services based on changes to Finnish radio amateur callsign database.
Uses OH6AD's repository of call sign dumps, having data since April 2016. The callsign repository is updated once a day at 06:04 on Europe/Helsinki.
Tool which populates SQLite database when run with all the history. Handles all oddities in Ficora and Traficom data and produces a consistent view to the data.
Requirements:
git php-cli php-sqlite3sqlite3if you want to use the command-line interface, too.
Usage:
- Clone git repository https://github.com/OH6AD/koolit/ to
somewhere. You may use
--bareto save some space. - Copy
config.example.initoconfig.ini - Edit
config.iniand set repository path correctly. Set database path to preferrably an absolute path. You can ignore all Matrix related stuff. - Run the tool
update_databaseperiodically in a systemd timer (at 07 in the morning is fine), cron or similar. Database file is created if not existing.
Enjoy the database. Check database schema. An example query:
$ sqlite3 db.sqlite
SQLite version 3.31.1 2020-01-27 19:55:54
Enter ".help" for usage hints.
sqlite> .mode line
sqlite> select * from event where callsign='OH64K';
callsign = OH64K
status = VARAUS
from_date = 2018-03-28
to_date = 2018-04-16
callsign = OH64K
status = VOIMASSA
from_date = 2018-04-16
to_date = 2021-01-01
sqlite>
Koolitutka also includes a browser-only frontend for searching callsigns,
viewing callsign history, and browsing recent changes. The frontend is built
with Vite and reads a generated SQLite database directly in the browser with
sql.js, so the deployed version can be served as static files.
See frontend/README.md for development, build, and deployment instructions.
The newest callsign changes can be exported as an EP1 teletext page:
scripts/export_teletext_changes.py db.sqlite teletext-590-03.ep1 --subpage 10/11
scripts/export_teletext_changes.py db.sqlite teletext-590-03.ep1 --subpage 10/11 --date 2026-06-05The output is 24 records of 42 bytes, uses ISO-646-FI character mapping, and
includes koolit.hamit.fi near the bottom of the page. If --date is
not given, the exporter uses the current date in Europe/Helsinki.
May be used to send daily Matrix notifications, speak out new callsigns as a bulletin on a repeater. Or just for fun.
Requirements:
git php festival festvox-suopuhe-mv opus-tools php-curl php-xml(for audio bulletin use)git php php-curl php-xml(Matrix notifications)
Usage:
- Clone git repository https://github.com/OH6AD/koolit/ to somewhere. You may use
--bareto save some space. - Copy
config.example.initoconfig.ini - Edit
config.iniand set repository path correctly - Expose
old_public/directory on your HTTP server
It can be also run via command-line and play the audio locally:
php old_public/koolipuhe.php opus 2020-04-10 | vlc fd://0 vlc://quitOr just as text:
php old_public/koolipuhe.php text 2020-04-10Or send Matrix message;
php old_public/koolipuhe.php matrix