rc-presentation/tilde-present.sh

89 lines
1.3 KiB
Bash
Raw Normal View History

2024-04-25 00:10:02 +00:00
#!/bin/sh -e
# use this function to wait for ENTER
# and then clear the screen for new slide
newslide() {
printf "\n"
read -r blank
clear
echo
}
append() {
read -r blank
echo
}
clear
echo
h1() {
echo $1 | figlet -c -f slant
}
h2() {
echo $1 | figlet -c -f small
}
h3() {
echo $1 | toilet --gay -f mini
}
rainbow() {
echo $1 | toilet --gay -f term
}
preparetopaste() {
echo $1 | xsel -ib
}
## HELLO SLIDE
h1 "~ bunkchat"
h2 "group chat in a file"
newslide
## bunk.computer
newslide
h2 "why group chat in a file?"
2024-04-25 00:10:02 +00:00
append
echo "friends who just like hanging out and doing cool things with computers"
2024-04-25 00:10:02 +00:00
append
rainbow "meeting together on one computer"
2024-04-25 00:10:02 +00:00
newslide
h2 "on to the demo"
2024-04-25 00:10:02 +00:00
set -x
2024-04-25 00:28:12 +00:00
preparetopaste "cd code/rc-presentation; ./remote-present.sh"
ssh oxaliq@bunk.computer 2>/dev/null || echo "hurray!"
2024-04-25 00:10:02 +00:00
{ set +x; } 2>/dev/null
## TUNNELING!
## AND WE"RE BACK
append
rainbow "and we're back in rc"
append
echo "and you may be asking"
## THE LINX
newslide
h2 "where is this fabulous project?"
append
rainbow "https://git.bunk.computer/bunkchat"
append
rainbow "https://git.bunk.computer/bunkdeck"
newslide
echo "what is tilde server?"
rainbow "https://tildeverse.org/"
append
2024-04-25 00:10:02 +00:00
echo "more computer club stuff"
rainbow "https://wiki.bunk.computer"
2024-04-25 00:10:02 +00:00
# END
newslide
h1 "fin"
newslide
exit 0