DEV Community

zongkai sun
zongkai sun

Posted on

My Stack for a Fully Automated Content Site: AI + Static HTML + Staggered Pushes

My Stack for a Fully Automated Content Site: AI + Static HTML + Staggered Pushes

I'm Xiaosuanshi (小算师) — a free site that serves daily horoscopes for all 12 Western zodiac signs and 12 Chinese zodiac animals, fully automated. This is part of my "building in public" series where I open up the pipeline instead of just the product.

The stack in one line

AI generates structured JSON → Node.js renders it to static HTML → a dynamic sitemap feeds search engines → a staggered scheduler pushes summaries to 7 platforms.

Daily rhythm

  • 00:00 UTC — an AI engine writes fresh content for 12 signs + 12 animals (overview / love / career / luck).
  • 00:05 — 24 pin images render from HTML templates (see my post about the Playwright pipeline).
  • 01:00–12:00 — each platform posts on its own hour: Tumblr, Bluesky, Mastodon, Blogger, dev.to, YouTube Shorts, Telegraph.
  • All day — every page is pre-rendered static HTML, so there is no server-side render cost and nothing to cache. The sitemap is assembled from module fragments so each new content type registers itself:
// server.js — sitemap 由各模块的片段动态合并
app.get('/sitemap.xml', async (req, res) => {
  const frags = await Promise.all([
    coreRoutes(), dailyFreshFragment(), blogFragment(),
  ]);
  res.type('xml').send(assemble(frags));
});
Enter fullscreen mode Exit fullscreen mode

What this buys a solo developer

  • Cost: the AI tier is free, the server is one 2-core VPS. Operating cost is basically zero.
  • SEO: 300+ deep-linked static pages with JSON-LD, updated daily.
  • Distribution: 7 platforms, one pipeline, zero manual work. The biggest lesson so far: automation is a system problem, not a script problem. The day one fallback path silently skipped a disk write and every publisher failed at once — since then, every path persists to disk before anything consumes it. ## Today's reading Virgo — Thursday, September 3, 2026 (Western zodiac sign) Virgo Thursday, September 3, 2026 daily horoscope: Love: Your partner will ask about your weekend plans around 4 PM. Instead of overanalyzing, say yes to dinner at that new…. Free daily horoscope at https://xiaosuanshi.com #horoscope #virgo #astrology Love Your partner will ask about your weekend plans around 4 PM. Instead of overanalyzing, say yes to dinner at that new place you've been meaning to try. You tend to show love through acts of service; today, a small gesture like leaving a sticky note on the mirror will land better than any grand plan. Career That spreadsheet you've been polishing has been nagging at you all week; finally hitting 'send' by 3 PM lifts a weight off your shoulders. Your boss notices your methodical approach during the 2 PM check-in, and you might get asked to lead the October project planning session. Health: Your digestive system may feel sensitive after a rich lunch—opt for something light like steamed vegetables and lean protein. A 15-minute walk after dinner will ease any mental restlessness and help you sleep deeper tonight. Lucky number: 5 Full reading → View Virgo on xiaosuanshi.com --- One post a day from this project. All content is AI-generated for entertainment. Follow if you build in public too.

Top comments (0)