feat(web): publish content for search engines and AI answers

Open
#540 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active

Research direction

Read the linked sub-issues #541–#544 and the decisions recorded here, then review src/lib/docs.ts, src/lib/site-metadata.ts, src/app/sitemap.ts, src/components/sections/faq.tsx, and src/lib/adapters/registry. Start with #541, which is first in the build order; follow each sub-issue’s acceptance criteria and Playwright coverage note. The work is complete when all four sub-issues and the issue’s acceptance criteria are met, including the post-launch results.

Written by the indexing model from the issue text.

Description

area: docs area: web blocked decision enhancement epic impact: high priority: P2 size: L

Context

Eddie wants content on the StackDash site that brings in visitors from search engines (SEO) and gets StackDash cited in AI answers from ChatGPT, Claude, Perplexity, and Google AI Overviews (AEO). The public docs help because the provider pages name other companies (Vercel, Supabase, Stripe and the rest), but docs alone will not be enough. This issue lists what to publish, in what order, and what has to be in place first.

What exists today:

  • Nothing on the public domain is indexable yet. https://www.stackda.sh/ serves the coming soon placeholder from its orphan branch (#438). /robots.txt, /sitemap.xml, /docs, and /llms.txt all return 404 there (checked with curl on 2026-11-17). The real app ships with #78 and #435.
  • Docs publish as pages. src/lib/docs.ts publishes every file under docs/ except docs/internal/ at /docs/.... Each page gets its own title, description, canonical URL, and social image (#338). src/app/sitemap.ts lists every docs page, the legal pages, and the public project pages that allow indexing.
  • 11 provider pages, 5,098 lines (docs/providers/*.md). They are written for self-hosters (scopes, app registration, webhooks), and each page's title is just the company name (# Vercel, docs/providers/vercel.md:1). They also hold dated, sourced facts that AI answers usually get wrong: Vercel billing is Pro and Enterprise only (docs/providers/vercel.md:70), and Supabase spend and invoices are unavailable through its API (docs/providers/supabase.md:225). Every page states how its claims were verified and when the provider docs were last checked (docs/providers/github.md:3).
  • No structured data. No application/ld+json anywhere in src/. The landing FAQ (src/components/sections/faq.tsx) has 9 questions and answers with no FAQPage markup.
  • No llms.txt and no plain Markdown version of a docs page.
  • robots.txt allows every crawler (userAgent: "*", src/lib/site-metadata.ts, robotsRules). AI crawlers are allowed by default, not by an explicit decision.
  • Public pages users create already exist or are planned: project pages (#150), badges and cards (src/app/badge, src/app/card), the profile and directory pages (#410), and leaderboards (#154, #156). Every README badge is a link back to the site.
  • The read-only MCP server is documented (docs/mcp.md, #163).
  • Competition: the direction review names Vantage as the real competitor (#141, item 1).

Ideas

Idea What it is Why it works for SEO and AEO
1. Technical foundation JSON-LD (SoftwareApplication on the landing page, FAQPage for faq.tsx, TechArticle and BreadcrumbList on docs), /llms.txt, a plain Markdown version of each docs page, and an explicit robots.txt decision on AI crawlers Crawlers and answer engines read structured data and Markdown directly. Makes every later idea worth more
2. Integration pages One page per provider (for example /integrations/vercel, "Track Vercel deploys, usage, and spend alerts"), generated from the adapter declarations in src/lib/adapters/registry plus a short summary of the provider doc Targets " usage alerts" and " monitoring" searches with other companies' names, which the docs reach only by accident today
3. Answer guides Short, question-titled pages built on the facts already in the provider docs, for example "Can you get Vercel Hobby usage from the API?" and "Why doesn't the Supabase API show your bill?". Each states the date it was checked and cites the provider's docs Answer engines cite pages that give a direct, dated, sourced answer. Few other pages answer these questions, and the research is already done
4. Free tier limits reference One maintained page comparing free tier limits across the supported providers (Vercel, Supabase, Resend, GitHub Actions, Sentry, PostHog, Railway, and the others), each row dated and sourced Gets linked to and cited. Matches the audience in #141 (solo developers on free tiers)
5. Blog Launch posts, build-in-public notes, and engineering write-ups from work already done: OAuth across 11 providers, idempotent webhooks, CSP nonces with Cache Components (#125, #374), RLS tests Earns links and HN and Reddit traffic (#146). Fresh dated content
6. Comparison pages Honest, factual pages: "StackDash and Vantage", "open-source alternative to checking five billing dashboards every morning" Searches comparing two products show strong buying intent. Needs care with accuracy and TRADEMARKS.md
7. Public changelog A dated list of what shipped, one entry per release (#43) Freshness. Lets answer engines say "StackDash supports X since "
8. Public pages users create Project pages, profiles, the directory, leaderboards, and badges Many pages that grow on their own, plus backlinks from READMEs. Already tracked in #150, #410, #154, and #156, so this issue only links them

Later, once there are users: an aggregate "state of the indie stack" report built from opted-in, anonymized data (deploy frequency, Actions minutes). This is out of scope until there are enough users that no one project can be picked out, and the privacy policy covers it.

Decision: what to build

Decided 2026-11-17: option C, built in the order 1, 2, 3, 5, chosen by Eddie. The reasons are in the decision comment on this issue. The options are kept below as they were presented, for the record.

Option Pros Cons Effort Impact
A. Status quo: docs and public project pages only No new work. Docs and project pages are already in the sitemap (src/app/sitemap.ts) Provider pages are titled with just the company name and written for self-hosters, so they rank for self-hosting searches, not for "monitor my Vercel usage". No structured data, no llms.txt. Nothing is indexable until #78 and #435 ship XS Search and AI answer traffic stays near zero at launch (#146). Nothing is lost, but nothing is gained either
B. Foundation plus integration pages and answer guides (ideas 1, 2, 3) Reuses the research and verification already in docs/providers/. Integration pages can be generated from adapter declarations that already exist, so they stay accurate as adapters change. Answer guides are where AI citations come from Answer guides need re-checking when providers change their docs. The provider pages' existing "Docs checked" dates make this visible, but someone has to do it. Integration pages need copy for 11 providers S (foundation) plus M (integration pages) plus M (first 10 answer guides) Launch has pages aimed at the searches people actually make. If a guide goes stale, a wrong answer gets cited until someone re-checks it
C. B plus a blog (ideas 1, 2, 3, 5) Adds links and launch-day traffic (#146). Engineering posts come from issues and PRs already written Blog posts need regular writing time. An empty or abandoned blog looks worse than none. Where the posts live is a separate decision (below) B plus S for the publishing pipeline, then ongoing writing Same as B, plus traffic from launch posts. An abandoned blog makes the project look dead to visitors
D. Everything (ideas 1 to 7) Covers every search intent: research, comparison, buying The free tier reference and the comparison pages need the most upkeep, since competitors' pricing and limits change monthly. Comparison pages carry trademark and accuracy risk XL Most reach. A stale limits table or a wrong comparison is cited against StackDash

Recommendation: C, built in the order 1, 2, 3, 5. The deciding argument: integration pages and answer guides are built on verified, dated research that already sits in docs/providers/, and that is what answer engines cite. The blog is the cheapest way to earn the links that make those pages rank. Second choice: B, if nobody can commit to posting regularly. Ideas 4, 6, and 7 can follow as separate issues once C is running.

Decision: where blog posts and guides live

Decided 2026-11-17: Markdown in this repository, chosen by Eddie. The options are kept below as they were presented.

Option Pros Cons Effort Impact
Markdown in this repository, through the docs pipeline (src/lib/docs.ts) No new dependency. Reviewed in pull requests like the docs. Gets titles, canonical URLs, social images, and sitemap entries (#338) for free Writing a post means opening a PR. No interactive components inside a post S Self-hosters get the posts too unless they are kept out, like docs/internal/
MDX through @next/mdx Components inside posts (charts, the timeline) A new runtime dependency, which is Eddie's call M Anything that breaks in MDX breaks the build
External platform (dev.to, Hashnode) with the canonical URL pointing at stackda.sh Built-in audience. No pipeline to build A vendor choice, which is Eddie's call. Search engines may treat the copy on the platform as the original. The posts live outside the repository XS If the canonical tag is missed, the platform ranks for the post instead of StackDash

Recommendation: Markdown in the repository. The deciding argument: the docs pipeline already does titles, canonical URLs, social images, and sitemap entries (#338), so a post costs nothing extra to publish properly. Second choice: an external platform with canonical URLs, for posts that are mainly for that platform's audience.

Plan

Sub-issues, linked through the Parent issue field, in build order:

  1. #541: structured data, llms.txt, Markdown docs pages, the recorded robots choice, and provider page titles.
  2. #542: integration pages generated from the adapter registry.
  3. #543: the first 10 answer guides from the provider research.
  4. #544: the Markdown blog and the launch posts for #146. Waits on Eddie's choice about whether self-hosted instances publish the blog.

Ideas 4 (free tier limits reference), 6 (comparison pages), and 7 (public changelog) become their own issues once these are running.

Acceptance criteria

  • Eddie's choices from both tables recorded as comments on this issue, with reasons
  • One sub-issue per chosen idea, linked through the Parent issue field, each with its own acceptance criteria and Playwright coverage note
  • Every published page has its own title, description, canonical URL, and sitemap entry, and passes an axe scan and a keyboard-only pass
  • Every factual claim about a provider cites the provider's documentation and states the date it was checked
  • Results recorded here 30 days after launch: indexed pages and search clicks from Google Search Console, and visits referred by AI answer engines from Vercel Web Analytics (#439)

Files and areas

Expected: src/lib/site-metadata.ts, src/app/sitemap.ts, src/app/robots.ts, src/app/docs/, src/lib/docs.ts, src/components/sections/faq.tsx, src/lib/adapters/registry, new routes for integration pages and posts, and docs/.

Non-goals:

  • Paid ads, backlink buying, and AI-generated filler pages. Each page must answer something specific.
  • Pages users create (#150, #410, #154, #156): already tracked.
  • The launch posts' channels and timing: #146.
  • Deploying the app to stackda.sh: #78 and #435.

Verification

  • After deploy: curl https://stackda.sh/robots.txt, /sitemap.xml, and /llms.txt return 200 with the expected entries.
  • Google's Rich Results Test passes for the landing page and one docs page.
  • Google Search Console shows the sitemap read with no errors.

Depends on

  • #78 (production deploy) and #435 (stackda.sh setup): nothing is indexable before them

Model: anthropic/claude-opus-5-5 | Reasoning effort: not reported by harness

Dominant language
TypeScript
Stars
13
Forks
2
Avg merge
5h 20m
Merged PRs (30d)
287

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eddiejaoude/StackDash

All issues in eddiejaoude/StackDash

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.