@christopherkade/randog

A CLI to fetch cute dog pictures

Usage no npm install needed!

<script type="module">
  import christopherkadeRandog from 'https://cdn.skypack.dev/@christopherkade/randog';
</script>

README

random + dog = randog

Fetch and display a picture of a random dog right in your terminal.

Installation

npm install -g @christopherkade/randog

Or, if you just want a quick look without installing it:

npx @christopherkade/randog

Usage

$ randog --help

  Usage
    $ randog
    $ randog --breed="breed name"

  Examples
    $ randog
    $ randog --breed="shiba"

Screenshot

Why?

Why not?

Packages used

  • A fork of terminal-img - To display pictures in the terminal
  • yargs - To simplify the CLI creation
  • axios - The fetch the pictures via an API

Currently only supported by iTerm >=3