An unofficial CLI tool for using the https://fckaf.de/ service. It is very good. Smiley.
Requires Python 3.10 or newer.
Install required modules:
python3 -m pip install -r requirements.txtThen type python3 fck.py <URL> [delay]. If omitted, delay defaults to 3.
delay must match one of the seconds offered by fckaf.de (0, 3,
6, 9, ...). Other values are rounded to the nearest offered one, and a
note is printed to stderr.
Run using a local copy of the repo:
nix run . -- https://example.com [delay]Or directly from the repository on GitHub:
nix run github:domifi/fckafde_cli -- https://example.com [delay]This uses the pinned Python environment from flake.lock, not
requirements.txt.
Run the live integration test with:
python3 -m unittest discover -s testsThe test contacts https://fckaf.de/ and requires network access. It checks
that https://example.com with a delay of 9 returns
https://fckaf.de/KZu.