← All Open-Source Tools
Publishing Engine GPL-2.0 License
slugpost
Instant publishing without signup friction
Write or paste Markdown, raw HTML, or build visually and get a clean shareable URL in seconds. Built in Rust (Axum + SQLite + Sailfish) as a single binary.
Overview
SlugPost removes the friction of sharing formatted text, AI outputs, and standalone pages. Publish anonymously in seconds with a custom slug, then optionally claim the post into an account later using a secure edit link.
Built as a Rust single-binary port (slugpost-rust) pixel-faithful to slugpost.com, following the Dulak one-typed-function-per-query SQL pattern.
Key Highlights
- Three publishing modes: Markdown (CodeMirror live preview), raw HTML IDE, and Visual Builder.
- Supports custom domains (pending -> verify -> promote), domain-aware SEO (/sitemap.xml, /rss.xml), and media proxying.
- Built-in streaming AI rewrite support and Bearer token REST API v1.
Architecture & Stack
HTTP & Templates Axum + Sailfish (*.stpl) High-throughput Rust handlers paired with compiled Sailfish templates.
Database SQLite (WAL) + embedded migrations One table per migration file; typed query functions in src/db/<domain>.rs.
Editors CodeMirror + custom Visual Builder Bundled assets with autosave, device width previews, and in-place editing.
Media & Mail S3-compatible proxy + async mail queue Private media served via /media/* with presigned uploads and thumbnails.
Security & Operational Defaults
- Production boot guard refuses to start with a localhost BASE_URL.
- TRUST_PROXY flag ensures rate limits key off real client IPs behind Cloudflare or Caddy.
- CSRF protection in prod, CSP and security headers, plus hashed 1-hour single-use password reset tokens.
- Service-token gated moderation API and scoped Bearer slugpost_* REST API keys.
Quick Start
cp .env.example .env
just dev # http://localhost:8081 (cargo watch auto-reload)