Git Product home page Git Product logo

koolitutka's Introduction

Koolitutka

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.

Ham radio callsign database

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-sqlite3
  • sqlite3 if you want to use the command-line interface, too.

Usage:

  1. Clone git repository https://github.com/OH6AD/koolit/ to somewhere. You may use --bare to save some space.
  2. Copy config.example.ini to config.ini
  3. Edit config.ini and set repository path correctly. Set database path to preferrably an absolute path. You can ignore all Matrix related stuff.
  4. Run the tool update_database periodically 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>

Callsign difference tool

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:

  1. Clone git repository https://github.com/OH6AD/koolit/ to somewhere. You may use --bare to save some space.
  2. Copy config.example.ini to config.ini
  3. Edit config.ini and set repository path correctly
  4. Expose public/ directory on your HTTP server

It can be also run via command-line and play the audio locally:

php public/koolipuhe.php opus 2020-04-10 | vlc fd://0 vlc://quit

Or just as text:

php public/koolipuhe.php text 2020-04-10

Or send Matrix message;

php public/koolipuhe.php matrix

koolitutka's People

Contributors

zouppen avatar

Watchers

Antti Louko avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.