first commit
This commit is contained in:
commit
fe84036609
|
@ -0,0 +1,8 @@
|
|||
# Quickstart
|
||||
|
||||
- `sudo apt install parallel curl pv iconv`
|
||||
- `export TERM=xterm-256color`
|
||||
- `./textfiles_dot_com_ansi_player.sh`
|
||||
|
||||
## Reccomended fonts
|
||||
- Hack Nerd font Mono
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
cat <(curl -s -L http://artscene.textfiles.com/ansi/scene/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/scene/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/logos/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/logos/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/holiday/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/holiday/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/artwork/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/artwork/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/unsorted/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/unsorted/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/bbs/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/bbs/"$2}' | tr -d '"' | shuf) \
|
||||
<(curl -s -L http://artscene.textfiles.com/ansi/welcomes/ | tr '>' ' ' | tr '<' ' ' | awk '{print $6}' | grep HREF | tr '=' ' ' | awk '{print "http://artscene.textfiles.com/ansi/welcomes/"$2}' | tr -d '"' | shuf) \
|
||||
| shuf \
|
||||
| parallel -j1 clear ';' curl -s -L {} '|' iconv -t UTF-8 -f cp437 ';' yes \$\(echo -ne '"\\033[0A\\033[0B"'\) '|' head -n 300 '|' tr -d "'\n'" \
|
||||
| pv -q -L 300
|
Loading…
Reference in New Issue