
Overview
Castaway is a web application built during HackMIT that creates virtual oceans where users can anonymously share and discover daily self-improvement messages. Inspired by the 'small steps' mental health movement exemplified by creators like @thecagedmuse on TikTok and platforms like the Unsent Project, Castaway transforms the isolating journey of personal growth into a shared human experience. The platform features multiple themed oceans (Big Blue Ocean, reflections, gratitude), personal oceans for individual goal-tracking, and a whimsical pixel-art interface with animated floating bottles. Built with accessibility at its core, the platform requires no account creation for basic functionality, reducing barriers to participation while maintaining user privacy through anonymous messaging.
During the intensive 24-hour HackMIT hackathon, I served as a full-stack engineer on a four-person team building Castaway, an anonymous messaging platform designed to make personal growth less isolating. The project was born from recognizing two trends: the growing online movement of taking small daily steps for self-improvement when larger changes feel overwhelming, and the human need for authentic, anonymous connection exemplified by projects like the Unsent Project.
Database Architecture & Backend Development: I created the entire Supabase PostgreSQL database architecture, carefully designing schemas to handle the complex relationships between bottles, oceans, tags, and users. One of the first challenges was modeling these relationships correctly - bottles can have only one tag but exist in multiple oceans, while oceans can have multiple tags. Additionally, I needed to track seen bottles per user to prevent duplicates. Through careful discussion and implementation examples, I designed a schema that preserved all meaningful relationships while maintaining query efficiency.
On the backend, I implemented comprehensive authentication using Supabase Auth that supports both anonymous browsing and registered user features. I developed all ocean-related endpoints including ocean creation, retrieval, and navigation between themed oceans. A critical safety feature I built was the content checking system that validates all user-entered messages before they enter any ocean, ensuring the platform remains a positive space for personal growth. The backend was built using Go with Fiber for request handling and PGX driver for database connections, leveraging Go's channels and context for clean endpoint implementation.
Frontend User Experience & Navigation: My frontend contributions focused on creating intuitive, delightful user experiences. I developed the complete authentication flow, including sign-in, registration, and the ability to create personal oceans. The navigation system I built ensures correct routing based on login status - different functionality becomes available for logged-in users while maintaining a seamless experience for anonymous visitors. This required multiple iterations of routing prototypes to achieve intuitive user flows.
The Explore page was one of my most challenging and rewarding contributions. I designed and implemented an organic map-like interface by splitting the screen into naturally-shaped polygons with smoothed edges, creating distinct sections for each themed ocean. This required complex geometric calculations and CSS styling to achieve the organic look that fit our pixelated aesthetic. I also implemented the waypoint navigation system that guides users between different oceans, making exploration feel like a journey across an actual map.
Special Features & Technical Innovations: I created the "whirlpool" feature - a unique navigation element that randomly transports users to other personal oceans, maintaining the serendipitous nature of discovery while preserving privacy (users cannot search for specific personal oceans). I also added the animated duck companion that enhances the whimsical ocean atmosphere, bringing life to the interface. The personal ocean feature I developed allows users to maintain their own space for daily goals, affirmations, and reminders, with these oceans being publicly visible but only writable by the owner - reinforcing the message that many others are also working on growth and no one is alone in their journey.
Technical Challenges Overcome: Creating the organic sectioning on the Explore page required innovative approaches to polygon generation and edge smoothing to achieve a natural, map-like appearance within our pixel-art theme. Implementing proper bottle movement that looked organic rather than mechanical involved numerous iterations to find the right combination of drift speed and bobbing motion. The dual-mode system supporting both anonymous and authenticated users required careful state management and middleware implementation to ensure smooth transitions and appropriate feature access. Content moderation posed unique challenges in balancing user safety with the anonymous nature of the platform, which I solved through backend validation checks that filter inappropriate content before database insertion.
Impact & Design Philosophy: Castaway embodies the principle that small actions can create significant change. By removing barriers to entry (no login required) and fostering anonymous yet meaningful connections, we created a platform where users feel safe to share their struggles and victories. The combination of themed public oceans and personal growth spaces bridges individual improvement with collective support. In just 24 hours, we built not just a technical solution but a digital space that addresses the very real human need for connection during personal growth journeys.
The platform's architecture demonstrates how thoughtful design can create meaningful user experiences. The landing page presents a vast ocean filled with floating messages - clicking any bottle unfurls an anonymous message like "I am grateful for the warmth of the sun." Users seeking specific themes can navigate to the Explore page via the sailboat icon, discovering oceans dedicated to reflections, gratitude, daily goals, and more. The bottle icon in the bottom corner allows users to cast their own messages into the digital seas, participating in the collective journey of self-improvement.
Future Plans
Planned enhancements include:
- AI-Powered Moderation: Implement LLM-based content checking to ensure messages align with ocean themes and maintain supportive content while reducing false positives in the current filter system
- Gamification Elements: Daily streak tracking and achievement system to encourage consistent engagement with self-improvement messages
- Enhanced Personal Ocean Management: Ability to archive completed goals, organize bottles by date/category, and track personal growth over time
- Community Moderation: Crowdsourced reporting system for content that bypasses automated filters, maintaining platform quality through community involvement
- Smart Ocean Discovery: Machine learning-based recommendation system to suggest relevant oceans based on interaction patterns and selected themes
- Anonymous Gratitude System: Allow users to "thank" message senders without breaking anonymity, fostering positive feedback loops
- Mobile Applications: Native iOS and Android apps with offline message drafting and push notifications for daily inspiration
- Analytics Dashboard: Personal growth insights showing message patterns, most impactful themes, and progress visualization while maintaining complete anonymity
- Expanded Ocean Types: Specialized oceans for specific communities (students, parents, professionals) and time-based oceans (morning motivation, evening reflection)
These enhancements would transform Castaway from a hackathon project into a comprehensive platform for personal growth, while maintaining the core principles of accessibility, anonymity, and human connection that make it unique.
Project Links
Technologies
Project Gallery






