Part 139: Bad Apple but it's Zabbix


What's up, home? part 139 cover image

Bad Apple animation is like Doom, it runs on everything and everywhere. It's been ported to C64, Amiga, Atari ST. It's been running inside Minecraft in few different ways. It's been ported to physical world. 

Let's vibe code

The other day I installed OpenAI's Codex to my personal MacBook. Little did I know what would happen if I would prompt it to create a custom Zabbix 7.0 widget which brings Bad Apple meme to life on Zabbix. 

Codex

Few conversations later, I had an actually working widget! 

Zabbix modules list

Yes, I had done some preliminary work -- mostly downloaded the animation and extracted it to individual frames by using ffmpeg.

As I had lowered the resolution of those individual frames very dramatically, this was not so cool to watch even though already participates to endless pool of Bad Apples out there. So, I vibe coded Codex to expand this little widget a bit further: instead of 2D animation, please create a 3D cube in X3D (successor of really old VRML) format and make the cube freely zoomable and rotatable.

The end result

This is already a bit cooler! To make this little demo more interesting to watch, I recorded my screen for the complete length of the Bad Apple animation and later added the music with good old iMovie. Enjoy Zabbix playing Bad Apple animation 30 frames per second inside a custom widget purely made with vibe coding. The widget loads the individual frames from a separate directory one frame at a time so this is some light warmup gymnastics for my nginx too.




Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Content blocks
Submitted by whatsuphome on