Ultra-lightweight, ethical publishing infrastructure. SQLite-first, zero-trust, no tracking. Sandboxed plugins, transactional event outbox, structured tracing, resource governance. https://vayupress.com
  • Go 86.1%
  • JavaScript 5.7%
  • CSS 5.5%
  • Shell 2.5%
Find a file
johalputt cf628f1b64
Analytics test: date its rows by the store's own clock
"The range before is counted for the values shown" wrote its rows by the
wall clock while its store's clock runs an hour behind, so for the first
hour after midnight UTC the two disagreed about which day today was and
the test failed; the integration run that began at 23:59 UTC did. The
rows are now dated from the store's clock.
2026-11-12 04:45:39 +00:00
.github chore(ci): bump the actions group with 2 updates (#337) 2026-11-09 06:20:46 +00:00
cmd Drive: share a file by a link; going private seals stored files 2026-11-11 23:26:40 +00:00
deploy Name no other mail service, and a test that keeps it so 2026-10-31 16:36:28 +00:00
docs Refresh screenshots from live instance (CI) 2026-11-12 00:52:03 +00:00
internal Analytics test: date its rows by the store's own clock 2026-11-12 04:45:39 +00:00
scripts Take vayupress.com's site out of the repository 2026-11-07 17:28:46 +00:00
static VayuMail Drive: the page, earlier versions, one storage figure 2026-11-11 18:00:06 +00:00
testdata/golden remove the subsystems nothing runs, and what the docs said about them 2026-09-25 07:42:46 +00:00
tests/e2e Drive: share a file by a link; going private seals stored files 2026-11-11 23:26:40 +00:00
tools Docs: upgrading, installation and migration as the code has them; imported drafts stay drafts 2026-10-17 02:45:14 +00:00
.connector-write-probe probe: verify connector write access (safe to delete) 2026-07-10 15:06:47 +05:30
.env.example Name no other mail service, and a test that keeps it so 2026-10-31 16:36:28 +00:00
.env.production.example Name no other mail service, and a test that keeps it so 2026-10-31 16:36:28 +00:00
.gitattributes security(admin-v2): use vendored DOMPurify as the editor sanitiser 2026-06-19 16:13:49 +00:00
.gitignore Go 1.27.2; a search's results are not redrawn away 2026-10-09 15:23:29 +00:00
.golangci.yml markdown: every renderer in one package, held to golden HTML 2026-09-26 04:29:30 +00:00
.markdownlint.json fix(ci): patch CIRCL to v1.6.3 (security), satisfy markdownlint 2026-06-24 14:08:50 +00:00
.release-version Release v3.18.37 2026-11-11 17:11:58 +00:00
CADDY.md hardening of Caddy configuration for security both for development and production environments 2026-07-25 16:07:34 +02:00
Caddyfile Fix the CSRF rotation bug everywhere it lives, and correct the Caddy defaults 2026-07-25 17:00:53 +00:00
Caddyfile.production Fix the CSRF rotation bug everywhere it lives, and correct the Caddy defaults 2026-07-25 17:00:53 +00:00
CHANGELOG.md Drive: share a file by a link; going private seals stored files 2026-11-11 23:26:40 +00:00
CODE_OF_CONDUCT.md feat: complete open source community setup — docs, CI, governance, ADRs 2026-06-12 16:34:06 +05:30
CONTRIBUTING.md Docs checked against the code: plugin sandbox, trust model, ADR status and index, contributing 2026-10-25 04:03:35 +00:00
docker-compose.production.yml production ready configuration and example, protecting admin routes 2026-07-25 15:24:08 +02:00
docker-compose.yml Fix the CSRF rotation bug everywhere it lives, and correct the Caddy defaults 2026-07-25 17:00:53 +00:00
Dockerfile feat(deploy+test): Docker setup, media tests, deployment docs 2026-06-19 10:55:41 +00:00
embedded_assets.go Take vayupress.com's site out of the repository 2026-11-07 17:28:46 +00:00
ETHICS.md Analytics: no install-wide link on a site's page; DB-IP credit in Settings only; governance docs as they are 2026-10-30 05:05:59 +00:00
go.mod Go 1.27.4: the release after a net/http flaw the scan reports 2026-11-11 12:31:07 +00:00
go.sum Dependencies: brotli past its advisory, direct dependencies to latest 2026-11-06 09:06:02 +00:00
GOVERNANCE-CONSTITUTION.md Name no other mail service, and a test that keeps it so 2026-10-31 16:36:28 +00:00
GOVERNANCE.md Analytics: no install-wide link on a site's page; DB-IP credit in Settings only; governance docs as they are 2026-10-30 05:05:59 +00:00
LICENSE license: relicense VayuPress from MIT to Apache-2.0 2026-06-19 16:22:59 +00:00
lighthouserc.json VayuMail Drive: the page, earlier versions, one storage figure 2026-11-11 18:00:06 +00:00
Makefile Docs: quality gates, benchmarks, development and setup; make dev starts 2026-10-17 02:45:14 +00:00
NOTICE Name no other mail service, and a test that keeps it so 2026-10-31 16:36:28 +00:00
README.md README: johal.in read again, 235,014 posts on VayuPress 3.18.21 2026-11-01 04:20:39 +00:00
SECURITY.md Docs: the MCP page lists the 43 tools the server offers, held there by a test; VayuAPI's error body and limits; root SECURITY's support window; console paths 2026-10-17 02:45:14 +00:00
UPGRADING.md Docs: upgrading, installation and migration as the code has them; imported drafts stay drafts 2026-10-17 02:45:14 +00:00
vayupress.db.modes Ω11 Policy Provenance Inspector — SQLite-backed evaluation journal + /admin/policy 2026-06-14 03:46:26 +00:00

VayuPress

VayuPress

Your whole online presence — website, blog, private mail, encrypted chat and a Tor .onion — in one sovereign binary.
One VPS. One process. One SQLite file. One console. No telemetry, no SaaS, no SDKs.

CI Security Dependency Freshness Latest release GitHub stars Go version License Telemetry Constitution

VayuOS Still Air: Home, with what needs attention, setup steps, visitors and the state of the install


About

Live install: johal.in — 235,014 posts, 14 sites and a full mail server, all on one Contabo VPS 10, on VayuPress 3.18.21 (read 1 November 2026). See the numbers →

Vayu is Sanskrit for wind — the invisible force that moves everything and is owned by no one. VayuPress moves your online presence the same way: entirely under your control, seen by no third party.

VayuPress began as a publishing engine. It is now a complete sovereign platform in one Go binary:

  • a business website and a blog with its own reading theme, Halcyon;
  • a private mail server for your own domain, with PGP made automatic (VayuMail) and an official mobile app;
  • end-to-end-encrypted chat that lives only in memory (VayuTalk);
  • a self-learning bot shield (VayuShield) and cookieless analytics (VayuAnalytics);
  • a Tor .onion for every domain (VayuTor), and a whole second, anonymous Tor world (Spaces);
  • many independent sites from one process (VayuDomains);
  • a scoped API (VayuAPI), a built-in MCP server for Claude and any MCP client (VayuMCP), and a checked plugin and theme contract (VCB);
  • automation that shows its diff before it runs (VayuFlow), an endpoint observation console (VayuVeil), and a full monetization engine on your own Stripe, PayPal or BTCPay;

— all run from one console, VayuOS Still Air, which installs as an app on your phone or desktop.

Point a domain at one server, run one install command, and you get:

  • a website at yourdomain.com,
  • a blog at blog.yourdomain.com (or at the root — you choose),
  • a mail server with automatic PGP at mail.yourdomain.com,
  • end-to-end-encrypted chat at talk.yourdomain.com,

each with a free Let's Encrypt certificate issued and renewed for you. No SaaS bill, no analytics harvesting, no credentials on someone else's cloud. You own the content, the mailbox, the data and the machine.

Own your content. Own your communication. Own your infrastructure.


Why this exists

I built VayuPress for myself first.

Self-hosting hurt. Not in any single dramatic way — it was the accumulation. A mail server that needed a weekend and then broke. Six services that each wanted their own database, their own reverse-proxy block, their own certificate, their own upgrade path. A stack that worked until one piece moved and then did not. Every guide assuming you already knew the part you did not know.

That pain is not a law of nature. It is a consequence of nobody having bothered to make the sovereign option as easy as the rented one, because there is no money in making people independent. So I made the thing I needed: one binary, one process, one command, and the whole stack works.

I do not want anyone else to feel what I felt. That is the entire goal. Not profit, not an exit, not a company.

What that means in practice

VayuPress is free for everyone, forever — individuals and large companies alike. A big technology company can run this, build on it, and ship it inside a product without paying anyone anything. That is not a loophole to be closed later; it is the point. A licence that carves out the powerful is still a licence with a gatekeeper, and I did not build this to become one.

It will not be sold, relicensed, or made source-available. Not for money, not for a hosted edition, not for an acquisition. The reasoning and the structure that backs it are in docs/LICENSING.md.

There is no paid tier and no feature held back. Every install gets the same binary.

About the funding goal

There is a goal of USD 5,000 per month in docs/SUSTAINABILITY.md. It exists for exactly one reason: I currently work on VayuPress part-time, and that figure is what would let me work on it full-time.

It is not a condition on anything. If it is never reached, VayuPress stays free, stays Apache-2.0, and stays maintained part-time. Nothing gets sold. The values came first and the funding question does not get to revise them.

ਨਾਨਕ ਨਾਮ ਚੜ੍ਹਦੀ ਕਲਾ, ਤੇਰੇ ਭਾਣੇ ਸਰਬੱਤ ਦਾ ਭਲਾ

Nanak Naam Chardi Kala, Tere Bhane Sarbat da Bhala — may the spirit be ever in ascendance; in Your will, may all prosper.


What you get

✍️ A blog people enjoy reading — Halcyon

A new site starts on Halcyon, VayuPress's own theme: a reading serif (Newsreader) on warm paper, a dusk that is never black, one quiet accent and hairline rules instead of boxes. Home is a front page with numbered topic desks, a river, or an index by month; an article is a centred column or a margin carrying its facts; a topic is an index by month, newest first or most read over the last 7 or 30 days, with a search that stays inside the topic. Readers choose their own face, size, width and light or dark, saved on their device only and applied before the page is drawn. An outline marks where they are, a selection toolbar quotes and links, and on a phone they read with a dock. Nothing scrolls sideways — code wraps, and on a phone a wide table becomes labelled blocks — proven on johal.in's own posts at 320 px. Text contrast, control names, keyboard focus and reflow are measured on every page type, in both schemes, against WCAG 2.2 AA. The stylesheet is 9.4 KB and the script 3.8 KB gzipped, with its fonts served from your origin and no third-party request. Comments, most read, pinned and related posts, sign-in, sign-up and the member pages are all in the same design, and every style is a choice in Theme Studio, whose preview is the real page by page, device and scheme. (Halcyon →)

🖋️ A writer that disappears while you write

A block editor with whole-document Markdown and HTML modes that round-trip losslessly; tables, toggles, task lists, math, callouts, code, footnotes, captions, self-hosted audio and video; Mermaid diagrams rendered on the server, and SVG diagrams drawn inline — sanitised to a closed allowlist, so a drawing shows and nothing in it can run. A slash-command palette, autosave, live preview and version-history diffs. Typewriter scrolling keeps your line centred, a focus spotlight dims everything but the block you are in, a pasted Markdown draft becomes real blocks, and a live outline tracks your headings. Multi-author bylines, memberships, paywalls, newsletters, threaded comments with moderation, and an optional AI draft from a local Ollama or a provider you configure — always a suggestion you insert, never published on its own. Garbled characters in imported posts are found and listed for their author to restore or keep; nothing is changed unasked.

🔎 Made to be found — and quoted

Every post tells search and answer engines what is true of it as one structured-data graph built by the server: its author and their page, the site and publisher, its topic, tags and length, its breadcrumb, and the questions its FAQ answers. Its description is its opening prose cut at a word. Tags are topics: one address each, a few to a post, counted from the published posts. /llms.txt follows the convention for AI assistants: a summary, the site's pinned and newest posts each with a one-line summary, and its topics. Sitemaps, an RSS feed, IndexNow and webmentions are built in. Whether links to other sites carry nofollow is one switch for the whole site, posts and comments alike.

🌐 A real website

A genuine business site at your domain from eleven templates — restaurant, café, shop, portfolio, agency, school, clinic, salon, gym, professional firm and hotel — edited from VayuOS with a live preview, or your own hand-built site, uploaded as a bundle or followed from a GitHub repository folder. You choose whether the website or the blog sits at the root, and an update never changes it for you. (a website is a document →)

📺 A YouTube channel as a blog

Paste a channel, confirm it, and every video becomes a post by itself, the back catalogue and every new one: its title, its description with its links and timestamps, its hashtags as tags, its picture in your media library, its date, and the player, which loads from YouTube only when a reader presses play. Shorts are drawn upright. Each channel is checked every 15 minutes or at Fetch now, posts once per video, and can be set to drafts, to wait for Post, or to leave Shorts out; a new site can be made in the same step. With a YouTube API key it brings the whole back catalogue and posts premieres before they start. It fetches only addresses it builds itself, from three YouTube hosts. (guide → · ADR →)

📧 A sovereign PGP mail server (VayuMail)

Your own mail server for your domain — SMTP send and receive, IMAP and POP3, DKIM signing, direct-to-MX delivery over STARTTLS, and MX, SPF, DKIM and DMARC records with live DNS checks — plus per-mailbox quotas, filters, an auto-responder, junk filing and full webmail. PGP is native and automatic (VayuPGP): every account gets a keypair, its private key encrypted at rest with AES-256-GCM, and its public key published by Web Key Directory so any client finds it. The composer speaks PGP/MIME (RFC 3156), so an encrypted message carries attachments and several recipients. Subjects and names in any language read as written, everywhere. The Mailboxes page puts new mail first, across every domain, and follows it live. New mail raises a bell and a desktop notification — through the service worker, so it reaches the installed app too.

A forgotten mailbox password is not a dead end. There are five ways back in — single-use recovery codes, a verified recovery address off the install, a still-syncing trusted device, an administrator-approved one-time link, and a host break-glass command — all running one reset pipeline that revokes every app password and session, holds queued outbound mail, and writes an append-only audit trail. The public flow never confirms whether an address exists, and no reset mints a session or reveals a password. (recovery guide → · ADR →)

Mail that looks after you. The reader says when a sender's domain confirmed it sent the message, sealed at delivery with a key only your install holds, blocks tracker pictures for good, strips tracking parameters from links, and warns when a link's words name one site and it goes to another. The Inbox sorts itself into Primary, Updates, Newsletters, Receipts and Social from headers alone, with Follow-ups and Unsubscribe views. Send a sealed message to anyone, opened with a passphrase on your own server; make a throwaway address for a website in a click and turn it off by every road; ask a model to sum up or draft, with its cautions enforced on the server. Signing in is guarded at every door: failed attempts recorded and password spraying blocked by itself, passkeys and passkey-only accounts, a sign-in name so the public address alone is useless, every open session listed, and a security checklist with a score. (guide →)

📱 An official mobile app (VayuMail Mobile)

johalputt/VayuMail-Mobile — a pure-Go Android app that reads and sends your PGP mail and carries VayuTalk, from your own domain. You enter your domain and sign in once; the app provisions its own per-device app password (never your real password, revocable at any time) and configures IMAP and SMTP from VayuPress's own autoconfig endpoint. Encrypted mail is decrypted on the device. No tracking pixels, no remote content, no telemetry.

💬 End-to-end-encrypted chat that lives only in memory (VayuTalk)

Real-time PGP end-to-end-encrypted chat for your domain, shared by the web console and the phone over one relay: a message typed on the web reaches the phone and back, indistinguishable to the server. Every message is encrypted to its recipient, held in a bounded in-memory store that never touches disk, and destroyed the moment it is read; an unread one is let go after 24 hours by default (anywhere from 5 minutes to 7 days, as the operator sets). Safety numbers shown identically on web and phone defeat a key swap. The relay serves on its own talk.yourdomain.com, past any CDN, so the live stream is never buffered or challenged. In the Tor world your chat identity is an anonymous, rotatable code, and opt-in, VayuTalk delivers onion to onion between two separate .onion installs. (architecture → · over Tor →)

🛡️ A built-in bot shield (VayuShield "Aegis")

A self-learning bot shield in the same binary, in five layers that need no operator command: an admin-sovereignty lane that keeps the console answering while the public site is under application-layer load; a fixed-memory probabilistic fair-shed that catches spoofed botnets without touching a client inside its fair budget; a reputation brain that jails offenders in minutes and forgives on its own; silent-first proof-of-work challenges that calibrate themselves so real browsers are not bothered; and optional kernel-level nftables and XDP offload. 41 request-inspection rules and published datacenter ranges (AWS, Google Cloud, DigitalOcean) feed a score that never blocks on its own. Search engines and AI assistants are always allowed; abuse is turned away with 429 or 503 and Retry-After, so search ranking and real readers are protected by construction. A posture report judges every control by what is actually enforcing, not by which switches are on. It watches the sign-in doors too: every failed sign-in recorded with the address kept masked, password spraying blocked by itself, and any source blockable from sign-in or from the whole site. (architecture → · sign-ins →)

What it does not do, stated plainly: it will not absorb a volumetric flood. Every layer above runs after a completed TCP handshake on your uplink, so a flood large enough to saturate that uplink is decided upstream of your server, by your provider's routers, and no software on the host can change that. VayuShield handles the abuse a publisher actually meets — scrapers, credential stuffing, comment spam, AI crawlers, application-layer floods. For volumetric resilience you need anycast capacity: a network in front, or several nodes of your own. The posture report keeps this as a permanent, visible fail rather than hiding it.

📊 Analytics with no personal data (VayuAnalytics)

Pageviews, sessions, top pages, referrers, UTM campaigns, custom events, funnels, retention, revenue and a live visitor panel — stored in your own SQLite. A visitor is a server-side hash with a salt that rotates daily, so visits cannot be linked across days: no cookies, no localStorage, no IP address or user agent stored, no consent banner required, and nothing to leak if the database is ever taken. Country comes from an embedded offline table — no GeoIP service, no phone-home — and a browser that sends Global Privacy Control is not counted. (no personal data →)

🛠️ One console — VayuOS Still Air

Everything above is run from one console at /os, built in a design called Still Air: calm, precise and quiet, where the work is the loudest thing on the screen. Home opens on what needs you, the steps left to finish setting up, your visitors and the state of the install. Every page is built from the same few parts — hairline sections, rows with their control on the right, figures and disclosures — and colour appears only when a fact calls for it. The system bar shows the operating mode and the world (Clearnet or Tor) on every page, and ⌘K finds any page and runs any command. Two schemes, Graphite and Paper, are drawn separately. TOTP two-factor, roles, a write-once audit log, and an install that reports its own mode — normal, degraded, read-only, recovery, maintenance or quarantined. It is server-rendered Go and HTMX, one stylesheet and one icon set from your origin, with no SPA framework and no build step. (how the console is built →)

📲 Install VayuOS as an app

Open /os in any modern browser and it offers Install VayuOS — a one-click install onto your home screen or desktop as a standalone app; on iPhone and iPad, Share → Add to Home Screen. The installed app opens straight into the console and launches instantly — no store, no download. Its service worker caches no console response, so an installed VayuOS is never stale: every visit shows what the server serves now.

🌐 Many sites, one binary — VayuDomains and agency hosting

Point a second domain at the same server and it is a site, not a copy of yours: its own certificate, its own console, its own branding, content and analytics, and its own choice of blog, business template or hand-built bundle — changeable later without a migration. johal.in's install serves fourteen hostnames across two apex domains from one process and one database, every certificate renewing without a restart. There is no per-site process, config file or cron. (agency hosting → · domain independence → · one console per site →)

🧅 A Tor onion for every domain (VayuTor)

Flip one switch and every domain becomes reachable as its own Tor v3 .onion, alongside its clearnet address, advertised to Tor Browser with the Onion-Location header. VayuPress runs its own tor as an unprivileged child over the control port (ADD_ONION), pinning each onion's key so the address is stable across restarts — no root, no torrc, no systemd — and it fetches a current Tor itself when the host's is missing or too old. It gets past networks that block Tor with an automatic ladder (direct, then 80/443, then obfs4 bridges, with the obfs4 transport built in); mints vanity addresses with a prefix you choose, without a key ever leaving the server; and sends signed webhook alerts when an onion drops or recovers. Its only metric is a count. (onion services →)

🌐🧅 Two worlds, one binary — Spaces

Run the install as two separate worlds. A Clearnet Space is your public HTTPS site, VayuMail and VayuTalk. A Tor Space is web-only and anonymous: a site on its own .onion, webmail-only mail, and anonymous chat. The Tor world is built not to leak: no clearnet callbacks (WKD, Gravatar, webmentions and MX are gated off), no hotlinked images, and http-onion serving with no CA certificate, no HSTS and no Secure cookie. One click moves the console into the Tor world and back. The two worlds keep separate databases, so accounts, mailboxes, keys and chat identities never cross; content moves only as a checksummed vayupress migrate export|import bundle. Both run on the same server, so this separates identity and content, not the machine — and the console says so. (two worlds → · anonymity model →)

🔌 A fine-grained, scoped API (VayuAPI)

Drive the whole platform from code with keys scoped to the exact section and action they need — a 12 × 6 grid of sections (posts, themes, design, plugins, domains, analytics, media, comments, members, mail, settings, backup) and actions (read, write, delete, apply, install, export), written section:action. A key gets an optional expiry and its own rate budget; it is stored only as a hash, shown once, and can be rotated, paused or revoked in a click. Every call is checked against the key's grant, metered (429 and Retry-After when spent) and written to the audit log — so a script, a CI job or an AI agent can run your site without ever holding the keys to everything. (reference → · ADR →)

🤖 A native Claude / MCP connector (VayuMCP)

VayuPress serves its own Model Context Protocol server at /mcp, with OAuth 2.1 discovery and client registration, so Claude (Desktop, Code, or the web) and any MCP client connect in one click. More than forty tools publish and edit posts, search content, apply themes, manage hosted sites and their files, read analytics and VayuShield's state, and more — each one granted only as far as the connecting key's scopes allow: give it the keys, or only posts:write. A tool the key does not grant is invisible and refused, and every call is rate-limited and audited. The agents in a Buzz workspace connect over the same endpoint. (the connector → · Buzz → · ADR →)

🧩 An extension contract that is checked (VCB)

The Vayu Compatibility Bible turns "will this plugin or theme work?" into a checked contract. A developer — or an AI agent — writes a plugin.json or theme.json, runs vayu-compat, and knows before shipping that every hook, capability, colour, option, sandbox limit and CSP rule matches what the host enforces, because the validator is the host's own code. The live contract is at GET /api/v1/vcb/contract, and a running host validates a manifest at POST /api/v1/vcb/validate. (the Bible → · ADR →)

⚙️ Automation that shows its work before it runs (VayuFlow)

Schedules, events and manual triggers drive flows: ordered steps over what the platform already does — content, mail, outbound calls, model calls — each armed explicitly before it can act. A flow can be dry-run to show the exact diff it would apply before anything is written. Runs carry idempotency keys and survive a crash, a durable inbox holds event triggers, and the whole engine is inert in a Tor Space rather than quietly reaching the clearnet. (architecture →)

🔭 Know what your endpoints are doing (VayuVeil)

An administrator's observation console for what this binary exposes: what is reachable, what is observed, and which units are switched on — read-only where reading is enough, with the controls that change something kept explicit and audited. (architecture →)

💳 Turn it on and get paid — Monetization

A complete, redirect-based monetization suite: no payment SDK is ever embedded, so your strict CSP stays untouched. Take payments through your own Stripe and PayPal — auto-renewing subscriptions and one-time purchases — or crypto through your own BTCPay Server (Bitcoin, Monero, Ethereum, stablecoins), settled by a verified webhook straight into your wallet with no processor, no custody and no KYC: the one rail an anonymous or Tor buyer can pay through. Sell membership tiers that unlock member-only posts, a paywall on any single post, tiers that come with a real VayuMail mailbox (with its quota, PGP key and chat), a premium mail-address marketplace, and member ads that wait in your moderation queue until you approve them. Every sale runs through one auditable orders ledger. (subscription engine →)


Quick start

One command stands up the whole stack — website, blog and PGP mail — on a fresh VPS:

curl -sSL https://raw.githubusercontent.com/johalputt/vayupress/main/scripts/deploy-vayupress.sh | bash

Or clone and deploy by hand:

git clone https://github.com/johalputt/vayupress.git
cd vayupress
sudo ./scripts/deploy-vayupress.sh

The installer sets up the binary, the systemd service, Nginx and Let's Encrypt certificates, and installs Go itself when the host's is older than the one the project needs. A fresh install creates an admin@yourdomain account with a random password, saved to a root-only file, and asks for a new password at first sign-in — no extra step.

DNS records — point these before you install. The apex and www are all a website needs. Each subdomain below unlocks one product, is independent of the others, and can be added later (re-run the installer, or let the next update pick it up).

Name CDN proxy Unlocks
yourdomain.com, www. on or off Website and blog
mail.yourdomain.com off VayuMail — your own mail server
openpgpkey.yourdomain.com off VayuPGP key discovery — makes encryption automatic
talk.yourdomain.com off VayuTalk — the encrypted chat relay
mcp.yourdomain.com off VayuMCP — one-click Connect from Claude and any MCP client
api.yourdomain.com off VayuAPI — a challenge-free REST host for scripts, CI and agents

The proxy column is the one people get wrong. Every service on those subdomains is machine-to-machine: a mail server, GnuPG, a CI job and an MCP client have no JavaScript engine and cannot answer a CDN's bot challenge. Behind one they fail, and openpgpkey. fails silently — key discovery stops and correspondents quietly fall back to unencrypted mail. In Cloudflare that is the grey cloud, DNS only. Your apex and www keep full CDN protection for people.

If your DNS is on Cloudflare, set CF_ZONE_ID and CF_API_TOKEN in /etc/vayupress/env and the openpgpkey. record is created for you, proxy off, on the next update. Per-record checks and what each failure looks like are in the (installation guide →).

A single 8 GB RAM / 4 vCPU / 50 GB NVMe VPS runs everything. Upgrading · Troubleshooting · Operations


Why VayuPress

VayuPress Typical stack
What it replaces Website builder + blog + mail provider + analytics + chat + admin Four to six separate SaaS bills
Where your data lives Your VPS, your SQLite file Vendor clouds you don't control
Telemetry None — verifiable, it's open source "Anonymized analytics"
Mail Your own server, PGP automatic A provider that reads the metadata
Private messaging Built in, end-to-end encrypted, held only in memory A separate Signal or Slack account
Tracking of readers Cookieless, no personal data, no consent banner Cookies and third-party pixels
Bot protection Built in and self-learning, with its limits stated A separate WAF subscription
Anonymity / Tor A .onion per domain — stable, vanity, past blocks with obfs4 — plus a separate, anti-leak Tor world Hand-edited torrc, or nothing
Getting paid Your own Stripe, PayPal or BTCPay; tiers, paywalls, mailboxes, premium addresses, member ads, one ledger A separate membership platform, and no crypto
AI assistants A built-in MCP server; each connection gets exactly the rights its key grants An all-or-nothing token, or nothing
Dependencies One Go binary + SQLite + Nginx Node, databases, Redis, queues, SDKs
Extensibility Sandboxed plugins; a checked contract (VCB); a scoped API Marketplace plugins with full access
Lock-in Open standards, plain export Proprietary formats, export friction

One binary, by design

VayuPress is a single Go binary and a single SQLite database. There is no second service to install, secure or keep alive — search, comments, analytics, mail, chat and PGP all run in-process.

                         Internet ──HTTPS──▶ Nginx (TLS, compression)
                                                  │ 127.0.0.1:8080
                    ┌─────────────────────────────▼──────────────────────────────┐
                    │                     VayuPress (one Go binary)               │
                    │                                                             │
                    │   VayuShield Aegis (L0 lane · L2 fair-shed · L5 brain)      │
                    │   Website · Blog (Halcyon) · Block editor · Members         │
                    │   VayuMail (SMTP/IMAP/POP3 · DKIM · MX/SPF/DMARC)           │
                    │   VayuTalk (end-to-end chat · in-memory relay · read-once)  │
                    │   VayuPGP (keys · WKD)   VayuFind (search)   Analytics      │
                    │   VayuTor (v3 .onion · own tor · obfs4 · vanity)            │
                    │   VayuOS console · VayuAPI · VayuMCP · VayuFlow · VayuVeil  │
                    │                                                             │
                    │   ── Platform kernel ──                                     │
                    │   migrations · outbox · write queue · modes · audit         │
                    │   page cache (stale-while-revalidate · paced warmer)        │
                    │                                                             │
                    │                    SQLite (WAL mode)                        │
                    └─────────────────────────────────────────────────────────────┘

Under the hood: a platform kernel — checksum-verified migrations, a transactional event outbox, a write-once audit log and six system modes — an asynchronous SQLite write queue with dead-letter replay, and a page cache built to stay fast on a large archive: pages and listing cards are kept on disk, a stale page is served at once and redrawn off the request path, a paced warmer rebuilds what an edit or a release made stale at the speed the host can spare, browsers revalidate each page (an unchanged one costs a 304), and the whole cache is one switch in Settings. Plugins run out of process, in their own namespaces under cgroup limits, with a path and network allowlist. Every decision is recorded in the ADR registry and the architecture notes.


Running in production — johal.in

Benchmarks are easy to stage. This is a live install you can open right now and check yourself.

Site johal.in — a working blog, publicly reachable
Published posts 235,014, in one SQLite database
Hardware A single Contabo VPS 10 — one box, nothing else
Running on it 14 sites across johal.in and vayupress.com (3 blogs, 10 hand-built sites, 1 business template), every certificate live, + the mail server (SMTP, IMAP, POP3, DKIM, WKD)
VayuShield Protecting, with 41 inspection rules and three datacenter range feeds
Version VayuPress 3.18.21, read through its connector on 1 November 2026

Google PageSpeed Insights

Mobile Desktop
Home — Performance · Accessibility · Best Practices · SEO 98 · 100 · 100 · 100 100 · 100 · 100 · 100
An article — the same four 100 · 100 · 100 · 100 100 · 97 · 100 · 100
Largest Contentful Paint 1.5–1.6 s 0.3 s
Total Blocking Time 0 ms 0 ms
Cumulative Layout Shift 0–0.001 0–0.003
JavaScript sent, all first-party home 18.0 KiB · article 23.3 KiB the same

Cloudflare synthetic monitoring — the server-side number

A second, independent Lighthouse run (Cloudflare Synthetic Monitoring, from Iowa, USA) reports the metric that matters most for the architecture:

Metric Mobile Desktop
Time to First Byte 161 ms 156 ms
Time to Interactive 1,492 ms 391 ms
Total Blocking Time 29 ms 0 ms
Cumulative Layout Shift 0 0

Over 230,000 posts on SQLite, on one small VPS. "SQLite doesn't scale" is the most common objection to this architecture, and this is the answer to it: a quarter of a million articles from a single file, on hardware that costs less per month than most managed-database add-ons. WAL mode, covering indexes, an asynchronous write queue and stored listing cards do the work: a topic page that is not yet cached draws in 6–16 ms on a test copy of the same size, because it reads two hundred small cards instead of two hundred post bodies.

Fourteen sites on one box. The same VPS terminates TLS for fourteen hostnames, runs the mail server and serves the blog — from one binary and one database. No managed Postgres, no Redis, no separate mail provider, no CDN origin shield, and no second process per site. One binary hosting fourteen independent sites is not a bigger version of hosting one: it is the case where a shared database, a shared TLS store and a shared control plane either hold or do not.

0 ms blocking time is a design outcome, not a tuning trick. There is no third-party analytics, tag manager, font CDN or tracking pixel to block on, because the platform ships its own analytics and serves every byte from your origin. The pages are fast largely because nothing else is invited onto them.

The version, sites, post count and shield state were read from johal.in's own API on 23 October 2026. The PageSpeed figures are from 27 September 2026, the home page and an article (/vayupress-for-privacy); the article's 97 on desktop was small touch targets. The time to first byte is from Cloudflare Synthetic Monitoring, Iowa, 27–28 July 2026. Your numbers will depend on your content, VPS and network. Benchmarks →


Showcase

The public site — Halcyon

VayuPress homepage Home in Halcyon — the site's name, the newest post, Most read over the last 7 or 30 days, and a footer that switches light and dark. Everything is served from your own origin.

VayuPress article An article — its structured data, author and date, topics, reading time, and no third-party request.

VayuOS Still Air — the one console

VayuOS Home Home (/os) — what needs you, the steps left to finish setting up, visitors, the state of the install, and a ⌘K command bar.

VayuOS block editor The block editor — server-rendered blocks, a slash-command palette, autosave, live preview and version diffs.

Theme Studio Theme Studio (/os/theme) — Halcyon's options with the real page as the preview, by page, device and scheme.

🧅 Clearnet and an anonymous Tor world, side by side

Spaces — Clearnet and Tor Spaces — one click runs a second, fully separate VayuPress as an anonymous .onion world with its own database, accounts and identity. The page states the limit plainly: both worlds run on the same server, so this separates identity and content, not the machine.

💳 The revenue engine on one page

Monetization Monetization (/os/monetization) — cards, PayPal, crypto and direct transfer, membership plans, the premium mail-address marketplace, paid posts and every order. Funds settle into your own accounts; there is no platform cut.

🛡️ VayuShield

VayuShield The VayuShield console (/os/shield) — the Aegis layer map, protection switches that apply without a restart, the learned-signature review queue, and cookieless engagement figures.

The rest of the products

VayuMail VayuTalk
VayuMail — SMTP, IMAP and POP3, DKIM, and PGP VayuTalk — end-to-end encrypted chat on your own domain
VayuMCP Members
VayuMCP — Claude and any MCP client connect in one click Members — tiers, growth, revenue and retention
Website Domains
Website — pages, navigation and the public shell VayuDomains — many sites from one binary
VayuAnalytics Posts
VayuAnalytics — computed from your own database Posts
More of VayuOS — media, SEO, security, settings, members and the operator's control plane
Media SEO
The media library SEO readiness
Security Settings
Security and PGP (administrator only) Settings — one place, no scattered config
Sign-in Member signup
The sign-in, self-hosted under a strict CSP Passwordless member sign-up
Plans Monitoring
Reader-facing plans Monitoring

The install's own state is inspectable from inside VayuOS — its system modes, the runtime topology, the dead-letter replay explorer, the fault manager and the ADR registry.

System modes Runtime topology
Replay explorer Fault manager
Governance ADR registry

Screenshots are retaken from a fresh install by the screenshots workflow every two hours, and on demand.


Security & sovereignty

  • No telemetry, no third-party requests for your readers. Every asset — scripts, stylesheets, fonts, images — is served from your origin. The only exception is one you choose: switch on Google AdSense and its script comes with it.
  • A strict Content Security Policy. Scripts run only with a per-request nonce or a known hash; there is no unsafe-eval and no inline script. Stylesheets come only from your origin; inline style attributes are allowed, and style cannot run code.
  • Encrypted at rest. PGP private keys and stored third-party secrets (payment, AI and DNS keys) are AES-256-GCM encrypted. An operator backup is a single AES-256-GCM archive of everything — database, settings, media, mailboxes, keys — keyed with Argon2id.
  • Sandboxed extensibility. Out-of-process plugins run in their own PID, IPC and network namespaces under cgroup limits, with deny-by-default path and network grants and a verified binary hash. A seccomp filter for seven Linux architectures is written and not yet applied (SPEC).
  • Recorded and signed. A write-once audit log; releases signed with cosign and an RFC 3161 timestamp; a Constitution checked by CI and an Ethical AI Charter: no training on your data, no telemetry, and AI only ever as a suggestion you accept.

Security policy · Threat model · Attack surfaces


What every change passes before it ships

There is no separate QA step. A commit reaches main only by passing sixteen required CI jobs — one of which, the cross-compile matrix, is itself seven parallel builds — and ci-pass re-checks every one by name. A job that ran without being listed there would be a job that cannot fail the build. Browser tests, race detection, Lighthouse and the supply-chain scan run alongside.

The Go code itself

Gate What it catches
go vet, gofmt -l Suspicious constructs; unformatted source
staticcheck Dead stores, impossible conditions, misused stdlib
golangci-lint run (v2, zero issues) The aggregate linter set, errcheck included
gosec -severity high -confidence high Injection, weak crypto, hardcoded credentials
govulncheck Known CVEs on code paths actually reachable from this binary
go build -race + go test -race Data races, in unit and integration runs
go test -shuffle=on Tests that only pass in their usual order
go test ./internal/archcheck/ Layering violations: which package may import which
go test ./internal/compat/ Golden-file breaks in the plugin and theme contract (VCB)
deadcode gate Newly unreachable code, against a committed baseline
cross-compile matrix Architecture-specific compile errors, on seven Linux ABIs
go mod tidy drift, go mod verify Undeclared or unused dependencies; module contents that no longer match go.sum
reproducible build Two cold builds of identical source that are not byte-identical

Everything around the code

Gate What it catches
trufflehog (filesystem mode) Committed secrets
shellcheck, markdownlint Broken shell, malformed docs
heredoc audit An unescaped backtick inside an unquoted heredoc — live command substitution in a file that is supposed to be config text
SPDX + license check A source file with no licence header
ADR completeness, required docs A design decision that shipped unrecorded
Governance, ethics, security-policy and community checks Drift between the Constitution and the repository
source-sync A missing entry point or required package, or a module that does not build
release-metadata consistency .release-version and the top CHANGELOG.md section disagreeing

In the browser. Playwright drives the real console and the real public site on a fresh install: every console page is walked by a design lint that fails on any value off the token scale; sixteen surfaces, console and public site, are compared with approved pictures; every text colour is held to WCAG AA against its surface; and Halcyon is checked on every page type for sideways scrolling, overlays, reflow at 320 px, contrast and keyboard focus. Lighthouse holds the home page, a post and four console pages to their budgets.

The release-metadata check exists because of how releases work here: pushing .release-version is the release. Nothing downstream re-derives the version. Without that check a version can be bumped and announced while the notes describe a different release — or a changelog can claim fixes shipped when no build was ever cut.

The cross-compile matrix earned its place the same way. Every other Go gate runs on the runner's own linux/amd64, so nothing asked whether the source compiled anywhere else. It did not: internal/sandbox named syscall.SYS_EPOLL_WAIT in architecture-neutral code, and the arm64 and riscv64 ABIs have never defined it. ARM VPSes are squarely this product's audience. The gate then failed on its own first run, twice, on code written to fix that — a 32-bit int cannot hold SECCOMP_RET_KILL_PROCESS, and SYS_SOCKET does not exist on 386, which multiplexes through socketcall(2). Both were in test files, which go build does not compile and go vet does.

Every gate is mutation-tested. A gate that has not been seen to fail on the thing it forbids has proved nothing, so each new check is run once against a deliberately broken copy of the code it guards, and has to fail at its own assertion. Three ways that has caught a false green: a test that judged output by calling the function under test, so loosening the code loosened the test; a seed that tripped several rules at once, so no single rule was ever deciding; and two guards for one outcome, where "it failed" never said which fired.

What these gates do not prove. They run on linux/amd64; the cross-compile matrix proves the other six architectures compile, not that they were tested, and releases remain a single native build. The reproducibility gate proves two cold builds of the same source are byte-identical; go.mod pins the Go toolchain and releases build with GOTOOLCHAIN=auto, so a tag decides its own compiler. The C side — SQLite is linked statically — still depends on the release runner's gcc and libc, which are not yet pinned. An earlier version of this section claimed builds were not reproducible; that was wrong, it was published before being checked properly, and the controlled test is now a gate so the answer stops depending on who measured it. Every gate, and what it does not prove →


Documentation


License

Apache License 2.0 — see LICENSE. Free for anyone, for anything, forever. Use it, sell services around it, fork it, ship it inside a commercial product. No fee, no permission, no registration. Self-hosters carry no obligations whatsoever: run it, modify it, keep your changes private — Apache-2.0 asks nothing of you, which is exactly why it was chosen over a copyleft licence.

Apache-2.0 permanently, unconditionally. No reciprocal move, no source-available move, no dual licence, no open-core split — and no condition attached: not funding, not adoption, not acquisition. Every release already published is irrevocably free as a completed legal fact, not a promise. Nobody has to pay anything to use VayuPress, now or ever.

Every source file carries an SPDX-License-Identifier, third-party components are listed in NOTICE, and the reasoning — including what structurally backs that pledge — is in docs/LICENSING.md.

Apache-2.0 rather than MIT for the patent grant (§3): every contributor licenses their patents, and that licence terminates for anyone who sues over them. MIT is silent on patents, which is a real exposure for a codebase implementing DKIM, OpenPGP, MCP and OAuth.

Copyright is held by each contributor over their own work. It is not assigned to anyone. Contributions are accepted under the Developer Certificate of Origin with git commit -s, and there is no Contributor Licence Agreement — there will not be one.

That is a deliberate structural commitment, not an oversight. A CLA concentrates copyright in one party, and only a party holding the copyright can sell proprietary licences to it. Every well-known relicensing of a community project into a paid product was built on one. Without a CLA that business cannot be constructed here — by anyone, including the author — and every release already published stays under Apache-2.0 permanently, forkable from its tag no matter what this repository does later.

docs/LICENSING.md sets out precisely what that protects, what it does not, and the routes by which the licence could change in future.