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 Capricorn — Monday, September 7, 2026 (Western zodiac sign) Capricorn, today's focus is on balancing ambition with patience. Your efforts will pay off, but remember to take breaks. Love In relationships, your practical nature can be a turn-on, but don't forget to show your softer side. Communication is key. Career Career-wise, you're on the right track, but a bit of flexibility will open new doors. Your leadership skills are shining. Health: Take care of your back and neck today. A short walk can do wonders. Lucky number: 17 Full reading → View Capricorn 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)