Grimoire-
Command
.es

GNU+Linux command memo

Console based web

Du web prévu pour être vu en couleur dans la console

1. The concept (with wttr.in )

$ curl https://wttr.in/bressuire
Weather report: Bressuire, France

               Overcast
      .--.     12-14 °C
   .-(    ).   → 30 km/h
  (___.__)__)  13 km
               1.4 mm
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Mon 03 Dec ├──────────
│            Morning           │             Noon      └──────┬──────┘     Eveni
├──────────────────────────────┼──────────────────────────────┼─────────────────
│               Overcast       │  _`/"".-.     Patchy rain po…│  _`/"".-.     Li
│      .--.     12-14 °C       │   ,\_(   ).   14-15 °C       │   ,\_(   ).   11
│   .-(    ).   ↗ 28-43 km/h   │    /(___(__)  ↗ 35-50 km/h   │    /(___(__)  →
│  (___.__)__)  14 km          │      ‘ ‘ ‘ ‘  13 km          │      ‘ ‘ ‘ ‘  13
│               0.1 mm | 66%   │     ‘ ‘ ‘ ‘   0.0 mm | 33%   │     ‘ ‘ ‘ ‘   0.
└──────────────────────────────┴──────────────────────────────┴─────────────────
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Tue 04 Dec ├──────────
│            Morning           │             Noon      └──────┬──────┘     Eveni
├──────────────────────────────┼──────────────────────────────┼─────────────────
│               Fog            │               Fog            │  _`/"".-.     Pa
│  _ - _ - _ -  9-10 °C        │  _ - _ - _ -  12 °C          │   ,\_(   ).   10
│   _ - _ - _   ↗ 10-16 km/h   │   _ - _ - _   ↗ 8-11 km/h    │    /(___(__)  ↑
│  _ - _ - _ -  18 km          │  _ - _ - _ -  19 km          │      ‘ ‘ ‘ ‘  19
│               0.0 mm | 0%    │               0.0 mm | 0%    │     ‘ ‘ ‘ ‘   0.
└──────────────────────────────┴──────────────────────────────┴─────────────────
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Wed 05 Dec ├──────────
│            Morning           │             Noon      └──────┬──────┘     Eveni
├──────────────────────────────┼──────────────────────────────┼─────────────────
│    \  /       Partly cloudy  │               Overcast       │               Cl
│  _ /"".-.     7-10 °C        │      .--.     10-12 °C       │      .--.     11
│    \_(   ).   ↑ 19-33 km/h   │   .-(    ).   ↑ 20-28 km/h   │   .-(    ).   ↗
│    /(___(__)  20 km          │  (___.__)__)  20 km          │  (___.__)__)  14
│               0.0 mm | 0%    │               0.0 mm | 0%    │               4.
└──────────────────────────────┴──────────────────────────────┴─────────────────


Follow @igor_chubin for wttr.in updates

Here the ouput have been cut to fit in the screen, and colors where lost.

It also exists :

  • rate.sx to plot exchange rate of crypto-currencies

  • qrenco.de to create QR codes displayed in the console

  • cheat.sh for cheat sheets of many shells, scripts and programming languages

2. Other examples

2.1. rate.sx

$ curl https://eur.rate.sx
                                                                      _
                                                             _ _ __ _| |_ ___  _
                                                            | '_/ _` |  _/ -_)(_
__................................................__________|_| \__,_|\__\___()_
 '           '           '           '           '

Market Cap: €111,034,393,342 =
24h Vol: €12,326,483,354 =
BTC Dominance: 53.7% =
┌──────┬──────┬─────────────┬──────────────┬─────────────┬──────────────────┬───
│ Rank │ Coin │ Price (EUR) │ Change (24H) │ Change (1H) │ Market Cap (EUR) │ Sp
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 1    │ BTC  │ 3429.08     │ -6.45%       │ 0.00%       │ 59.684B          │ ▁▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 2    │ XRP  │ 0.307628    │ -5.26%       │ -0.50%      │ 12.406B          │ ▂▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 3    │ ETH  │ 95.2128     │ -7.47%       │ -0.08%      │ 9.862B           │ ▁▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 4    │ XLM  │ 0.132366    │ -6.73%       │ -0.18%      │ 2.535B           │ ▂▃
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 5    │ BCH  │ 139.819     │ -8.69%       │ -0.18%      │ 2.446B           │ ▁▅
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 6    │ EOS  │ 2.28244     │ -11.81%      │ 0.25%       │ 2.068B           │ ▃▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 7    │ USDT │ 0.877142    │ -0.42%       │ 0.23%       │ 1.628B           │ ▃▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 8    │ LTC  │ 27.2957     │ -8.80%       │ 0.30%       │ 1.622B           │ ▁▁
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 9    │ BSV  │ 83.2084     │ -5.67%       │ 0.03%       │ 1.454B           │ ▂▂
├──────┼──────┼─────────────┼──────────────┼─────────────┼──────────────────┼───
│ 10   │ ADA  │ 0.0338265   │ -7.76%       │ -0.65%      │ 877.022M         │ ▁▁
└──────┴──────┴─────────────┴──────────────┴─────────────┴──────────────────┴───
2018-12-03 19:12:59.602416 UTC

NEW FEATURE: to see cryptocurrency exchange rate, do curl rate.sx/eth (or any ot
 [Follow @igor_chubin for rate.sx updates] [github.com/chubin/rate.sx]
$ curl https://rate.sx/btc/eur@2w
▶ Bitcoin (BTC) to Euro (EUR) ▶ 19 Nov +2w -20.94%


  │ 4410.0
  │ ⡇
  │ ⡇⢀
  │ ⠷⢻
  │  ⠘⡄
  │   ⡇ ⢨
  │   ⡇ ⢸⡇
  │   ⢣ ⡜⡇  ⢀⡀
  │   ⢨ ⡇⢻  ⢸⢧  ⡾⢄
  │   ⢸ ⡇⢸ ⢀⡸⠸⣷⢠⠃ ⢹
  │   ⠘⣆⡇⢸ ⡸⡇ ⠛⠸  ⠈⡛⠺⣤
  │    ⠛ ⢸⣴⡃⠁        ⢹      ⡀
  │      ⠘⠟⠁         ⠈⡆ ⣢  ⢸⠑⣄⡀                            ⡇
  │                   ⡇ ⡏⠼⣀⡇ ⠉⠑⢆                       ⣿  ⢸⣧⣷  ⢀          ⡀
  │                   ⢣⡾⠁ ⠁    ⠐⢇                     ⣀⠿⡀ ⡜ ⢹⢠⢴⢻       ⢸⢺⣸⡇
  │                    ⠂        ⢸                    ⢀⠟ ⢻⢰⡇  ⠿⠃⠘⡄     ⢠⡎⠈⠈⢃⣠  ⣠
  │                             ⢸                    ⢨  ⠘⠏      ⢱     ⡜   ⠸⠂⡷⠳⠃⡇
  │                             ⢸     ⢀ ⢀            ⢸          ⢸     ⡇        ⢸
  │                             ⢸     ⢸⣢⣸⡆         ⢰⢾⠞          ⢰⢀⢦⡀⡀⢀⠇        ⢸
  │                             ⢸     ⢸⠘⠋⣇⡀        ⢸            ⠘⠏ ⡿⠈⠖
  │                             ⠈⡆    ⡇  ⠙⡇        ⢸
  │                              ⣧  ⢀ ⡇   ⢱        ⡸
  │                              ⠙⡆ ⡜⡆⡇   ⢸⢸⡄     ⡞⠁
  │                               ⡇⡀⡆⢳⠁   ⢸⡇⣇⡀⣸  ⣤⠃
  │                               ⠗⢻⡇      ⠁⡿⠟⠉⣶⢳⠁
  │                                ⢸⠁
  │                              3220.0
  └─────────────────────────────────────────────────────────────────────────────

begin: €4338.5 (19 Nov 19:40) // end: €3430.1 (03 Dec 19:15)
high: €4414.8 (19 Nov 20:20) // low: €3222.8 (25 Nov 10:30)
avg: €3692.0 // median: €3818.8 // change: -908.41 (-20.94%)
See rate.sx/:help for help and disclaimer

2.2. qrenco.de

$ curl https://qrenco.de/Coucou
█████████████████████████████
█████████████████████████████
████ ▄▄▄▄▄ █ ▄ ▄ █ ▄▄▄▄▄ ████
████ █   █ █ ▀▀▀██ █   █ ████
████ █▄▄▄█ █▀▀█▀▄█ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄▀ ▀ █▄▄▄▄▄▄▄████
████ ▄██ ▄▄▀█▄█ ▀██▄█ ▄ ▄████
████ █▀█ ▄▄▀▀ ▀▄█▀  ▄█▄ ▀████
████▄██▄▄▄▄▄▀▄▄█   █▄ ▀  ████
████ ▄▄▄▄▄ █▀ ▄▀ ▄█▄ ██ ▀████
████ █   █ █▄▀▀ ▀█▄ ▀█▀▀ ████
████ █▄▄▄█ █▀▀ ▄█▀ █▄█▄██████
████▄▄▄▄▄▄▄█▄█▄█▄▄▄▄▄███▄████
█████████████████████████████
█████████████████████████████

2.3. cheat.sh

$ curl https://cheat.sh
      _                _         _    __
  ___| |__   ___  __ _| |_   ___| |__ \ \      The only cheat sheet you need
 / __| '_ \ / _ \/ _` | __| / __| '_ \ \ \     Unified access to the best
| (__| | | |  __/ (_| | |_ _\__ \ | | |/ /     community driven documentation
 \___|_| |_|\___|\__,_|\__(_)___/_| |_/_/      repositories of the world

+------------------------+ +------------------------+ +------------------------+
| $ curl cheat.sh/ls     | | $ cht.sh btrfs         | | $ cht.sh lua/:learn    |
| $ curl cht.sh/btrfs    | | $ cht.sh tar~list      | | Learn any* programming |
| $ curl cht.sh/tar~list | |                        | | language not leaving   |
| $ curl https://cht.sh  | |                        | | your shell             |
|                        | |                        | | *) any of 60           |
|                        | |                        | |                        |
+-- queries with curl ---+ +- own optional client --+ +- learn, learn, learn! -+
+------------------------+ +------------------------+ +------------------------+
| $ cht.sh go/f<tab><tab>| | $ cht.sh --shell       | | $ cht.sh go zip lists  |
| go/for   go/func       | | cht.sh> help           | | Ask any question using |
| $ cht.sh go/for        | | ...                    | | cht.sh or curl cht.sh: |
| ...                    | |                        | | /go/zip+lists          |
|                        | |                        | | (use /,+ when curling) |
|                        | |                        | |                        |
+---- TAB-completion ----+ +-- interactive shell ---+ +- programming questions-+
+------------------------+ +------------------------+ +------------------------+
| $ curl cht.sh/:help    | | $ vim prg.py           | | $ time curl cht.sh/    |
| see /:help and /:intro | | ...                    | | ...                    |
| for usage information  | | zip lists _            | | real    0m0.075s       |
| and README.md on GitHub| | <leader>KK             | |                        |
| for the details        | |             *awesome*  | |                        |
|            *start here*| |                        | |                        |
+--- self-documented ----+ +- queries from editor! -+ +---- instant answers ---+

 [Follow @igor_chubin for updates][github.com/chubin/cheat.sh]