DEV Community

rahul patwa
rahul patwa

Posted on

This is a submission for the [DEV April Fools Challenge](https://dev.to/challenges/aprilfools-2026)

April Fools Challenge Submission ☕️🤡

This is a submission for the DEV April Fools Challenge

What I Built

I built The Existential Teapot, an overly compliant, incredibly hostile implementation of HTCPCP (Hyper Text Coffee Pot Control Protocol - RFC 2324).

At its core, it's a web application designed solely to refuse to brew coffee and to return a 418 I'm a teapot HTTP error. However, this teapot goes above and beyond a simple status code. It actively evades user attempts to click the "BREW COFFEE" button. If an exasperated user finally manages to click it, they are subjected to a fake loading bar that inevitably reverses itself, followed by a personalized, AI-generated, Shakespearean insult delivered via text-to-speech in the poshest British accent available.

It's a study in hostility-driven design and architectural over-engineering.

Demo

https://existential-teapot-production.up.railway.app/

Code

https://github.com/rahulpatwa1303/existential-teapot

How I Built It

  • Backend: A Node.js and Express server running on port 8080 (or 8091 depending on .env).
  • AI Integration: I used the @google/generative-ai SDK (Gemini API) and the gemini-2.5-flash model. The system prompt instructs Gemini to be an Existential Teapot that refuses coffee requests with high-art, Shakespearean insults, while dropping references to Larry Masinter (the author of RFC 2324).
  • Frontend: Pure, unadulterated HTML, CSS, and Vanilla JavaScript.
  • Hostile UI Features:
    • An evasion algorithm that teleports the "BREW COFFEE" button away when the cursor approaches or when focused via keyboard.
    • With every evasion, the entire application interface shrinks and rotates slightly.
    • A "Mute" button that evades the cursor and, if clicked, throws an alert box stating "The teapot refuses to be silenced!".
  • Web Speech API: Employed to vocally deliver the AI-generated insults in a condescending tone.
  • Express Rate Limiting: Because the teapot gets overwhelmed easily (max 5 requests per minute).

Prize Category

I am submitting this for both Best Google AI Usage and Best Ode to Larry Masinter.

  • Best Google AI Usage: The project leverages the Gemini 2.5 Flash model not to solve a complex problem, but to dynamically generate bespoke, eloquent, and highly contextual insults based on whatever drink the user attempts to order.
  • Best Ode to Larry Masinter: The entire project is deeply rooted in Larry Masinter's legendary April Fools' joke, RFC 2324. The prompt even explicitly ensures Gemini name-drops him in its diatribes. It is a monument to the 418 status code.

Top comments (0)