lichess-daily.sh - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       lichess-daily.sh (271B)
       ---
            1 #!/bin/sh
            2 # Lichess daily puzzle for the tty.
            3 # Dependencies: chess-puzzles fen.c, json2tsv, pgn-extract, curl
            4 
            5 ./fen -o tty startpos "$(curl -s 'https://lichess.org/api/puzzle/daily' | jaq '$1 == ".game.pgn" { print $3 " *" }' | pgn-extract -Wuci --notags 2>/dev/null)"