DEV Community

zongkai sun
zongkai sun

Posted on

How My AI-Powered Site Generates Leo's Daily Horoscope Automatically

How My AI-Powered Site Generates Leo's Daily Horoscope Automatically

I'm building Xiaosuanshi (小算师) — a free site that serves daily horoscopes for all 12 Western zodiac signs and 12 Chinese zodiac animals, entirely generated by AI. Today I'm sharing what it wrote for Leo, plus how the pipeline works under the hood.

How the daily pipeline works

  • Every morning an AI engine writes fresh content for 12 signs + 12 animals (overview / love / career / luck).
  • A Node.js scheduler (running under PM2) generates 24 shareable pin images, then pushes each sign to a different platform on a staggered UTC schedule.
  • Every page is pre-rendered to static HTML → fast loads and clean SEO.
  • sitemap.xml is rebuilt dynamically so search engines pick up each day's new URLs. ## Today's forecast Leo — Wednesday, September 2, 2026 (Western zodiac sign) Overview Leo Wednesday, September 2, 2026 daily horoscope: Today's cosmic weather is all about visibility, Leo. The Sun pushes you toward the spotlight but Mercury's whispering 'slow down and check your receipts.'… Love: If you're partnered, your natural warmth is dialed up tonight—perfect for deep talks, but skip the grand gestures until…. Free daily horoscope at https://xiaosuanshi.com #horoscope #leo #astrology Love If you're partnered, your natural warmth is dialed up tonight—perfect for deep talks, but skip the grand gestures until Friday. Single Leos, someone's watching you from across the bar; don't overthink the approach, just say hi. Career A project you've been sitting on suddenly has a deadline attached. That's not a threat—it's an opportunity to show everyone what you're capable of. Your fire reads as confidence today, not arrogance, so lean into it. Health: Hydrate like it's your job. The Fire element keeps you burning bright, but it also drains water fast—drink more than you think you need.

Mood: crimson and unstoppable

Lucky number: 7

Why AI for this?

Horoscope content is high-volume and repetitive — perfect for LLM generation with careful templating. The site stays free (no accounts, no paywall), and every piece of content links back to a permanent static page so there are no broken routes.

Want the full reading? → View Leo on xiaosuanshi.com

I'll be posting one of these each day from this project. Content is AI-generated for entertainment. Follow along if you're into building in public with AI.

Top comments (0)