URI: 
       art-of-day - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
       art-of-day (618B)
       ---
            1 #!/bin/sh
            2 
            3 channel="#bitreich-books"
            4 
            5 export PATH="$PATH:/home/annna/bin"
            6 
            7 if [ $# -gt 1 ];
            8 then
            9         fortunecookie="$1"
           10 else
           11         fortunecookie="$(fortune-cookie)"
           12 fi
           13 
           14 #arturi="$(/br/gopher/art/thisartworkdoesnotexist.sh)"
           15 arturi="$(stable-diffusion-emoji "$(fortune-cookie)")"
           16 [ -z "${arturi}" ] && exit 1
           17 
           18 emojipath="/br/gopher/$(printf "%s\n" "${arturi}" | cut -d/ -f5-)"
           19 artfile="art_$(LANG=C date +%Y-%m-%dT%H:%M:%S.%N%z).jpg"
           20 artpath="/br/gopher/art/${artfile}"
           21 magick convert "${emojipath}" "${artpath}" 2>/dev/null
           22 arturi="gophers://bitreich.org/I/art/${artfile}"
           23 
           24 annna-say -c "${channel}" "Today's art: ${arturi}"
           25