DEV Community

Cover image for ZodiacDrone โ€” I Built an AI-Powered Astrology App โœจ๐Ÿ”ฎ
Nagisa
Nagisa

Posted on

ZodiacDrone โ€” I Built an AI-Powered Astrology App โœจ๐Ÿ”ฎ

Hey folks! ๐Ÿ‘‹

I want to share my journey of building ZodiacDrone โ€” an AI-powered astrology app. I've always been fascinated by the stars, but frustrated by the UX of existing tools. So, I decided to bridge the gap between ancient wisdom and modern AI.

๐Ÿ’ซ The "Why"

Traditional astrology apps often feel like reading a clinical lab report: "Mars conjunct Saturn in the 12th House." ๐Ÿคจ

Instead of clarity, users get jargon. I wanted to use AI as a Celestial Translatorโ€”turning raw planetary data into meaningful, human conversations.

๐Ÿ› ๏ธ The Tech Stack (2026 Edition)

I wanted a stack that balances developer experience with high performance:

  • Next.js 16 โ€” Leveraging the latest App Router optimizations.
  • tRPC v11 + Hono โ€” For that sweet, end-to-end type safety.
  • PostgreSQL + Drizzle ORM โ€” Because Drizzle's DX is unbeatable for relational data.
  • Better Auth โ€” A solid, modern authentication layer.
  • Vercel AI SDK + OpenAI โ€” Powering the core "Soul Guide" LLM.
  • Tailwind CSS 4 โ€” Zero-runtime CSS-in-JS that keeps the UI snappy.

The project is structured as a pnpm monorepo, which makes sharing types between the web app and background workers a breeze.

๐Ÿ”ฎ The Biggest Challenge: Math > Magic

The hardest part wasn't the AIโ€”it was the Astronomy.

Initially, I thought I could let the LLM handle the calculations. Big mistake. LLMs are notorious for hallucinating coordinates. To get it right, I integrated astronomy-engine.

It's a pure JS library that allows me to calculate exact planetary positions with zero native bindingsโ€”perfect for Edge Runtime!

๐Ÿค– Architecting the AI Reading

I built a conversational interface that doesn't just "spit out text." Using the Vercel AI SDK, the app streams responses in real-time.

One cool feature: Checkpoint Support. If the userโ€™s connection drops mid-reading, the session state is preserved so they can pick up right where the stars left off.

๐ŸŽจ Aesthetics as a Feature

As developers, we often forget that UI is part of the value proposition. I obsessed over our Art-grade Share Cards. Using a mix of SVG manipulation and Canvas, we generate social-ready snapshots of a user's "Cosmic Signature." Because if itโ€™s not beautiful, is it even worth sharing?

ZodiacDrone Dashboard

โœ… Current Status

ZodiacDrone is currently in Closed Beta. Weโ€™ve successfully implemented:

  • Full birth chart calculation (Sun/Moon/Rising).
  • AI-driven "Soul Dialogue" for career and relationship advice.
  • Real-time Fortune Scores across 5 dimensions.

I'd love to hear your thoughts on the tech stack or the concept! What do you think about using LLMs for niche domain translations like this?

๐Ÿ‘‰ Join the waitlist: zodiacdrone.app


Feel free to drop a ๐Ÿฆ„ or a ๐Ÿ’– if you found this interesting!

Top comments (0)