ASCII 艺术

来自 ArchWiki


软件

  • arttime — 将精选的 ASCII/ANSI/UTF-8 艺术、翻转动画、动画故事板带到终端。它也是一个功能齐全的时钟、定时器和时间管理器。因此,您现在可以在查看漂亮的文字艺术的同时进行无聊的时间管理。
https://github.com/poetaman/arttime || arttime-gitAUR
  • ASCII Draw — 一个仅使用 ASCII 绘制图表或任何内容的应用程序。
https://github.com/Nokse22/ascii-draw || ascii-drawAUR
  • ascii-rain — 用 C 语言和 Ncurses 编写的舒适的控制台雨景。
https://github.com/nkleemann/ascii-rain || ascii-rain-gitAUR
  • Asciiquarium — ASCII 艺术的水族馆/海洋动画。
https://robobunny.com/projects/asciiquarium/ || asciiquarium
  • Banner — 将大型横幅打印到 ASCII 终端。
https://shh.thathost.com/pub-unix/ || banner
  • bash-pipes — 动画管道终端屏幕保护程序。
https://github.com/pipeseroni/pipes.sh || bash-pipesAUR
  • boxes — 文本模式框和注释绘图过滤器。
https://boxes.thomasjensen.com/ || boxesAUR
  • cbonsai — 盆景树生成器,用 C 语言使用 ncurses 编写。
https://gitlab.com/jallbrit/cbonsai || cbonsaiAUR
  • catimg — 在终端中打印图像,支持 256 色。
https://github.com/posva/catimg || catimg
  • cmatrix — 基于“黑客帝国”文本在终端中播放的动画。
https://github.com/abishekvashok/cmatrix || cmatrix
  • DurDraw — 终端的 ANSI、ASCII 和 Unicode 艺术编辑器,具有动画、256 色和鼠标支持。
https://github.com/cmang/durdraw || durdrawAUR
  • FIGlet — 一个用普通文本制作大字母的程序。
http://www.figlet.org/ || figlet
  • jp2a — 一个用于将 JPG、PNG 和 WebP 图像转换为 ASCII 的小型实用程序。
https://github.com/Talinx/jp2a || jp2a
  • Letterpress — GUI 应用程序,用于将图像转换为由 ASCII 字符组成的图片。它使用 jp2a 作为后端。
https://apps.gnome.org/Letterpress/ || letterpress
  • neo-matrix — 模拟“黑客帝国”中的数字雨
https://github.com/st3w/neo || neo-matrixAUR
  • nyancat — 在您的终端中渲染 nyancat。
https://nyancat.dakko.us/ || nyancat
  • TOIlet — FIGlet 实用程序的免费替代品。
http://caca.zoy.org/wiki/toilet || toilet
  • tty-clock — ncurses 中的数字时钟。
https://github.com/xorg62/tty-clock || tty-clockAUR
  • sl — 当您键入 sl(您本想键入 ls)时,steam locomotive 会在您的终端上运行。
https://github.com/eyJhb/sl || sl
  • emacs — Artist-mode 是 GNU Emacs 中的一个内置软件包,允许您使用 Emacs 文本编辑器创建简单的绘图和图表。
https://www.emacswiki.org/emacs/ArtistMode || emacs
  • mkinitcpio-archlogo — 将彩色 Arch Linux ASCII 艺术徽标添加到早期启动过程中。
https://github.com/eworm-de/mkinitcpio-archlogo || mkinitcpio-archlogoAUR

对于图表,可以使用 https://asciiflow.com/

Arch ASCII 标志

参见原始论坛帖子

 \e[H\e[2J
           \e[0;36m.
          \e[0;36m/ \
         \e[0;36m/   \      \e[1;37m               #     \e[1;36m| *
        \e[0;36m/^.   \     \e[1;37m a##e #%" a#"e 6##%  \e[1;36m| | |-^-. |   | \ /
       \e[0;36m/  .-.  \    \e[1;37m.oOo# #   #    #  #  \e[1;36m| | |   | |   |  X
      \e[0;36m/  (   ) _\   \e[1;37m%OoO# #   %#e" #  #  \e[1;36m| | |   | ^._.| / \ \e[0;37mTM
     \e[1;36m/ _.~   ~._^\
    \e[1;36m/.^         ^.\ \e[0;37mTM
 \e[H\e[2J
           \e[1;36m.
          \e[1;36m/#\
         \e[1;36m/###\      \e[1;37m               #     \e[1;36m| *
        \e[1;36m/p^###\     \e[1;37m a##e #%" a#"e 6##%  \e[1;36m| | |-^-. |   | \ /
       \e[1;36m/##P^q##\    \e[1;37m.oOo# #   #    #  #  \e[1;36m| | |   | |   |  X
      \e[1;36m/##(   )##\   \e[1;37m%OoO# #   %#e" #  #  \e[1;36m| | |   | ^._.| / \ \e[0;37mTM
     \e[1;36m/###P   q#,^\
    \e[1;36m/P^         ^q\ \e[0;37mTM

来自 screenfetch 3.6.5-1

                   -`
                  .o+`
                 `ooo/
                `+oooo:
               `+oooooo:
               -+oooooo+:
             `/:-:++oooo+:
            `/++++/+++++++:
           `/++++++++++++++:
          `/+++ooooooooooooo/`
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `

来自 alsiAUR 0.4.7-1

                  ##
                 ####
                ######
               ########
              ##########
             ############
            ##############
           ################
          ##################
         ####################
        ######################
       #########      #########
      ##########      ##########
     ###########      ###########
    ##########          ##########
   #######                  #######
  ####                          ####
 ###                              ###

来自 archey3AUR

               +              
               #              
              ###             
             #####            
             ######           
            ; #####;          
           +##.#####          
          +##########         
         #############;       
        ###############+      
       #######   #######      
     .######;     ;###;`".      
    .#######;     ;#####.       
    #########.   .########`     
   ######'           '######    
  ;####                 ####;   
  ##'                     '##   
 #'                         `#

ArchWiki 的生日庆祝

                                               ,- " " " -.
                                              /     _     \
                                             :     / |     ;     ,- " " "-.
                                             \     | |     /    /   ____   \
                                              \    |_|    /    ;    |  |    ;
                                                `.. ,, ..´     \    |__|    /
                                                  /✿\           \          /
                                                    )             `. ,, .´
     _             _  __        ___ _    _         (                /✿\
    / \   _ __ ___| |_\ \      / (_) | _(_)         )                (
   / _ \ | '__/ __| '_ \ \ /\ / /| | |/ / |        (                  )
  / ___ \| | | (__| | | \ V  V / | |   <| | ....... ) .*..---...*.....*
 /_/   \_\_|  \___|_| |_|\_/\_/  |_|_|\_\_| ....♫♪հձթթყ ъﻨгէհժձყ eժﻨէﻨon ♫

用户艺术

                    -@                
                   .##@               
                  .####@              
                  @#####@             
                . *######@            
               .##@o@#####@           
              /############@          
             /##############@         
            @######@**%######@        
           @######`     %#####o       
          @######@       ######%      
        -@#######h       ######@.`    
       /#####h**``       `**%@####@   
      @H@*`                    `*%#@  
     *`                            `* 

作者:Cyllos

\033[38;2;23;147;209m                   ▄
                  ▟█▙
                 ▟███▙
                ▟█████▙
               ▟███████▙
              ▂▔▀▜██████▙
             ▟██▅▂▝▜█████▙
            ▟█████████████▙
           ▟███████████████▙
          ▟█████████████████▙
         ▟███████████████████▙
        ▟█████████▛▀▀▜████████▙
       ▟████████▛      ▜███████▙
      ▟█████████        ████████▙
     ▟██████████        █████▆▅▄▃▂
    ▟██████████▛        ▜█████████▙
   ▟██████▀▀▀              ▀▀██████▙
  ▟███▀▘                       ▝▀███▙
 ▟▛▀                               ▀▜▙

作者:LnLcFlx

代码页 437 保存(例如 /etc/issue

\e[34m                  ▄
                 ▄█▄
                ▄███▄
               ▄█████▄
              ▄███████▄
             ▄ ▀▀██████▄
            ▄██▄▄ ▀█████▄
           ▄█████████████▄
          ▄███████████████▄
         ▄█████████████████▄
        ▄███████████████████▄
       ▄█████████▀▀▀▀████████▄
      ▄████████▀      ▀███████▄
     ▄█████████        ████▀▀██▄
    ▄██████████        █████▄▄▄
   ▄██████████▀        ▀█████████▄
  ▄██████▀▀▀              ▀▀██████▄
 ▄███▀▀                       ▀▀███▄
▄▀▀                               ▀▀▄\e[0m

作者:Hendrikto(从 LnLcFlx 版本修改)

\e[38;5;33m
                    .
                   / \
                  /   \
                 /     \
                /.      \
               ,_ `.     \
              /   ``-     .
             /             `
            /               `.
          .`      ."`".       \
         .       '     \       \
        /        \      ;     -.\
       /        .'     /._     `".
      /   .-"`             `"-.   `.
    .`.-`                       `-._\
    `                               `
\e[0m

作者:cmang

Cowsay

这里有一些 cowsayfortune 一起使用的示例

默认奶牛与 fortune

$ cowthink $(fortune)
 ________________________________________ 
( The best cure for insomnia is to get a )
( lot of sleep. -W.C. Fields             )
 ---------------------------------------- 
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

ASCII 图像由位于 /usr/share/cows.cow 文本文件生成,所有主题可以使用 cowsay -l 列出。这些文件可以根据用户的喜好进行编辑;自定义图像也可以从头开始创建或在网上找到。创建自定义奶牛文件最简单的方法是使用现有文件作为模板。要测试自定义文件

$ cowsay -f /path/to/file $(fortune)

随机奶牛与 fortune

$ fortune -c | cowthink -f $(find /usr/share/cows -type f | shuf -n 1)
  ___________________________________________
( (computers) % A language that doesn't )
( affect the way you think about                  )
( programming is not worth knowing.       )
  ------------------------------------------------------
         o      (__)
          o     /oo|
           o   (_"_)*+++++++++*
                    //I#\ \ \ \ \ \ \ \   I \
                   I[I|I | | | | |   I I `
                   I`I ' /  /  /  '  '     I I
                   I I                       I I
                  ~ ~                     ~ ~
                        Scowleton

随机自定义奶牛与 fortune

复杂的命令可以链接起来以生成详细的 ASCII 艺术,例如这个《飞出未来》的例子

  • 显示一个带有随机面部表情的随机奶牛并换行过长的 fortune 文本
注意: 随机选择的奶牛实际上是从一个包含自定义 ASCII 艺术的数据库中选择的蟾蜍
$ fortune -a | fmt -80 -s | $(shuf -n 1 -e cowsay cowthink) -$(shuf -n 1 -e b d g p s t w y) -f $(shuf -n 1 -e $(cowsay -l | tail -n +2)) -n
    ________________________________________ 
( Fry: I must be a robot. Why else would )
( human women refuse to date me?         )
    -------------------------------------------------- 
      o
        o
          o  
             ,'``.._   ,'``.
            :,--._:)\,:,._,.:
            :`--,''@@@:`...';\        
             `,'@@@@@@@`---'@@`.     
             /@@@@@@@@@@@@@@@@@:
            /@@@@@@@@@@@@@@@@@@@\
          ,'@@@@@@@@@@@@@@@@@@@@@:\.___,-.
         `...,---'``````-..._@@@@|:@@@@@@@\
           (                 )@@@;:@@@@)@@@\  _,-.
            `.              (@@@//@@@@@@@@@@`'@@@@\
             :               `.//@@)@@@@@@)@@@@@,@;
             |`.            _,'/@@@@@@@)@@@@)@,'@,'
             :`.`-..____..=:.-':@@@@@.@@@@@_,@@,'
            ,'\ ``--....-)='    `._,@@\    )@@@'``._
           /@_@`.       (@)      /@@@@@)  ; / \ \`-.'
          (@@@`-:`.     `' ___..'@@_,-'   |/   `.)
           `-. `.`.``-----``--,@@.'
             |/`.\`'        ,',');
                 `         (/  (/

Ponysay

对于完整的 256 色类似 cowsay 的艺术,请使用 ponysay(3.0 版本有 422 匹小马)。语法是相同的,意味着 ponysay message 是说些什么,ponysay -l 是列出完整的小马列表。要选择要显示的小马,请运行 ponysay --pony x "message",其中 x 是一匹小马。要创建更多小马,请使用 util-say-gitAUR 并将它们存储在 ~/.local/share/ponysay/ponies~/.local/share/ponysay/ttyponies/ 中,分别用于桌面和 TTY。

参见