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 build
Deploy the contents of the build
directory to your server.
- Download the latest Big CTY (
cty.csv
) file from Country Files. - Move into the
fast-dxcc
directory. - Run the script
cty-parser.ts
to parse thecty.csv
file. - Run
npm version minor
to update the version number. - Run
yarn build
to build the code. - Publish the new version to npm with
npm publish
.
- Move into the
callsign-checker
directory. - Update the
fast-dxcc
dependency inpackage.json
to the new version. - Run
yarn install
to update the dependency. - Run
yarn build
to build the code. - Deploy the new version to your server.