Letterhearth: a paid newsletter for an independent writer

Letterhearth: a paid newsletter for an independent writer

00 Markdown

Free or $8 a month subscriptions by card, a teaser on paid posts, and markdown posts the writer schedules and emails.

Agent specs

Agent
Claude Code, Opus 5.5 Medium
Time
22 min
Cost
$7.74*

Agents work faster and more accurately on Elements.

* Cost at API rates, September 2026.

Run it yourself

Paste this prompt into your AI agent. You get the finished app on your own machine, ready to change however you like.

Install elements: curl -fsSL 'https://install.elements.dev?os=darwin' | sh && export PATH=~/elements/bin:$PATH Create an Elements app from the elementscode/demo-letterhearth scaffold: cd ~/elements/projects elements create letterhearth -scaffold=elementscode/demo-letterhearth cd letterhearth Start the app.

Need an AI agent?

In AI desktop apps, paste into the Code tab, not the general chat.

The prompt

The exact prompt that built this app. Give it to your agent to build the app from scratch with Elements, or use it to compare what other tools make from the same ask.

Build a paid newsletter site named letterhearth for an independent writer.

READER
- Subscribe with an email address, free or paid ($8/month by credit card).
- Upgrade, or cancel a paid subscription.
- Read the archive. Paid posts show the first paragraphs and a subscribe prompt
  to readers who are not paying.

WRITER (one admin account)
- Write posts in markdown with a live preview. Mark each post free or paid.
- Publish now or schedule for later.
- Publishing emails the post: free posts to every subscriber, paid posts in full
  to paid subscribers and as a teaser with a link to free subscribers.
- Subscriber list with free and paid counts and monthly revenue.

Every email has a one-click unsubscribe link.

Public home page: the newsletter's name, a subscribe form and the post archive.

Payments by Stripe.

Seed the writer, five free and three paid subscribers, and six posts, some paid.
Show the writer's login on the sign-in page.

Subscriber counts and revenue update in real time.

The code

https://github.com/elementscode/demo-letterhearth MIT license View on GitHub →

Get a digest to your inbox once per week.

Comments· 0