Skip to content
Golang ASCII Robot Generator
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
LICENSE
README.md
bot.go Ensure id is 5 hex characters (preventing out-of-range panic) Mar 14, 2019
go.mod
parts.go initial Mar 13, 2019

README.md

go-asciibot

I found this awesome lib to generate random ascii bots and ported it to Golang. All credits go to Matthew Walsh.

Cowsay versions:

Usage

GoDoc

import "github.com/mattes/go-asciibot"

fmt.Println(asciibot.Random())

Examples

   _ _,_,_ _   
   \( q p )/   
     \_#_/     
  .==|>o<|==:=L
  '=c|___|     
     ]| |[     
    [_| |_]     




     ,_,_,     
     \O O/     
     /_E_\     
()ooo|\=/|ooo()
     |___|     
     /| |\     
    [_] [_]     




     T___      
     |O O|     
     \_^_/     
    /|(\)|\    
   d |___| b   
    .'._.'.    
    |_| |_|     




    \.===./    
    | p q |    
     \_^_/     
    /| []|\    
  ()/|___|\()  
     /| |\     
    (0) (0)     




     T___      
     |q p|     
     \_`_/     
  (m9\:::/\    
     /___\6    
     // \\     
    _\\ //_     




     ,_,_,     
     \b d/     
     /_@_\     
  (m9\:::/\    
     /___\6    
     [] []     
    /:] [:\     




     .---.     
    } n n {    
     \_-_/     
.'c ."|_|". n`.
'--'  /_\  `--'
     /| |\     
    [_] [_]     




    \.===./    
    | O O |    
     \_E_/     
   ,"|+  |".   
   _\|+__|/_   
     ]| |[     
    [_| |_]     




     ,_,_,     
     \p q/     
     /_-_\     
 )=o=|L88|=o=( 
 )=o=|___|=o=( 
     [] []     
    /:] [:\     




      )_(      
     |0 0|     
     |_A_|     
  (m9\:::/\    
     /___\6    
     /| |\     
    (0) (0)     




     _._._     
    -)q p(-    
     \_#_/     
.'c ."|_|". n`.
'--'  /_\  `--'
     (   )     
    __) (__     




      Y__      
    _/p q\_    
     \_-_/     
    /|(\)|\    
   d |___| b   
     ]| |[     
    [_| |_]     




     .---.     
    } d b {    
     \_r_/     
  (m9\:::/\    
     /___\6    
     /7 [|     
   \/7  [|_     




     ___T_     
    | 6=6 |    
    |__o__|    
 >===]__o[===< 
     [o__]     
      .".      
      |_|       




     ___T_     
    | - - |    
    |__v__|    
   .=[::+]=.   
 ]=' [___] '=[ 
     /  |      
    _\  |_      




     .===./`   
    /.d b.\    
    "\_v_/"    
   .=(+++)=.   
o="  (___)  "=o
    . \_/  .   
   . .:::.. .   




     _._._     
    -)q p(-    
     \_v_/     
   .=(+++)=.   
o="  (___)  "=o
     // \\     
    _\\ //_     




     |---|     
     |q p|     
     |_O_|     
}-. /\--o/\ .-{
   " |___| "   
     (   )     
    __) (__     




   _ _,_,_ _   
   \( 9 9 )/   
     \_`_/     
    /| []|\    
  ()/|___|\()  
     |_|_|     
     /_|_\      




     o___o     
    //O O\\    
    |\_E_/|    
    ,=|x|=.    
    'c/_\  'c  
    . \_/  .   
   . .:::.. .   




     .===.     
    //O O\\    
    \\_@_//    
    ,=|x|=.    
    'c/_\  'c  
     |_|_|     
     /_|_\      




     .===.     
    //- -\\    
    \\_#_//    
}-. /\--o/\ .-{
   " |___| "   
     [] []     
    /:] [:\     




     ,_,_,     
     \- -/     
     /_n_\     
 >===]__o[===< 
     [o__]     
     /7 [|     
   \/7  [|_     




    .=._,=.    
   ' (9 9) `   
     _)=(_     
  .==|>o<|==:=L
  '=c|___|     
      .".      
      |_|       




     T___      
     |d b|     
     \_=_/     
 >===]__o[===< 
     [o__]     
     /| |\     
    (0) (0)     




     T___      
     |q p|     
     \_A_/     
   ,"|+  |".   
   _\|+__|/_   
     ]| |[     
    [_| |_]     




      __i      
     [o o]     
      ]#[      
    /|(\)|\    
   d |___| b   
    .'._.'.    
    |_| |_|     




     T___      
     |O O|     
     \_O_/     
 >===]__o[===< 
     [o__]     
  .  /___\  .  
. ..:::::::.  . 




    \.===./    
    | [o] |    
     \_o_/     
.'c ."|_|". n`.
'--'  /_\  `--'
      .".      
      |_|       




     .===.     
    //9 9\\    
    \\_n_//    
 )=o=|L88|=o=( 
 )=o=|___|=o=( 
     [] []     
    /:] [:\     




      __i      
     [n n]     
      ]-[      
    /|(\)|\    
   d |___| b   
     (   )     
    __) (__     




    .=._,=.    
   ' (o o) `   
     _)n(_     
   ,"|+  |".   
   _\|+__|/_   
    _// \\_    
   /_o| |o_\    




     .---.     
    } q p {    
     \_`_/     
  7--|=0=|--<  
     |___|     
     /7 [|     
   \/7  [|_     




     ___T_     
    | ooo |    
    |__n__|    
  7--|=0=|--<  
     |___|     
  .  /___\  .  
. ..:::::::.  . 




     ,_,_,     
     \d d/     
     /_#_\     
    /| []|\    
  ()/|___|\()  
     /  |      
    _\  |_      




     |---|     
     |b d|     
     |_u_|     
}-. /\--o/\ .-{
   " |___| "   
     (_|_)     
     (o|o)      




     _._._     
    -)ooo(-    
     \_v_/     
()ooo|\=/|ooo()
     |___|     
     /  |      
    _\  |_      




      __i      
     [p q]     
      ]r[      
  (m9\:::/\    
     /___\6    
     /| |\     
    (0) (0)     




     .===.     
    //O O\\    
    \\_#_//    
    ,=|x|=.    
    'c/_\  'c  
     [] []     
    /:] [:\     




      .-.      
   ._(u u)_.   
     (_O_)     
   ,"|+  |".   
   _\|+__|/_   
     (   )     
    __) (__     




     _._._     
    -)d b(-    
     \_@_/     
}-. /\--o/\ .-{
   " |___| "   
     // \\     
    _\\ //_     




    .=._,=.    
   ' (u u) `   
     _)u(_     
  o==|ooo|==o  
     |___|     
     [] []     
    /:] [:\     




     .===.     
    //9 9\\    
    \\_#_//    
}-. /\--o/\ .-{
   " |___| "   
      .".      
      |_|       




     ,_,_,     
     \n n/     
     /_r_\     
   ,"|+  |".   
   _\|+__|/_   
     /| |\     
    [_] [_]     




      .-.      
   ._(q p)_.   
     (_#_)     
  7--|=0=|--<  
     |___|     
     ]| |[     
    [_| |_]     




     |---|     
     |u u|     
     |_n_|     
 >===]__o[===< 
     [o__]     
     /7 [|     
   \/7  [|_     




     o___o     
    //b d\\    
    |\_0_/|    
}-. /\--o/\ .-{
   " |___| "   
      |_|      
     (ooo)      




      __i      
     [o o]     
      ]-[      
   .=(+++)=.   
o="  (___)  "=o
     |_|_|     
     /_|_\      




     .===.     
    //q q\\    
    \\_^_//    
   .=[::+]=.   
 ]=' [___] '=[ 
      |_|      
     (ooo)      




      )_(      
     |d b|     
     |_o_|     
   .=[::+]=.   
 ]=' [___] '=[ 
    .'._.'.    
    |_| |_|     




     |---|     
     |d d|     
     |_=_|     
  .==|>o<|==:=L
  '=c|___|     
  .  /___\  .  
. ..:::::::.  . 




      Y__      
    _/u u\_    
     \_^_/     
  .==|>o<|==:=L
  '=c|___|     
     /  |      
    _\  |_      




      __i      
     [q p]     
      ]`[      
  7--|=0=|--<  
     |___|     
     (_|_)     
     (o|o)      




     .===.     
    //q p\\    
    \\_-_//    
   .=[::+]=.   
 ]=' [___] '=[ 
     ]| |[     
    [_| |_]     




   _ _,_,_ _   
   \( d d )/   
     \_u_/     
    /| []|\    
  ()/|___|\()  
      .".      
      |_|       




    \.===./    
    | p q |    
     \_-_/     
  (m9\:::/\    
     /___\6    
     /| |\     
    [_] [_]     




      )_(      
     |p q|     
     |_u_|     
  .==|>o<|==:=L
  '=c|___|     
     (_|_)     
     (o|o)      




     o___o     
    //p q\\    
    |\_u_/|    
  o==|ooo|==o  
     |___|     
    .'._.'.    
    |_| |_|     




     o___o     
    //d d\\    
    |\_r_/|    
 >===]__o[===< 
     [o__]     
     [] []     
    /:] [:\     




     .===./`   
    /.p q.\    
    "\_O_/"    
  o==|ooo|==o  
     |___|     
     // \\     
    _\\ //_     




     ___T_     
    | O O |    
    |__u__|    
  (m9\:::/\    
     /___\6    
      |_|      
     (ooo)      




    .=._,=.    
   ' (9 9) `   
     _)v(_     
 .-._/___\_.-. 
 ;   \___/   ; 
      |_|      
     (ooo)      




      __i      
     [o o]     
      ]E[      
  .==|>o<|==:=L
  '=c|___|     
    . \_/  .   
   . .:::.. .   




      .-.      
   ._(9 9)_.   
     (_0_)     
   ,"|+  |".   
   _\|+__|/_   
     |_|_|     
     /_|_\      




     |---|     
     |n n|     
     |_-_|     
    /|(\)|\    
   d |___| b   
     |_|_|     
     /_|_\      




   _ _,_,_ _   
   \( b d )/   
     \_E_/     
   .=[::+]=.   
 ]=' [___] '=[ 
  .  /___\  .  
. ..:::::::.  . 




    \.===./    
    | - - |    
     \_#_/     
  7--|=0=|--<  
     |___|     
    . \_/  .   
   . .:::.. .   




      Y__      
    _/q p\_    
     \_O_/     
   .=(+++)=.   
o="  (___)  "=o
     /| |\     
    (0) (0)     




     .===./`   
    /.0 0.\    
    "\_@_/"    
  7--|=0=|--<  
     |___|     
     [] []     
    /:] [:\     




     .---.     
    } u u {    
     \_r_/     
   .=(+++)=.   
o="  (___)  "=o
     /7 [|     
   \/7  [|_     




     _._._     
    -)q q(-    
     \_e_/     
   ,"|+  |".   
   _\|+__|/_   
     /7 [|     
   \/7  [|_     




    .=._,=.    
   ' ([o]) `   
     _)v(_     
    ,=|x|=.    
    'c/_\  'c  
    .'._.'.    
    |_| |_|     




   _ _,_,_ _   
   \( - - )/   
     \_-_/     
 )=o=|L88|=o=( 
 )=o=|___|=o=( 
     /7 [|     
   \/7  [|_     




     .===./`   
    /.- -.\    
    "\_n_/"    
.'c ."|_|". n`.
'--'  /_\  `--'
  .  /___\  .  
. ..:::::::.  . 




     |---|     
     |- -|     
     |_o_|     
    /|(\)|\    
   d |___| b   
     (   )     
    __) (__     




     ___T_     
    | O O |    
    |__-__|    
  (m9\:::/\    
     /___\6    
     [] []     
    /:] [:\     




     .---.     
    } 0 0 {    
     \_#_/     
.'c ."|_|". n`.
'--'  /_\  `--'
     ]| |[     
    [_| |_]     




     .---.     
    } q p {    
     \_-_/     
}-. /\--o/\ .-{
   " |___| "   
     // \\     
    _\\ //_     




   _ _,_,_ _   
   \( - - )/   
     \_e_/     
   .=(+++)=.   
o="  (___)  "=o
      .".      
      |_|       




     .===./`   
    /.[o].\    
    "\_n_/"    
    /|(\)|\    
   d |___| b   
    _// \\_    
   /_o| |o_\    




     .---.     
    } O O {    
     \_O_/     
 >===]__o[===< 
     [o__]     
      .".      
      |_|       




     ,_,_,     
     \9 9/     
     /_r_\     
 .-._/___\_.-. 
 ;   \___/   ; 
     |_|_|     
     /_|_\      




     |---|     
     |O O|     
     |_@_|     
()ooo|\=/|ooo()
     |___|     
     (_|_)     
     (o|o)      




     ,_,_,     
     \6=6/     
     /_A_\     
()ooo|\=/|ooo()
     |___|     
      |_|      
     (ooo)      




     |---|     
     |[o]|     
     |_^_|     
}-. /\--o/\ .-{
   " |___| "   
     (_|_)     
     (o|o)      




      Y__      
    _/p q\_    
     \_`_/     
   .=(+++)=.   
o="  (___)  "=o
    _// \\_    
   /_o| |o_\    




   _ _,_,_ _   
   \( q q )/   
     \_e_/     
  o==|ooo|==o  
     |___|     
     // \\     
    _\\ //_     




    \.===./    
    | o o |    
     \_^_/     
  7--|=0=|--<  
     |___|     
     [] []     
    /:] [:\     




    \.===./    
    | n n |    
     \_`_/     
   .=(+++)=.   
o="  (___)  "=o
     |_|_|     
     /_|_\      




     _._._     
    -)O O(-    
     \_u_/     
 )=o=|L88|=o=( 
 )=o=|___|=o=( 
     /  |      
    _\  |_      




     ___T_     
    | n n |    
    |__0__|    
    ,=|x|=.    
    'c/_\  'c  
     /7 [|     
   \/7  [|_     




      )_(      
     |6=6|     
     |_^_|     
 )=o=|L88|=o=( 
 )=o=|___|=o=( 
    .'._.'.    
    |_| |_|     




      )_(      
     |6=6|     
     |_n_|     
   .=(+++)=.   
o="  (___)  "=o
    .'._.'.    
    |_| |_|     




    \.===./    
    | b d |    
     \_A_/     
  o==|ooo|==o  
     |___|     
  .  /___\  .  
. ..:::::::.  . 




      .-.      
   ._(q p)_.   
     (_r_)     
   ,"|+  |".   
   _\|+__|/_   
    .'._.'.    
    |_| |_|     




      )_(      
     |n n|     
     |_e_|     
}-. /\--o/\ .-{
   " |___| "   
     |_|_|     
     /_|_\      




     ___T_     
    | n n |    
    |__E__|    
 >===]__o[===< 
     [o__]     
     /7 [|     
   \/7  [|_     




     T___      
     |d d|     
     \_O_/     
  .==|>o<|==:=L
  '=c|___|     
     // \\     
    _\\ //_     




      )_(      
     |n n|     
     |_n_|     
   .=[::+]=.   
 ]=' [___] '=[ 
      .".      
      |_|       




     ,_,_,     
     \p q/     
     /_0_\     
  o==|ooo|==o  
     |___|     
     /  |      
    _\  |_      

You can’t perform that action at this time.