Inspiration
Protocol 404’s “broken system” vibe screamed for a tool that thrives in chaos. We imagined turning soul-crushing JavaScript errors into absurd art—because why debug in despair when you can laugh at a unicorn crash? Inspired by hacker memes and terminal flair, CrashCraft was born to make bugs beautiful.
What it does
CrashCraft transforms JS errors into ASCII art (explosions, unicorns, dumpster fires) and glitch poetry with meme quips. Run bun run crashcraft.ts test.js --superchaos, and it chains outputs, fetches Ron Swanson quotes, and suggests fixes like “Delete node_modules and pray 🙏.” Outputs save to files for sharing. It’s chaotic debugging joy!
How we built it
Built in ~10 hours with Bun for speed. We used Bun.spawn to capture stderr, acorn for syntax parsing, and Bun.fetch for meme quotes. ANSI colors and a --superchaos flag add terminal overload. Code’s lightweight (~200 lines), npm-ready, and pushed to GitHub.
Challenges we ran into
Windows ANSI rendering was a mess—Command Prompt mangled colors. Switching to Windows Terminal fixed it. The Ron Swanson API flaked, so we added fallbacks. Chaos mode sometimes over-scrambled errors into gibberish, but that’s the point!
Accomplishments that we're proud of
Crafted a CLI that’s equal parts useless and genius. SuperChaos mode’s visual insanity (chained ASCII + quotes) wows. Built fast, demoed in a 1-min video, and shareable via saved outputs. #GIHS pride!
What we learned
Bun’s I/O speed is a hackathon cheat code. Chaos is art—errors can be fun. Quick iteration beats perfection in a 48-hour sprint.
What's next for crashcraft
Add sound effects (terminal beeps), more APIs (e.g., Dad Jokes), and npm publishing. Let’s make every crash a masterpiece! #Protocol404
Built With
- bun
- typescript
Log in or sign up for Devpost to join the conversation.