🚩 This repository is now an archive
Source code has been moved to https://github.com/jakobkordez/ham-core/tree/main/apps/call-tester
An app for checking the format of a callsign and finding the country it belongs to.
Data about countries can be downloaded from either Amateur Radio Country Files by AD1C or Clublog.
Download any cty.dat file from the Country Files website. I recommend using the Big CTY file.
Instead of cty.dat you can also use the cty.csv file.
Parsing of cty.dat or cty.csv can be done with the script cty-parser.ts.
Note: The cty.dat does not contain the adif DXCC number.
Read how to obtain the Clublog prefix file here
Parsing can be done with the script clublog-parser.ts.
The app can be deployed using the following command:
yarn install
yarn buildDeploy the contents of the build directory to your server.
- Download the latest Big CTY (
cty.csv) file from Country Files. - Move into the
fast-dxccdirectory. - Run the script
cty-parser.tsto parse thecty.csvfile. - Run
npm version minorto update the version number. - Run
yarn buildto build the code. - Publish the new version to npm with
npm publish.
- Move into the
callsign-checkerdirectory. - Update the
fast-dxccdependency inpackage.jsonto the new version. - Run
yarn installto update the dependency. - Run
yarn buildto build the code. - Deploy the new version to your server.