Website Platform Overview
The Website platform in Scriptonia produces a blueprint for content-focused, static or SSG sites with no backend or user accounts. Outputs include PRD, PLAN, SEO strategy, frontend specs, LLM prompts to generate the actual site, and infra for Vercel or Netlify.- Agents: ProductManager, FrontendDev, ToolManager
- Execution: ~45 s
- Cost: Same as other platforms (unified $SCRIPT / USD)
Use Cases
| Use case | Fit |
|---|---|
| Landing pages | Product, app, or waitlist; hero, features, CTA, footer |
| Marketing sites | Multi-page: About, Pricing, FAQ, Contact; SEO-oriented |
| Portfolios | Projects, case studies, CV; optional blog |
| Blogs | MDX / Markdown posts, listing, tags; static generation |
| Documentation | Docs structure, navigation, code blocks; feeds into Docusaurus, Nextra, or plain Next.js |
| Event or campaign pages | One-off or seasonal; fast to ship |
Generated Structure
- docs/ — PRD, PLAN, SEO strategy and content plan
- frontend/ — Next.js config, page structure, component specs; prompts/ holds the LLM prompt to generate the static site
- content/ — Placeholders for blog and assets
- infra/ — Hosting (Vercel) and CDN / caching
- meta/ —
github_push.yamlfor repo / CI; export reference
Tech Stack
| Layer | Stack |
|---|---|
| Frontend | Next.js (Static / SSG), Markdown / MDX, TailwindCSS |
| Hosting | Vercel (primary), Netlify (optional) |
| Extras | SEO layer, meta tags, sitemap |
- Next.js SSG —
getStaticProps/getStaticPathsor App Router static export for fast, CDN-friendly HTML - MDX — Markdown + JSX for blog and docs
- TailwindCSS — Utility-first styling in specs and prompts
- SEO —
SEO_CONTENT.mdand meta / sitemap guidance
Deployment Guide
1. Generate runnable code
- Use
frontend/prompts/generate_static_site.txtwith your LLM and the frontend specs (nextjs,pages,components) - Add content under content/ (blog, assets) and wire it to the generated pages
2. Vercel (recommended)
- infra/hosting.md describes setup
- Connect GitHub repo (or upload project) and import as Next.js
- Vercel runs
next build; for static export, setoutput: 'export'innext.config.js - Set env vars if needed (
NEXT_PUBLIC_*) - Custom domain via Vercel Dashboard → Settings → Domains
3. Netlify
- infra/hosting.md may outline Netlify
- Build:
next build - Publish:
.next(server) orout(static export) - For static export, set publish directory to
out - Add redirects / headers in
netlify.tomlif needed
4. CDN and caching
- infra/cdn_caching.md covers CDN and caching
- Vercel / Netlify include CDN by default
- Optional extra CDN (e.g. Cloudflare) in front of hosting origin
5. SEO
- Use docs/SEO_CONTENT.md for titles, descriptions, structure
- In app: meta tags, Open Graph, Twitter cards, sitemap.xml
- Submit sitemap to Search Console