#random #file #command-line-tool #entry #displaying #gz #txt

bin+lib jargon

Command line tool for displaying a random entry from the Jargon File

11 releases

0.3.5 Feb 6, 2024
0.3.4 Sep 9, 2022
0.3.2 Apr 12, 2022
0.3.1 Aug 29, 2020
0.2.0 Jan 8, 2020

#1650 in Command line utilities

38 downloads per month

MPL-2.0 license

710KB
89 lines

jargon

audit-lint release

About

Spawned from a bout of nostalgia and some free time.

The contents of jargon.txt.gz were originally derived from the Internet Archive:

lynx \
    --dump \
    --width 145 \
    --nonumbers \
    ${INTERNET_ARCHIVE_URL} | gzip --best -c > jargon.txt.gz

Build

Build using cargo:

cargo build --release

This will update src/lib.rs in-place. The resulting changes can be ignored with:

git update-index \
    --assume-unchanged \
    src/lib.rs

Running

This can be run locally using cargo:

cargo run --release

Alternatively, having built it as above, the resulting binary located in target/release/jargon can be executed directly:

./target/release/jargon

Releases

Releases are available as deb and rpm packages.

Dependencies

~0.7–11MB
~75K SLoC