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

bin+lib jargon

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

12 releases

new 0.3.6 Dec 13, 2024
0.3.5 Feb 6, 2024
0.3.4 Sep 9, 2022
0.3.2 Apr 12, 2022
0.2.0 Jan 8, 2020

#1773 in Command line utilities

Download history 14/week @ 2024-09-19 3/week @ 2024-09-26 27/week @ 2024-11-28 158/week @ 2024-12-05

185 downloads per month

MPL-2.0 license

710KB
92 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