Live data from Hacker News

TTE: Terminal Text Effects

chrisbuilds.github.io

211–220 of 279 posts

Re: TTE: Terminal Text Effects

#211
post #6

In a similar vein in Emacs: M-x zone Every time you run it, it triggers a random screen saver effect. Fun when it's on a timer and triggers so your work colleagues wonder wth is going on.

good one! The editor macros collection never ceases to amaze even after years of working daily in it.

Re: TTE: Terminal Text Effects

#212
post #6

In a similar vein in Emacs: M-x zone Every time you run it, it triggers a random screen saver effect. Fun when it's on a timer and triggers so your work colleagues wonder wth is going on.

> M-x zone

Available in the menu: Tools → Games → Zone Out

Re: TTE: Terminal Text Effects

#213
post #35

Earlier quoted context omitted.

I was thinking about how fun it would be to add this my Python CLI [0] I made for launching Fedora CoreOS locally with QEMU for testing ignition, but with a flag that is turned off by default. Using the burn effect in TTE when launching a VM with my CLI would be so cool. This instantly reminded me about Ansible and how it annoyed me that ANSIBLE_NOCOWS had to be enabled to disable the default output of Ansible with c…

On a further tangent, that reminds me of two of my favorite things to install on a Linux system, ponysay and ascii-pony/systempony. I set each of my systems to a different character to show on bash logins with systempony (WSL instances included) https://github.com/erkin/ponysay https://blog.yjl.im/2016/01/ascii-pony-systempony-screenshot...

A while back I install ponysay on one of my servers, and put fortune | ponysay in the .bashrc, so I get a quip from a random mlp pony whenever I log in. Brightens my day a little

Re: TTE: Terminal Text Effects

#215
post #12

This is cool! we can utilize the 'Burn' or 'ErrorCorrect' effects to highlight warnings or errors in logs dynamically, ensuring critical issues stand out in ongoing terminal output.

No. No, you don't. No one investigating log files wants animations playing in them.

Haha..I get where you're coming from. However, tool that show reports and outputs, that are CLI-first, can get a lot of help in improving the developer experience. Honestly, I was looking for something like this for my tool!

Re: TTE: Terminal Text Effects

#219
post #201

I integrated this[1] with my MOTD on ssh login.. :) With random effect each time. 1: https://keeb.dev/static/login.mp4

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"

Re: TTE: Terminal Text Effects

#220
post #63

This is amazing! Please never ever use it in production.

I propose that developers are allowed to use it in production... so long as they do all the development work on a 9600 baud dialup with a VT102.

It can work we just need brave soul to make it client side.
Post reply on HN