Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fckafde_cli

An unofficial CLI tool for using the https://fckaf.de/ service. It is very good. Smiley.

Requires Python 3.10 or newer.

Usage

Install required modules:

python3 -m pip install -r requirements.txt

Then 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.

Nix

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.

Tests

Run the live integration test with:

python3 -m unittest discover -s tests

The 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.

About

An unofficial cli tool for using the https://fckaf.de/ service

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages