Trenches: Escape Your Financial Faux-Pas, one Roast at a time
Inspiration
In today's digital age, unhealthy spending habits are digging us deeper into financial trenches. From impulse purchases on Amazon to endless food delivery subscriptions, from "Buy Now, Pay Later" schemes to retail therapy binges, we're all guilty of making questionable financial decisions. ๐คฆโโ๏ธ
Traditional financial literacy apps are too dry and disconnected from real user behavior. I wanted to create something that would make users face their financial reality - with a dash of humor and personalization.
What it does
Trenches is a gamified financial literacy platform that:
- Analyzes your transaction data across multiple merchants (DoorDash, Amazon, Netflix, Walmart, etc.) using Knot API
- Starts with personalized roasts of your financial missteps ๐
- Transforms into an educational quiz where you: ๐ฉโ๐ซ
- Learn from your past financial decisions
- Answer scenario-based questions tailored to your spending patterns
- Progress through levels as you improve your financial literacy
- Watch your avatar rise from the financial trenches with each correct decision
How I built it
The game is built with a modern tech stack:
- Data Access: Knot API for secure transaction data
- AI: Google's Gemini API for intelligent transaction analysis
- Frontend: React with TypeScript for type safety and maintainability
- UI: ShadCN components with Framer Motion for smooth animations
- React Three Fiber for immersive trench visualization
- Backend: Node.js with Express
Key technical features:
- Real-time transaction analysis using Gemini LLM
- Dynamic difficulty adjustment based on user performance
- Beautiful trench visualization that responds to user progress
- Personalized educational content based on user behavior
Challenges I ran into
- AI Integration: Fine-tuning Gemini LLM to provide relevant, personalized financial insights
- User Experience: Balancing the "roast" aspect with educational value to keep users engaged
- Performance: Optimizing graphics and animations for smooth gameplay
- Data Analysis: Creating meaningful patterns from diverse transaction data across multiple merchants
Accomplishments that I'm proud of
- Successfully integrated multiple APIs (Knot, Gemini) to create a seamless user experience
- Created an engaging visualization that makes financial progress tangible
- Developed a unique "roast-to-educate" approach that keeps users engaged
- Built a scalable architecture that can handle diverse transaction data
- Achieved a perfect balance between humor and education in the user experience
What we learned
- The importance of user privacy in financial applications
- How to effectively use AI for personalized financial insights
- The power of gamification in financial education
- Best practices for handling sensitive financial data
- How to create engaging educational content that resonates with users
- The value of combining humor with serious financial topics
What's next for Trenches
- Enhanced AI Analysis: Implement more sophisticated spending pattern recognition
- Social Features: Add multiplayer support for financial literacy challenges
- Expanded Merchant Integration: Support for more transaction sources
- Mobile App: Native mobile application for on-the-go financial learning
- Community Features: User forums for sharing financial tips and experiences
- Customizable Avatars: More personalization options for user avatars
The future of Trenches lies in making financial literacy more accessible, engaging, and personalized than ever before.
Built With
- framer
- gemini
- knot
- node.js
- react
- typescript


Log in or sign up for Devpost to join the conversation.