Building an AI Vedic Astrology App in 25 Days — What Actually Worked (and What Didn't) The article details the creation of KundliAI, a free Hindi-language Vedic astrology app built in 25 days using Next.js, Groq AI, and AstrologyAPI. Key successes included features like a free Kundli generator and daily horoscopes, while challenges involved refining AI prompts for Hindi content and fixing serverless function bundle sizes that caused loading issues. The developer also implemented caching to reduce API costs and used bilingual SEO strategies to achieve Google indexing and organic traffic. 25 days ago I had an idea. Today KundliAI is live, indexed by Google, and getting organic traffic. Here's the honest story — no fluff. India has 1.4 billion people. A massive percentage consult astrology regularly — for marriage, career decisions, naming babies, starting businesses. But the existing platforms are either: I thought — what if I built something that gives genuinely personalized Vedic astrology in Hindi, free, in 30 seconds? That became KundliAI. Frontend: Next.js 14 App Router Styling: Tailwind CSS AI: Groq API Meta's Llama — fast and cheap Astrology calculations: AstrologyAPI.com Swiss Ephemeris Payments: Razorpay Hosting: Vercel Domain: kundliai.in Why Groq over OpenAI? Speed. Groq is 10x faster for inference. For a tool where users expect results in 30 seconds — latency matters a lot. Why AstrologyAPI over doing calculations myself? Swiss Ephemeris is complex. AstrologyAPI wraps it cleanly and gives me planetary positions, Kundli Matching 36 Guna Milan , Mahadasha calculations — all via REST API. Cost is minimal for the accuracy you get. Free Kundli Generator User enters name, date of birth, time, place. We call AstrologyAPI for planetary positions, then Groq generates a complete personalized reading in Hindi. Takes about 25-30 seconds end to end. Daily Rashifal Horoscope Not generic — based on actual planetary transits for the day combined with user's Moon sign. Different from every other rashifal site that gives the same text to all Aries users. Kundli Matching 36 Guna Milan — the traditional Indian marriage compatibility system. Enter two birth charts, get compatibility score with explanation in Hindi. Numerology Name + date of birth → Life Path Number, Destiny Number, Soul Urge Number. Hindi interpretation. Love Compatibility by Name Chaldean numerology — enter two names, get compatibility score. Simple but surprisingly popular. AI Pandit Chat 24/7 chat with an AI that knows Vedic astrology. Ask anything — career, marriage, health, planetary positions. Panchang Daily Panchang for 12 Indian cities — Tithi, Nakshatra, Yoga, Rahu Kaal, Abhijit Muhurat. Paid Reports ₹99 Detailed 10-page PDF report. One-time payment via Razorpay. First payment came on Day 20. Getting Groq/Llama to generate genuinely good Hindi astrology content was harder than expected. The model kept mixing Hindi and English awkwardly. It would use Sanskrit terms without explaining them. The tone was sometimes too formal, sometimes too casual. After about 40 iterations of the system prompt, I landed on something that works. Key insights: My blogs.ts file grew to 500KB+ with 32 blog posts. Vercel's serverless functions have memory limits and the file was causing cold start issues — only 3 blogs were loading. Solution: Split into blogs.ts 9 blogs and blogs2.ts 23 blogs , import both in the page component. Lesson: Watch your serverless function bundle size. It bites you in production, not in development. Initially blog pages were client-rendered. Google was seeing empty pages — terrible for SEO. Migrated to Server Components with force-dynamic . Now Google gets fully rendered HTML with all content. Indexed 2 new blogs in under 10 minutes after this fix. During testing I burned through API credits quickly. Built a simple caching layer — same birth data within 24 hours returns cached results instead of hitting the API again. Cost dropped significantly. API cost is now ₹8-17 per day even with decent traffic. I'm not an SEO expert. But here's what I did: Blog content in Hindi + English Most astrology content online is either pure English or poor Hindi. I write detailed bilingual blogs — "Makar Rashi 2026 rashifal" with proper Hindi content. Google seems to like this. Long-tail keywords Not "horoscope" impossible to rank . Instead "makar rashi sade sati 2026 upay" — specific, lower competition, high intent. FAQ sections on every blog Google's featured snippets love FAQ format. I include 10-14 FAQ questions per blog with direct answers. Schema markup FAQ schema, Breadcrumb schema, Review schema — all implemented server-side. Google Search Console shows all valid. Rich results in search = higher CTR. Results after 25 days: SEO takes time. Meanwhile: Quora — answering astrology questions with genuine helpful content. 51 answers so far. 166 content views this month. Referral traffic is steady. Featured.com — expert Q&A platform. Submitted 3 answers. One selected by BoostmyDomain for publication. Two in review with Brodox and VisRank. High-DR backlinks incoming. IndieHackers — sharing the journey. Good for backlinks and community feedback. Day 20: First payment — ₹99 Day 25: Total revenue — ₹99-200 Not impressive yet. But the paid report feature works, Razorpay integration is solid, and the funnel is there. It's a traffic problem right now, not a conversion problem. Start SEO content on Day 1 I built features for the first 2 weeks before writing any blogs. Those 2 weeks of content compound over time — I wish I'd started earlier. Pick a narrower niche first "AI Vedic astrology" is broad. Starting with "Sade Sati calculator" or "Kundli Matching tool" and dominating that before expanding would have been smarter. Build in public from Day 1 I started sharing on Day 20. Earlier sharing = earlier feedback = earlier course corrections. Not open source yet — but happy to answer specific technical questions in the comments. Live at: kundliai.in Built by one person in 25 days. Zero paid marketing. Everything organic. If you're building something for the Indian market — Hindi-first is a massive opportunity. The content gap is real. Happy to answer any questions about the stack, the prompts, or the SEO approach.