EdgePress logo

EdgePress

A blog engine in Rust that runs at the edge and costs nothing to host.

EdgePress runs on Cloudflare Workers and serves fully rendered pages from more than 300 data centers. You need no server of your own and no database, and for a normal blog Cloudflare’s free tier is enough. This website runs on EdgePress.

Why I built it

A classic blog engine needs a server and a database, and both cost money and upkeep every month. Static site generators get rid of the server, but then you lose the admin panel and the contact form.

EdgePress sits in between: pages are rendered on the server, but the server is a Worker at the edge. Visitors get finished pages like from a static site, and you still have an admin panel and forms.

Classic CMSStatic generatorEdgePress
Hosting cost$5-50/monthfree (CDN)free (Workers)
Admin panelyesnoyes
Contact forms etc.yeslimitedyes
Needs a databaseyesnono
Globally distributedusually notyes (CDN)yes (Workers)

Features

Fast and search-engine friendly. Pages arrive as complete HTML from the nearest data center and become interactive in the browser afterwards. Workers start without the cold-start delay common on other serverless platforms.

Content in Markdown. Every page and post is a Markdown file, one per language. Categories, tags and an automatically generated RSS feed come with it. If a translation is missing, the English version is shown.

Admin panel. You upload content as a ZIP. Every version is kept, and one click takes you back to an earlier one. A file browser shows what’s stored.

Spam protection without third parties. The contact form is protected by a proof-of-work the browser solves itself. No CAPTCHA and no third-party script. How it works.

Less attack surface. Rust prevents memory bugs like buffer overflows at compile time. Without a database there’s no SQL injection either, and security headers come preconfigured.

Your own design. Styling is based on TailwindCSS and DaisyUI, works on phones and desktops, and supports light and dark. You ship your own themes in the content bundle.

Under the hood

ComponentTechnology
LanguageRust, compiled to WebAssembly
FrameworkLeptos, rendering on server and client from the same code
RuntimeCloudflare Workers
StorageCloudflare R2 for content and images
CacheCloudflare KV
StylingTailwindCSS and DaisyUI
┌─────────────────────────────────────────────────────┐
│                  Cloudflare Edge                    │
│  ┌───────────────────────────────────────────────┐  │
│  │           EdgePress (WASM)                    │  │
│  │  ┌─────────────┐  ┌──────────────────────────┐│  │
│  │  │  Leptos     │  │  Content Processing      ││  │
│  │  │  (SSR)      │──│  (Markdown → HTML)       ││  │
│  │  └─────────────┘  └──────────────────────────┘│  │
│  └───────────────────────────────────────────────┘  │
│                       │                │            │
│               ┌───────┘                └──────┐     │
│               ▼                               ▼     │
│     ┌──────────────────┐          ┌──────────────┐  │
│     │  KV Store        │          │  R2 Storage  │  │
│     │  (Edge Cache)    │          │  (Content)   │  │
│     └──────────────────┘          └──────────────┘  │
└─────────────────────────────────────────────────────┘

Availability

EdgePress is planned as open source under the MIT license. Paid editions with support for companies are planned for later. There’s no release date yet.

If you want to use EdgePress now, for example for your own blog or a company site, email me at hello@mkapps.net.

FAQ

Is hosting really free? For a normal blog, yes. Cloudflare Workers’ free tier includes 100,000 requests per day. Beyond that, the paid plan starts at $5/month for 10 million requests.

Can I move over from WordPress, Ghost or Hugo? Yes, once your content is in Markdown. Hugo content works almost as is. For WordPress and Ghost there are export tools that produce Markdown. After that you add title and date in the front matter.

Do I need to know Rust? Not for writing, that’s plain Markdown. Only if you want to rework the engine itself.

Can I use my own domain? Yes, through Cloudflare’s domain settings.

Is there a hosted version? Not yet. EdgePress runs on your own Cloudflare account.

More

How I built EdgePress: the technical background and what was harder than expected.