#xkcd #kitty #browser #comic #cli #default #display

bin+lib xkcd-bin

Display Xkcd.com comics in Kitty Terminal or in the default web browser

7 releases

0.2.3 Sep 12, 2024
0.2.2 Sep 5, 2024
0.1.2 Sep 3, 2024

#2 in #xkcd

Download history 445/week @ 2024-09-01 106/week @ 2024-09-08 37/week @ 2024-09-15 13/week @ 2024-09-22 12/week @ 2024-09-29

71 downloads per month

BSD-3-Clause and LGPL-3.0-or-later

21KB
169 lines

xkcd-bin

Just a CLI to show Xkcd.com comics in Kitty Terminal.

Installation

cargo +nightly install xkcd-bin

Usage

Get the latest comic:

xkcd latest

Or simply:

xkcd

Get a random comic:

xkcd random

Get the comic number 162:

xkcd 162

Open the comic number 162 in the default web browser:

xkcd --browser 162

Get help:

xkcd --help

Note

If you’re looking for a library to build Xkcd into your project, please head to Rusty Xkcd or xkcd-rs.

License

Dependencies

~18–32MB
~493K SLoC