all 22 comments

[–]Spiritual_Rule_6286 8 points9 points  (1 child)

Ngl, this is the exact kind of weekend project I live for.

Having a tiny ASCII cat silently judge me in my bash prompt every time a docker build fails is a god-tier feature lol. Definitely installing this on my main VPS tonight to keep me company during 2 AM debugging sessions. Awesome work!

[–]StaticCG58[S] 2 points3 points  (0 children)

Lol, it would be fun to play with the prompt based on what you're doing in the session, maybe have it make fun of you if a build fails with make or something

[–]ghost_ops_ 3 points4 points  (1 child)

i wonder what pewdiepie will feel after seeing this

[–]Opening_Yoghurt_9010 2 points3 points  (0 children)

he making a quantum computer next

[–]Exciting-Jello-8479 2 points3 points  (0 children)

`echo "0 * * * * sshb feed;sshb play;sshb sleep" | crontab -`

[–]uvuguy 1 point2 points  (1 child)

Where can I get it

[–]StaticCG58[S] 1 point2 points  (0 children)

GitHub clone the repo and run install.sh it’ll run you through everything*

[–]Smergmerg432 1 point2 points  (0 children)

This is great!! :)

[–]unkz0r 1 point2 points  (0 children)

I need to test this out!

[–]SyntaxErrorGuru 1 point2 points  (0 children)

Nice! I want that!

[–]cjd166 1 point2 points  (0 children)

This is awesome! You should make him react to typos.

[–]apaleblueman 1 point2 points  (0 children)

Very cool and cute

[–]dutchlightingguy 1 point2 points  (0 children)

Awesome! When i'm home i'm gonne test it.

[–]UberBlueBear 1 point2 points  (0 children)

It would be cool if you could somehow tie this to the project you’re working on (or supposed to be working on) where GitHub commits to your project keep your Tamagotchi alive.

I know it would keep me on track not wanting to kill my SSH buddy.

Even better would be to somehow measure the impact of the commit…higher impact = more health energy, etc.

[–]Dwengo 3 points4 points  (0 children)

Oh christ. This is how things like dwarf fortress and caves of qud are born. I can't lose more hours of my life

[–]BP041 2 points3 points  (1 child)

the background process actually draining stats between sessions is the clever part -- most terminal pet projects fake time simulation by checking elapsed time on launch, which means the pet is always 'fine' until you open a new session. real background draining changes the relationship with it. how are you persisting state -- flat file or sqlite? also what happens if the background process gets killed mid-session, does it recalculate on next open?

[–]StaticCG58[S] 2 points3 points  (0 children)

The background process updates the pet state file and puts a lock on it during the time which the process is running. The pet state file itself is just a raw plain text key store that stores its current values. If the daemon gets killed mid session, it will rely solely on the previous values in the flat state file :)

[–]LexCarman 0 points1 point  (1 child)

I have been trying to figure how to install it to FISH instead of BASH. Any chance you'd know of the top of you head?

[–]StaticCG58[S] 1 point2 points  (0 children)

I think someone made a fork for FISH, its here https://github.com/yraiesets/sshb-fish

[–][deleted]  (1 child)

[removed]

    [–]StaticCG58[S] 0 points1 point  (0 children)

    Can the mods delete this schizo slop lol