Jeuwei - A Lifestyle Design System
An AI-powered life design system. Transform your daily journal into a command line to architect your own rules, analyze your mindset, and consciously level up your life.
Inspiration
Jeuwei began not as an app idea, but as a personal philosophical inquiry. I was fascinated by the question of why our lives diverge so drastically, even when our circumstances seem similar. My conclusion was that our trajectory is shaped by two powerful, often invisible forces: our Environment (the systems and cultures we are born into) and our Mindset (the internal OS that processes our reality).
I observed that life itself operates like a complex game with unwritten rules. Most of us are playing on auto-pilot, reacting to the game's mechanics without understanding them. I wanted to change that. I was inspired by stories of strategy and systems, and I asked: What if I could build a tool that makes the game's rules visible? What if I could create a system to not just play the game, but to become its architect? Jeuwei is the answer to that question. It was born from the need to stop being a passive player and start consciously designing the life I wanted to live.
What it does
Jeuwei is an interactive operating system for your life disguised as a game. It transforms the abstract process of self-improvement into a tangible, engaging, and deeply personal experience.
Key Features
- ✅ Full CRUD for Quests & Habits: Create, read, update, and delete one-off "Daily Missions" and long-term, recurring Habits with streak-based rewards.
- ✅ AI-Powered Journal Analysis: The Gemini API reads journal entries to automatically discover and suggest new Beliefs, Rules, and Systems for the user to codify.
- ✅ Dynamic Character Sheet: Define your own custom Attributes under the Five Pillars of Life (Health, Wealth, Relationship, Mindset, Soul).
- ✅ User-Defined Rules Engine: Architect your own game mechanics in the System Forge. Create rules that automatically grant EXP and attribute points when your actions (like journaling a specific keyword) trigger them.
- ✅ Realtime UI Updates: The interface feels alive, with insights and progress updating automatically via Supabase Realtime without needing a page refresh.
- 🛠️ History & Analytics Page (In Progress): The UI is fully designed and populated with dummy data to showcase the vision for visualizing EXP trends and category focus. Live data connection is under development.
- 🛠️ Environment & Observation Logs (In Progress): Core modules for analyzing your external world and internal insights are designed with a complete UI and powered by dummy data pending full backend integration.
Current Status & Design Philosophy
Jeuwei is in an advanced stage of development with a fully operational core loop.
The primary growth mechanics for Quests and Habits are complete. Users can define these tasks and receive immediate, tangible EXP and attribute point rewards upon completion, governed by the backend logic. The AI-driven insight extraction is also live; the system successfully analyzes journal entries to populate the user's Mind Archives and System Forge with suggestions.
A key philosophical decision was made regarding journal-based EXP. The initial system granted EXP simply for writing, but this made the game feel "too easy" and devalued the effort required for true growth. To achieve the perfect balance of challenge and reward, this feature was intentionally replaced. EXP is now earned from journaling exclusively through the user's own defined Rules Engine. An entry only grants rewards if it triggers a specific rule that the user themselves has architected, making every point gained a direct result of intentional, meaningful action.
Several modules, including the History & Analytics, Observations, and Environment pages, are currently implemented with a polished UI and populated with hardcoded data. This was a pragmatic choice to finalize the user experience vision while the complex database queries and a more stable charting solution are perfected.
How we built it
- Frontend (Bolt): The entire user interface was architected within Bolt's cloud IDE. We leveraged Next.js 14 (App Router), TypeScript, Tailwind CSS for the game-like aesthetic, and Framer Motion for fluid animations.
- For Prompt and thinking we used gemini 2.5.
- Backend (Supabase): We chose Supabase as our all-in-one backend. Its PostgreSQL database houses our relational data model (Pillars, Attributes, Rules). Supabase Auth handles security, and all server-side logic, including the custom Rules Engine, lives in Supabase Edge Functions.
- Intelligence (Google Gemini): The "brain" of Jeuwei is the Google Gemini API, called from our Edge Functions to perform natural language processing on journal entries.
Challenges we ran into
- The
rechartsRendering Bug: Our biggest technical hurdle was a persistentTypeErrorfrom therechartslibrary when rendering on the server. After multiple attempts to fix it, we made the strategic decision to remove the library and implement the analytics UI with dummy data. This taught us the value of prioritizing stability and sometimes choosing a simpler, custom solution over a complex, incompatible one. - The Architectural Pivot: Our biggest conceptual challenge was realizing our initial simple stat system was too limiting. Overhauling the entire database and backend to support the "Five Pillars" and the dynamic "Rules Engine" was a massive undertaking, but it was absolutely necessary to fulfill the project's true purpose.
Accomplishments that we're proud of
- The Rules Engine: We are incredibly proud of the "System Forge." Building a system where users can visually create their own game mechanics with triggers and actions makes Jeuwei a standout tool for true empowerment.
- The Seamless Feedback Loop: The combination of saving a journal, triggering multiple Edge Functions, and seeing AI-discovered insights appear instantly on the frontend via Supabase Realtime feels like magic.
- The Cohesive Aesthetic: We successfully maintained a consistent, premium, and dark-themed "game UI" throughout the application, which is crucial for making self-improvement feel inspiring.
What we learned
- Architecture First: A flexible foundation is paramount. Our initial schema couldn't support our vision, forcing a necessary and valuable refactor.
- The Power of a Strong "Why": Having a clear philosophy (the user as the "Architect") made complex technical decisions easier and ensured the final product is cohesive.
What's next for JEUWEI
The journey is never over. The road ahead includes:
- Expanding the Rules Engine with more trigger types like
QUEST_COMPLETEDandHABIT_STREAK_MILESTONE. - Deeper AI Insights that move from extraction to proactive, long-term trend analysis and suggestions.
- Achievements & Titles to award users for reaching major milestones.
- Community Blueprints to allow users to share and import successful rule sets and systems.
Built With
- gemini
- next.js
- supabase(database-auth-edge-functions)
- typescript
Log in or sign up for Devpost to join the conversation.