A Ghost-style publishing platform in Elixir/Phoenix — with live widgets (tiny shared-state mini-apps readers interact with in real time), a Lua widget studio, one table for everything (DynamoDB, PostgreSQL or Aurora DSQL), and an agent studio: a Kiro agent on a Lambda MicroVM that writes posts, scripts widgets and runs the site with you.

 reader ──LiveView──▶ Phoenix ──▶ Wraith.Store ──▶ DynamoDB | PostgreSQL | Aurora DSQL (one table)
                         │
                         ├─ Wraith.Widgets ── luerl sandbox (Lua) / Elixir modules
                         │                     state per instance, PubSub fan-out
                         └─ Wraith.Studio ──ACP/WebSocket──▶ Kiro Agent Server (MicroVM)
                                   ▲                              │ MCP over the bridge
                                   └──── Wraith.Studio.Tools ◀────┘

What's in the box

AreaWhere
Posts & pages: draft / scheduled / published, slugs, tags, co-authors, revisions, table of contents, related posts, syntax highlighting (Lumis), canonical + OG/Twitter meta, public / members / paid visibilityWraith.Content, Wraith.Markdown, Wraith.Settings, Wraith.Accounts
Images: upload from the editor (feature image, inline at the cursor), avatars; local disk or S3Wraith.Uploads, Wraith.Uploads.{Local,S3}
Members: double opt-in subscribe, magic-link sign-in, account page, newsletter on/off, self-deletion, CSV export/import, tiered paywall with a public preview above <!--members-only-->; Stripe Checkout + customer portal, verified webhookWraith.Members, Wraith.Billing, WraithWeb.MemberAuth
Mail: welcome, sign-in link, password reset, publish & send newsletters with per-member unsubscribe (Local mailbox in dev, SES in prod)Wraith.Newsletter, Wraith.Mailer, Wraith.Tokens
Comments: members comment and reply (one level), reply notifications by mail, live for everyone on the page, moderation in the adminWraith.Comments, WraithWeb.Admin.CommentsLive
Staff roles: owner, admin, editor, author, contributor — enforced in every screen and the rail; staff management in SettingsWraith.Policy
Embeds: {{embed url "caption"}} → YouTube/Vimeo players, X link cards, Open Graph bookmark cardsWraith.Embed
Publishing: send-on-publish, scheduled unpublish, test mail, word count, bulk actions, per-tag/author RSS, JSON-LD, per-post noindexWraith.Content, Wraith.Newsletter
Analytics (daily views and unique readers per post, top posts, member growth) and an audit log, on the dashboardWraith.Analytics, Wraith.Audit
Security: encrypted secrets, rate limiting, session expiry, widget HTML sanitiser, /health — see Security notesWraith.RateLimit, Wraith.Janitor, Wraith.Vault
Search: in-memory inverted index over published posts, /search as you typeWraith.Search
Author profiles: avatar, bio, socials, password change, reset by mailWraithWeb.Admin.{ProfileLive,ResetLive}
Redirects (exact and /old/*), navigation picker for pagesWraithWeb.Redirects, Settings
MCP server: every admin action as a tool, posts as resources, at /mcp for any agent — Kiro CLI, Claude, Cursor; the studio agent uses the same registryWraith.Tools, WraithWeb.McpController, Wraith.Kiro.MCP
JSON APIs in Ghost's shape: Content API (read, ?key=), Admin API (Bearer key or session), Ghost-compatible export and import of a Ghost siteWraithWeb.Api.*, Wraith.ApiKeys, Wraith.Ghost
Public site: feed, post, tag, author, subscribe, RSS / JSON Feed / sitemapWraithWeb.Site.*, WraithWeb.FeedController
Themes: 18 themes across 6 layouts (editorial, list, grid, magazine, minimal, journal), picked in a swatch gallery in Settings; token skins + shared base/layout CSS, light/darkWraithWeb.Theme, WraithWeb.Theme.Layout, WraithWeb.Themes, lib/wraith_web/themes/*, priv/static/themes/*.css
Admin: setup, login, dashboard, Markdown editor with live preview (widgets live too), posts, tags, members, settingsWraithWeb.Admin.*
Widgets: behaviour, Lua sandbox, shared live state, built-ins (counter, poll, reactions, countdown, live visitors)Wraith.Widgets, Wraith.Widgets.Lua, priv/widgets/*.lua
Widget studio: write Lua, click the live preview, versions & rollbackWraithWeb.Admin.WidgetEditorLive
Agent studio: Kiro on a MicroVM, transcript streaming, tool calls, permission promptsWraith.Studio, Wraith.Studio.Server, Wraith.Studio.Tools, WraithWeb.Admin.StudioLive
Kiro runtime (ported from shadow_corp): MicroVM API, ACP client, bridge, MCPWraith.Kiro.*, microvm/
Storage: one table; Memory, DynamoDB and SQL (PostgreSQL / Aurora DSQL) adaptersWraith.Store, Wraith.Store.Keys, Wraith.Store.{Memory,Dynamo,SQL}