URI: 
       github-haha - 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
       ---
       github-haha (601B)
       ---
            1 #!/bin/sh
            2 #
            3 # TODO: Add more funny github projects.
            4 #
            5 
            6 projectselection="newsboat/newsboat"
            7 if [ $# -lt 1 ];
            8 then
            9         if [ "$1" = "-h" ];
           10         then
           11                 printf "usage: %s [-h] githubuser/githubproject\n" >&2
           12                 exit 1
           13         fi
           14 
           15         githubproject="$(printf "%s\n" "${projectselection}" | shuf -n 1)"
           16 else
           17         githubproject="$1"
           18 fi
           19 
           20 wuri="$(hurl -H 'User-Agent:' \
           21         "https://api.github.com/repos/${githubproject}/issues?per_page=100&sort=updated" \
           22         | json2tsv \
           23         | awk -F '\t' '$1 == "[].title" { print "HAHA: " $3; }' \
           24         | /br/bin/bitreich-speak)"
           25 [ $? -gt 0 ] && exit 1
           26 
           27 printf "%s ( %s )\n" "${githubproject}" "${wuri}"
           28