Feature: Add self-hosted email capture (newsletter signup) #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The NewsletterSignup component shows "coming soon" on every page.
Revised approach
Self-host email capture instead of Buttondown. Keep it minimal:
Why
Implementation
Priority
HIGH - the component is built, the missing piece is a POST endpoint.
Status
REVISED: self-hosted capture, not Buttondown.
Feature: Configure working newsletter signup (Buttondown)to Feature: Add self-hosted email capture (newsletter signup)Added POST /api/subscribe endpoint to preview-serve.ts. Validates email format, stores unique subscribers in site/data/subscribers.json. Returns 200 on success, 409 for duplicates, 400 for invalid input. Commit
81140de.