Boxes, chatgpt update

box โ†“

Needs โ€˜boxesโ€™ and โ€˜lolcatโ€™.

box () { echo "$*" | boxes -d simple -a hcvc | lolcat -p 50 }
  • -a hcvc # will center stuff
  • -p 50 # the amount of color spread, defaults to 3.

Example
example

Links:
Boxes https://boxes.thomasjensen.com/examples.html

Random findings โ†“

train โ†“

# colorful animated train
sl | lolcat

Nice unicode chars for rounded box โ†“

# this does look good in terminal
# โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
# โ”‚     test     โ”‚
# โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Roundbox script โ†“

An attempt at roundbox script,

roundbox

Edit: As of 11.7.2025 roundbox script supports multiline and cating into it as well.

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ roundbox, rewriten by chatgpt in 2025   โ”‚
โ”‚ (replaces old roundbox and multibox)    โ”‚
โ”‚                                         โ”‚
โ”‚ usage examples:                         โ”‚
โ”‚ echo "woot\nwoot" | roundbox            โ”‚ 
โ”‚ cat file.txt | roundbox                 โ”‚
โ”‚ roundbox "woot\nwoot"                   โ”‚
โ”‚                                         โ”‚
โ”‚ note: If max line lenght > term width,  โ”‚
โ”‚ lines will be truncated                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ