Minimal Hono + Cloudflare Workers site that reads content from EmDash's D1 schema and renders it using @awesomeem/theme-minimal.
What this demo shows: @awesomeem/emdash-render + @awesomeem/theme-minimal rendering content out of D1 tables (ec_posts). It does not include EmDash itself — the seed.sql hand-rolls the schema EmDash would normally create, plus a handful of sample posts.
After clicking Deploy, Cloudflare will:
- Fork this repo to your GitHub.
- Create a Worker on your account.
- Create a D1 database and wire the
DBbinding.
Before seed is run, the site renders an empty state with instructions. One manual step post-deploy — populate the database:
git clone https://github.com/<your-username>/demo
cd demo
npm install
npx wrangler login # auth the same CF account the deploy used
npm run seed:remote # wrangler d1 execute ... --remote --file=seed.sqlRefresh your Worker URL. You should see the seed posts rendered.
Free-tier limits (plenty for a demo): 100k requests/day on Workers, 5 GB + 25M row reads/day on D1.
npm install
npm run seed # populate local D1
npm run dev # http://localhost:8788- No EmDash admin panel. Content is frozen as seeded. To edit content, see the upstream EmDash project (https://github.com/emdash-cms/emdash) and point it at the same D1.
- No auth, no draft previews — this demo reads only
status='published'.
MIT.