2020-05-26 22:16:47 +02:00
# FLEcli
2022-08-16 20:39:07 +02:00
2020-05-28 18:32:45 +02:00
Multi-platform "Fast Log Entry"(FLE) processing tool.
2020-05-26 22:27:11 +02:00
2023-02-10 21:42:22 +01:00
![Go Build & Test ](https://github.com/on4kjm/FLEcli/actions/workflows/ci.yml/badge.svg )
2020-07-27 22:26:43 +02:00
[![codecov ](https://codecov.io/gh/on4kjm/FLEcli/branch/master/graph/badge.svg )](https://codecov.io/gh/on4kjm/FLEcli)
2020-07-21 13:27:17 +02:00
2021-12-05 20:43:06 +01:00
["Fast Log Entry" ](https://www.df3cb.com/fle/ ) is a nifty tool, written by DF3CB. It allows quick and efficient entry of radio amateur contacts made during DXpeditions, contests or SOTA/WWFF/POTA activation. It can export the listed contacts in ADIF format ready to be uploaded to eQSL/LOTW or submitted for SOTA, POTA, and WWFF. The original program is only available as a Windows executable which leaves the Mac or Linux users (like me) in the cold.
2020-05-27 21:29:23 +02:00
2021-12-05 20:43:06 +01:00
The original FLE format was extented with release V1.4 to support POTA log files.
2020-05-28 18:32:45 +02:00
2022-08-16 20:39:07 +02:00
This tool is intended to process FLE formatted files on other platform than Windows. The FLE input file format is described on < https: / / www . df3cb . com / fle / documentation / >
2021-12-05 20:43:06 +01:00
------
2022-08-16 20:39:07 +02:00
If you like what I did and want to keep me going, you can "buy me a coffee" via the link below.
2021-12-05 20:43:06 +01:00
2022-08-16 20:39:07 +02:00
[!["Buy Me A Coffee" ](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png )](https://www.buymeacoffee.com/on4kjm)
2020-07-15 13:40:47 +02:00
2020-07-27 22:26:43 +02:00
------
2020-07-15 13:40:47 +02:00
2020-07-27 22:26:43 +02:00
## Installing
2022-08-16 20:39:07 +02:00
2020-07-27 22:26:43 +02:00
The tool is installed by downloading and unpacking the archive for your operating system.
2020-07-26 22:30:14 +02:00
2022-08-16 20:39:07 +02:00
A version is available for Windows, MacOS, Linux and ARM (RaspberryPi).
2020-07-27 22:26:43 +02:00
Most of them are available as 32 or 64 bit applications.
A docker version is also available.
2020-07-26 22:30:14 +02:00
2022-08-16 20:39:07 +02:00
The releases can be downloaded from < https: / / github . com / on4kjm / FLEcli / releases >
2020-07-26 22:30:14 +02:00
2021-12-05 20:43:06 +01:00
For MacOS users, `homebrew` is the easiest installation method.
2021-12-05 21:27:24 +01:00
2022-08-16 20:39:07 +02:00
* add the Homebrew tap with `brew tap on4kjm/tap` .
2021-12-05 21:27:24 +01:00
* install the application with `brew install flecli` .
2022-08-16 20:39:07 +02:00
Detailed installation instructions for:
2021-12-05 20:43:06 +01:00
2022-08-16 20:39:07 +02:00
* [Windows, Linux, and ARM ](doc/install.md )
* [mac ](doc/install_mac.md )
2020-07-15 13:40:47 +02:00
2020-07-27 22:26:43 +02:00
## Usage
2020-07-15 13:40:47 +02:00
2022-08-16 20:39:07 +02:00
See [Detailed FLEcli command usage ](doc/usage.md ).
2020-07-15 13:40:47 +02:00
2020-10-04 14:42:36 +02:00
Most common use cases are described hereafter as examples.
2020-07-16 13:37:29 +02:00
### Example: validate the FLE syntax of a file
2020-07-15 13:40:47 +02:00
2020-10-04 14:42:36 +02:00
To load and validate the FLE formatted file (`myActivation.txt`):
2020-07-15 13:40:47 +02:00
2022-08-16 20:39:07 +02:00
```shell
2020-07-29 08:22:13 +02:00
./FLEcli load myActivation.txt
2020-07-15 23:02:31 +02:00
```
2020-07-15 13:40:47 +02:00
2022-08-16 20:39:07 +02:00
This command will parse and display the QSOs in grid format.
Fields that couldn't be successfully parsed are prefixed with "*".
Parsing errors or doubts are listed at the end of the list.
2020-07-15 13:40:47 +02:00
### Example: generate an ADIF file
2020-07-15 23:02:31 +02:00
To generate an ADIF file based on `activation.txt` :
2022-08-16 20:39:07 +02:00
```shell
2020-07-29 08:22:13 +02:00
./FLEcli adif -i --overwrite activation.txt output/activation.adi
2020-07-15 23:02:31 +02:00
```
2022-08-16 20:39:07 +02:00
2020-07-29 08:22:13 +02:00
The second element after the input specifies the path and name of the output file.
If is omitted, the tool will generate a filename.
2020-07-26 22:30:14 +02:00
It is based on the input filename, just replacing the extension with `.adi` .
2020-07-15 23:02:31 +02:00
2022-08-16 20:39:07 +02:00
The `-o` or `--overwrite` flag indicates that, if the output file already exists, it should be overwritten.
2020-07-15 23:02:31 +02:00
2020-07-29 08:22:13 +02:00
The `-i` or `--interpolate` flag will interpolate the missing non-entered times based on the first and the last entered time.
2020-07-15 23:02:31 +02:00
2020-07-15 13:40:47 +02:00
### Example: generate an ADIF file for WWFF upload
2020-07-15 23:02:31 +02:00
2022-08-16 20:39:07 +02:00
To generate a WWFF-ready ADIF file:
```shell
2020-07-29 08:22:13 +02:00
./FLEcli adif -i --wwff ON4KJM@ONFF-025920200524.txt
2020-07-15 23:02:31 +02:00
```
2022-08-16 20:39:07 +02:00
2020-08-11 13:21:20 +02:00
The `--wwff` (or `-w` in the short form) indicates the adif flavour to produce.
You can also use the `--sota` switch to generate an ADIF file containing SOTA details.
2020-07-16 13:37:29 +02:00
The switch can be used together with `--wwff`
2020-07-15 23:02:31 +02:00
2020-07-16 13:57:20 +02:00
As we didn't provide an output filename, the default output, `ON4KJM@ONFF-025920200524.adi` will be used.
2021-12-05 20:43:06 +01:00
### Example: generate an ADIF file for POTA upload
2022-08-16 20:39:07 +02:00
To generate a POTA-ready ADIF file:
```shell
2021-12-05 20:43:06 +01:00
./FLEcli adif -i --pota ON4KJM@ON-000120211224.txt
```
2022-08-16 20:39:07 +02:00
2021-12-05 20:43:06 +01:00
The `--pota` (or `-p` in the short form) indicates the adif flavour to produce.
As we didn't provide an output filename, the default output, `ON4KJM@ON-000120211224.adi` will be used.
A sample POTA FLE input file can be found in [the sample directory ](test/data/sample_pota.txt ).
2020-07-15 13:40:47 +02:00
### Example: generate a SOTA csv file
2022-08-16 20:39:07 +02:00
To generate a CSV file that can be uploaded to < https: / / www . sotadata . org . uk / > to report SOTA activations:
2020-07-16 13:37:29 +02:00
2022-08-16 20:39:07 +02:00
```shell
2020-07-29 08:22:13 +02:00
./FLEcli csv --interpolate --overwrite sotaActivation.txt
```
2022-08-16 20:39:07 +02:00
2020-07-29 08:22:13 +02:00
or the short form
2022-08-16 20:39:07 +02:00
```shell
2020-07-29 08:22:13 +02:00
./FLEcli csv -i -o sotaActivation.txt
2020-07-16 13:37:29 +02:00
```
2022-08-16 20:39:07 +02:00
2020-07-16 13:57:20 +02:00
This command will generate `sotaActivation.csv` based on the `sotaActivation.txt` FLE logfile.
2020-07-16 13:37:29 +02:00
If the output file exists, it will be overwritten as the `--overwrite` flag has been specified.
The `--interpolate` flag will interpolate the missing non-entered times based on the first and the last entered time.