Hacker News new | past | comments | ask | show | jobs | submit login

I integrated this[1] with my MOTD on ssh login.. :) With random effect each time.

1: https://keeb.dev/static/login.mp4




I also integrated on my ssh server. try sshing to funky.nondeterministic.computer


Well played…


you beautiful bastard... i knew what was going to happen, had multiple chances to not do it, but i just had to see it through...


I enjoyed that!


Kudos to you.


Wonderful.


looks both cool and frustrating :)


It would be if I logged in a lot! and you can always ctrl+c if you're in a hurry.


Cool use case! How do you make it choose a random effect?


I wrote a simple shell script which does it for me


How do you do that? If possible share the script please..


You can do something like:

    printssh() {
        tte --input-file YOUR_FILE --frame-rate=500 $(echo "beams binarypath blackhole bouncyballs bubbles burn colorshift crumble decrypt errorcorrect expand fireworks middleout     orbittingvolley overflow pour print rain randomsequence rings scattered slice slide spotlights spray swarm synthgrid unstable vhstape waves wipe" | tr ' ' '\n' | shuf -n 1)
        ssh "$@"
    }
    alias ssh="printssh"


Anything in your ~/.bashrc or ~/.zshrc gets executed in sequence, so at the bottom of it I have

    /home/keeb/code/projects/login/motd.sh
And the contents of that file is...

    #!/usr/bin/env zsh

    values=("bubbles" "slide" "beams" "rain" "pour" "synthgrid" "unstable" "poop")
    len=${#values[@]}
    index=$(( (RANDOM % (len - 1)) + 1 ))
    selected=${values[$index]}
    cat /home/keeb/code/projects/login/motd | tte $selected


This is super cool


getting this into my production system now ...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: