#xkcd #browser #comic #cli #kitty #display #terminal

bin+lib xkcd-bin

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

8 releases

new 0.2.4 Dec 19, 2024
0.2.3 Sep 12, 2024
0.1.2 Sep 3, 2024

#2 in #xkcd

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

23KB
175 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–33MB
~516K SLoC