An Extension That Turns Your Code Errors Into Viral Posts. For Science.
Ever feel like your code errors are a masterpiece? Now they can be. The Fail in Public VS Code extension is a fun and comedic tool that takes your C++ errors, sends them to an AI, and posts the hilarious results on a public website for everyone to see. Because a bug shared is a bug... well, still a bug, but at least now it's funny.
🚀 Features
Seamless Integration: A simple VS Code extension that lives in your editor.
C++ Error Catcher: Automatically detects errors in your C++ code when you run it.
AI-Powered Humor: Your error message is fed to an AI (Grok) which generates a witty and comical post.
Public Hall of Shame: The AI-generated post, along with your username, is shared on the Fail in Public website for all to see.
Community Humor: View the latest errors from other users and share a laugh.
⚙️ How It Works
It's a simple and transparent process:
You run your C++ code in VS Code.
An error occurs, and the extension catches the raw error message.
The error message is sent to a backend API.
The API sends the message to Grok AI, which crafts a humorous post based on the error.
This new, funny message is sent back to the API and posted on the Fail in Public website.
Your username and the AI-generated post appear on the site for everyone to enjoy.
🖥️ Usage
Once installed, there's nothing else you need to do! Simply run your C++ code in VS Code as you normally would. If an error occurs, the extension will automatically do the rest.
🚧 Known Limitations
As this project is in its early stages, it has a few limitations:
C++ Only: Currently, the extension only supports catching errors for C++ code.
No User Controls: There are no settings or filters to prevent specific errors from being posted.
No Deletion: Once a failure is posted to the website, it cannot be deleted from the extension.
Basic Website: The website is not fully functional and simply displays the latest error posts.
💻 Wrecked-Tech-Stack
This project is built using a mix of modern web and cloud technologies:
Extension: Typescript, HTML, CSS, JavaScript
Website: Node.js, Express, TailwindCSS
Database: MongoDB
Cloud & Integration: Azure Cloud Services, Grok AI