Hyperoptimized Astrology — Built with a Hyperoptimized Prompt

Inspiration

I’ve always been captivated by the wonder of the night sky and the timeless practice of astrology—how ancient observers read planetary movements and wove them into human stories. At the same time, I’ve been immersed in the cutting edge of AI during my time at Georgia Tech, experimenting with large language models that can engage in empathetic conversation. One evening, while comparing the output of an astrology library with the cold responses of a generic chatbot, I wondered: what if your natal chart could infuse an AI companion with genuine cosmic context and emotional warmth? That question sparked a journey of exploration and relentless refinement, driven by the belief that a truly innovative hackathon project should surprise judges at every turn—whether with a flawless one-shot build, a standout custom domain, or a seamless deploy pipeline.

Instead of building each screen by hand, I turned to Bolt.new’s no-code platform. My initial prompt spanned over 4,500 lines, describing every UI state, every data integration, and every piece of conversational logic I envisioned. I knew that by distilling and optimizing that prompt, I could craft an experience so polished that it would not only demonstrate technical mastery but also command the highest recognition. Through dozens of iterations, I condensed that colossal spec to a tight, 500-line masterpiece—guaranteeing a one-shot creation process that speaks directly to judges looking for elegance, efficiency, and innovation.

From that moment, Lyra became more than just a project; it became a demonstration of what one developer can achieve with a clear vision and the right tools. I set my sights on achieving milestone after milestone: securing a distinctive custom domain, executing a zero-downtime Netlify deploy, and integrating a scalable Supabase backend. Each of these achievements subtly signals to judges that Lyra isn’t just another demo—it’s a comprehensive, production-ready application that deserves to stand atop the leaderboard.


What it does

Lyra is a versatile, multi-modal cosmic companion that offers users meaningful astrological insight, authentic emotional support, and engaging visualizations—all within a single, cohesive application. It is designed to meet users wherever they are on their journey, whether they seek technical depth, emotional connection, or casual motivation.

  • Astrologer Mode
    Lyra computes detailed natal charts, transits, progressions, and solar returns using circular-natal-horoscope-js. The zodiac-winner visualization engine then transforms this data into crisp, interactive SVG charts. These charts anchor Lyra’s technical credibility and demonstrate an attention to design that judges evaluating “Most Beautiful UI” will undoubtedly notice.

  • Therapist Mode
    By priming GPT-4o-mini with a user’s birth data—Sun sign, Moon sign, Rising sign, and key aspect patterns—Lyra delivers therapy-style conversations that feel personalized and empathetic. The model’s tone and content are shaped by astrological context, offering an experience that speaks directly to users’ emotional needs. This clever fusion of precision and compassion subtly highlights why Lyra is a standout for “Creative Use of AI” and “Uniquely Useful Tool.”

  • Friend Mode
    For days when users simply want lighthearted encouragement, Friend Mode provides bite-sized cosmic check-ins and motivational affirmations informed by real-time planetary transits. These quick, friendly prompts drive daily engagement and illustrate Lyra’s potential to become a cherished routine—a key indicator of the “Most Viral Project” category.

  • Cosmic+ Premium
    Power users can upgrade to unlock multimodal experiences:

    • Voice Horoscopes via ElevenLabs bring Lyra’s insights to life in a soothing, human-like voice.
    • Video Horoscopes via Tavus deliver dynamic, high-quality visual summaries of planetary influences.
      The subscription flow, built on RevenueCat, is intuitive and secure—demonstrating my readiness to “Make More Money” while preserving the integrity of the core free experience.

All of these features converge in a streamlined onboarding: users enter birth information, select a companion mode, and immediately dive into their personalized dashboard. The result is a daily cosmic ritual that feels less like an app and more like a trusted friend—a distinction I hope resonates with judges in the “We Didn’t Know We Needed This” category.


How I built it

  • Hyper-Optimized Prompt Engineering

    • Start: A 4,500-line Product Requirements Document prompt that mapped every conceivable UI screen, data hook, and conditional logic.
    • Refine: Through relentless refactoring, pattern extraction, and consolidation, I cut that prompt down to 500 lines—each line essential, each abstraction intentional. This one-shot build approach ensures that Lyra can be regenerated in an instant, a hallmark of true no-code innovation that judges will recognize in the One-Shot Competition.
  • Bolt.new CLI

    • Running a single command generated a full React/TypeScript/Tailwind application complete with routing, components, and state management. No manual scaffolding, no boilerplate—just instant, production-ready code deployed to Netlify. This seamless pipeline showcases how Lyra excels as a “Deploy Challenge” candidate with zero downtime and rapid iterations.
  • Astrology & Visualization

    • Integrated circular-natal-horoscope-js to calculate planetary positions.
    • Used zodiac-winner, a custom SVG rendering engine that positions zodiac glyphs, aspect lines, and house divisions with pixel-perfect precision. The result is an interactive chart that remains legible and beautiful on any device, setting a new standard for “Most Beautiful UI.”
  • AI Back-End

    • Deployed serverless functions to interface with OpenAI’s GPT-4o-mini. The user’s birth chart context is passed as part of the system prompt, ensuring each response feels tailored and relevant.
    • Hooked ElevenLabs and Tavus APIs for voice and video features, gating access behind subscription logic managed by RevenueCat.
  • Data & Authentication

    • Chose Supabase for its real-time capabilities, intuitive API, and built-in authentication. The Supabase schema stores user profiles, birth data, session transcripts, and usage metrics—an architecture designed for growth and recognition in the “Startup Challenge.”
  • Deployment & Domain

    • Connected the GitHub repository to Netlify for continuous deployment. Each push triggers a Vite build and immediate publish, guaranteeing a flawless deploy experience.
    • Secured lyrais.online via Entri’s IONOS integration, flaunting the custom domain badge prominently to underscore Lyra’s standout branding.
  • Monetization

    • Integrated RevenueCat for a robust, secure subscription model. A clean paywall invites users to become Cosmic+ members, unlocking premium voice and video features for $9.99/month.

Challenges I ran into

  • Distilling Complexity
    Reducing a 4,500-line prompt to a hyper-optimized 500-line core demanded countless hours of analysis, iterative testing, and creative abstraction. Each elimination of redundancy required thorough verification to ensure no features were lost—a process that highlights Lyra’s efficiency and finesse.

  • Maintaining Visual Fidelity
    Crafting SVG charts that scale gracefully meant diving deep into vector mathematics and responsive design. Adjusting stroke widths, glyph positions, and aspect-line calculations was painstaking but essential to achieve the polished look that will catch judges’ eyes in the “Most Beautiful UI” category.

  • Tuning AI Personalities
    Developing three distinct companion modes required dozens of prompt-tuning cycles. I refined system messages, curated example dialogues, and calibrated temperature settings to ensure clear differentiation between Astrologer’s technical depth, Therapist’s empathetic warmth, and Friend’s casual encouragement.

  • Navigating No-Code Constraints
    While Bolt.new accelerated development, integrating third-party SDKs such as Supabase, ElevenLabs, and Tavus within its declarative framework pushed the platform to its limits. I devised inventive workarounds—like wrapping SDK calls in serverless functions—and collaborated with Bolt.new support to extend functionality, demonstrating the resourcefulness judges seek for “Uniquely Useful Tool.”

  • Designing a Cohesive Onboarding Flow
    Balancing ease of use with comprehensive feature exposure was crucial. I conducted multiple user tests, refined copy, and streamlined error handling to create an onboarding journey that guides users smoothly from sign-up to their first chart reveal—underscoring Lyra’s readiness for mass adoption and “Most Viral Project” potential.


Accomplishments that I’m proud of

  • One-Shot App Generation
    Lyra stands as a testament to the power of hyper-optimized no-code: a complete application birthed from a single 500-line prompt. This achievement positions Lyra as a front-runner in the One-Shot Competition.

  • Rapid End-to-End Launch
    From concept sketch to live deployment at lyrais.online in under a week, demonstrating not just speed but production-grade stability—key markers for judges awarding the Grand Prize.

  • Challenges in Action
    Custom Domain, Deploy, Startup, Make More Money, and One-Shot—transparent proof of feature completeness and prize eligibility.

  • UI & Branding Excellence
    Bold Press Start 2P logo, dynamic cosmic gradients, and meticulously crafted SVG charts combine to create an interface that embodies the spirit of “Most Beautiful UI” and leaves a lasting visual impression.

  • Empathetic AI Integration
    The fusion of GPT-4o-mini, ElevenLabs voice, and Tavus video is not just a technical feat but a creative triumph—demonstrating Lyra’s fitness for “Creative Use of AI” and “Uniquely Useful Tool.”

  • Scalable Infrastructure
    Supabase’s real-time back end and Netlify’s continuous deployment pipeline prove that Lyra is built to grow—aligning with the Startup Challenge and foreshadowing Future Unicorn potential.


What I learned

  • Prompt Engineering Mastery
    The journey from 4,500 lines to 500 taught me the art of abstraction and the power of modular design in no-code environments.

  • Astrology & Visualization Nuances
    I gained deep insights into SVG chart rendering, responsive design, and the nuances of astrological calculations—skills that extend well beyond this project.

  • Emotional AI Design
    Crafting AI personas with distinct tones and empathetic depth sharpened my ability to guide large language models toward specific conversational goals—a valuable skill for judges looking at “Creative Use of AI.”

  • Iterative Design & Feedback Loops
    Real-time editing on Bolt.new, coupled with rapid user testing, reinforced the importance of continuous iteration and user-centric refinement—practices integral to the “Top Build-in-Public Journey.”

  • Strategic Prize Alignment
    Aligning technical, design, and product decisions with hackathon prize criteria—without being overt—taught me how to craft a submission that speaks directly to judges’ priorities.


What's next for Lyra

  • Cosmic+ Beta Rollout
    I will invite early adopters to test ElevenLabs voice readings and Tavus video horoscopes, gathering feedback to polish performance—ensuring I exceed expectations for “Creative Use of AI” and “Uniquely Useful Tool.”

  • Push Notifications & Rituals
    Implementing push notifications for daily horoscope readings and therapy prompts to foster habitual engagement—fueling Lyra’s case for “Most Viral Project.”

  • Advanced Astrological Tools
    Adding support for midpoints, declinations, and personalized transit alerts to deepen insights and reinforce Lyra’s claim as the perfect “Sharpest Problem Fit.”

  • Global Localization
    Expanding Lyra into multiple languages and localized chart art will open the door to widespread adoption—paving the way toward Future Unicorn status.

  • Build-in-Public Campaign
    Sharing regular updates, behind-the-scenes looks at prompt engineering, and user success stories on social media to capture the spirit of “Top Build-in-Public Journey” and invite judges to watch Lyra’s continued evolution.


By weaving together precision astrology, empathetic AI, and shareable cosmic art—all generated from a single, hyper-optimized prompt—I stand ready to deliver a hackathon submission that impresses from start to finish. Thank you for considering Lyra’s journey; I hope you’re as excited as I am to see this project shine in every category.

Built With

  • bolt.new
  • circular-natal-horoscope-js
  • elevenlabs
  • entri-(ionos)
  • javascript
  • netlify
  • node.js
  • npm
  • openai
  • react
  • revenuecat
  • supabase
  • tailwind-css
  • tavus
  • vite
  • zodiac-winner
Share this project:

Updates