Live Demo: https://foolpot-750841821481.us-central1.run.app/
Welcome to FoolPot, a highly over-engineered, utterly silly homage to Larry Masinter's infamous HTCPCP joke protocol (Hyper Text Coffee Pot Control Protocol).
FoolPot is a teapot that thinks it's an elite Big Tech recruiter. Instead of just giving you a standard 418 I'm a Teapot HTTP error, it makes you work for your rejection.
The Google AI integration is central to the joke, not just decorative:
- The Interview: Users are subjected to ridiculous intake questions.
- The Judgment: Responses are processed by Gemini (
gemini-3.1-flash-lite-preview). - The Philosophy: Gemini evaluates your answers against the stringent KheAi Philosophy to calculate a highly arbitrary 'Brewability Score'.
- The Meltdown: As your score inevitably drops, the custom SVG teapot UI gets progressively more offended—changing colors, shaking violently, and blowing off steam.
- The Rejection: Finally, Gemini generates a personalized, incredibly condescending refusal letter.
Want your own judgmental teapot? Here is the exact path to deploy this repository to Google Cloud Run while staying strictly in the free tier (a requirement for many hackathons and Dev.to challenges).
- Push your code to a public GitHub repository.
- Go to the Google Cloud Console and create a new project.
- Ensure the following APIs are enabled: Billing, Cloud Run, Cloud Build, and Artifact Registry.
- Search for Cloud Run and click Create Service.
- Choose Continuously deploy new revisions from a source repository.
- Click Setup Cloud Build, connect your GitHub account, and select your repository.
- Select Dockerfile as your build configuration.
Configure your service exactly like this to avoid surprise bills:
- Region:
us-central1,us-east1, orus-west1. - Authentication: Allow unauthenticated invocations (makes it publicly accessible).
- CPU Allocation: CPU is only allocated during request processing.
- Autoscaling: * Min instances:
0(Ensures you stay in the free tier, though it results in a slight "cold start" delay for the first visitor). Max instances:1 - Container Port: Change to
3000.
- Expand the "Variables & Secrets" section.
- Add your Gemini API key under the variable name
GEMINI_API_KEY(orNEXT_PUBLIC_GEMINI_API_KEYdepending on your local.envsetup). - Click Create!
Want to test the teapot's temper locally?
Prerequisites: Node.js
Clone the repository and install dependencies:
npm installCreate a .env file in the root directory and add your Gemini API key:
Code snippet
GEMINI_API_KEY=your_gemini_api_key_here
Run the development server:
npm run devOpen http://localhost:3000 and prepare to be rejected.