blogovo
Features Sign in Start free

Under the hood

How Blogovo is built. The model writes, code decides.

The parts behind the blog that writes itself: what runs where, what each piece is built with, and why it won over the obvious alternative.

Spec sheetBlogovo, late 2026

Backend
Node.js, Express 5
App
Preact, built with Vite
Data
Postgres with row-level security
AI
Own model router across providers
Voice
Kokoro, self-hosted
Runs on
Docker Compose, read-only containers
  • 22klines of code
  • 10backend packages
  • 13test suites
  • 330+test checks
01

The whole system on one page.

One backend, one database and a few small helpers that each do a single job. Tap any part to see what it is and why it was chosen, or follow one of three journeys through it.

Follow

People

Front door

Web server

One Node.js backend

Data and helpers

Outside services

02

How a post gets written.

Eight steps from an empty slot on the calendar to a published post. The model only writes. Every score, limit and yes-or-no decision is made by code, so it is the same every time and can say exactly what to fix.

  1. 1

    Code

    Plan

    Picks the topic, the offer and the reader's problem from the blog's strategy, leaning toward what the blog has written least about.

  2. 2

    AI

    Write

    The prompt is built from the company profile, one of 16 writer styles, samples of the brand's voice and the strategy. News posts may only use facts from the article.

  3. 3

    Code

    Proof check

    Ten measures of AI-sounding writing, from overused words to sentences that are all the same length. Over the limit, the draft goes back with the exact evidence, at most twice.

  4. 4

    CodeAI

    Length

    Under 80% of the target gets an expand pass. Over 120% gets a tighten pass with a word budget for each section.

  5. 5

    Code

    Strategy check

    Counts mentions of the business, checks the closing link and flags hype words. One fix pass if anything is off.

  6. 6

    CodeAI

    Search check

    Thirteen checks on the title, description, keyword and links. A suggested fix is kept only if the score goes up.

  7. 7

    Code

    Photo and extras

    A real photo, social posts and a category. Then it is published, saved as a draft or sent for review, as the owner chose.

  8. 8

    AICode

    After publish

    Translations, checked section by section for loops, missing parts and the wrong alphabet. Then the spoken summary, the search ping and Telegram.

Proof check score, 0 reads human

Same checker, same numbers, every time.

7published Blogovo posts, median 35publish limit 91typical AI text
03

The stack, and why each part won.

Most choices here are the smaller, plainer option. Fewer moving parts means fewer things to patch, fewer surprise updates and a smaller bill.

PartChosenInstead ofWhy
BackendNode.js + Express 5Next.js, PythonA small surface in the same language as the app, with no server-rendering framework to keep patched.
AppPreact + ViteReact, Next.jsThe same way of writing components at a fraction of the size. It builds to plain files that nginx serves.
DatabasePostgres, row-level securityA database per customer, or filtering in codeThe database itself keeps customers apart. Every request runs as the person who made it.
Sign-inSupabase Auth + own email flowsWriting auth from scratchPassword storage is not something to invent. Verification and reset emails stay in our hands.
Blog pagesHTML rendered once, cached in memoryA headless CMS, a static site generatorFast and cheap, and one less system. Each blog gets its own RSS, sitemap and structured data.
AI outputmarked + sanitize-html, DOMPurifyTrusting model output as HTMLWhatever a model returns is treated like text from a stranger, and cleaned before it is shown.
AI modelsOwn router with fallbacksOne providerProviders rate-limit and run out of credit. A failing model is benched and the next one takes over. Paid models are never swapped without saying so.
QualityA scorer written in codeAnother AI as the judgeFree, repeatable and explainable. It can point at the exact sentence that needs work.
VoiceKokoro, self-hosted, one MP3 per postA paid voice APINo bill per post and the text never leaves our servers. Short summaries keep it quick on a CPU.
PhotosPexels + Pixabay, converted with sharpAI-generated imagesLicensed, real-looking photos with credit shown. No GPU cost and no AI-image look.
Site picturesHeadless Chrome on a closed networkA browser inside the backendThe browser cannot reach the internet on its own. It goes through a proxy that refuses private addresses.
ReviewTelegram bot, long pollingEmail links, dashboard onlyOwners live on their phones. One tap to approve, and no public webhook to defend.
DomainsDNS check, then automatic certificateManual setupThe owner adds two records and the rest happens on its own, with retries if a step is slow.
BillingStripe subscriptionsBilling by handStandard, with prorated plan changes and signed webhooks.

10 backend packages

  • express
  • express-rate-limit
  • pg
  • marked
  • sanitize-html
  • sharp
  • undici
  • puppeteer-core
  • stripe
  • lamejs

3 app packages

  • preact
  • marked
  • dompurify

Kept short on purpose. Every package is code someone else can change, so each one has to earn its place.

04

Keeping customers apart, and keys away.

Many businesses share one system, and each of them hands it a website, a brand and sometimes their own API keys. These are the rules that keep that safe.

Customers stay apart
Row-level security on every table. A request runs as the signed-in person, so the database refuses rows that belong to someone else, even if the code asks.
Default deny for teams
One server-side table maps each action to a role: viewer, reviewer, editor, manager. Anything not on it is owner-only. Telegram buttons follow the same table.
Keys are sealed
The master database key lives only in the small sign-in service. Customers' own API keys and passwords are encrypted with AES-GCM, and only the last few characters ever come back.
AI output is untrusted
Everything a model writes is cleaned before it becomes a page. Comments need a captcha checked on the server, are rate-limited, and are held for review when they carry several links.
No reaching inside
Every fetch of an outside site checks the address first and refuses private networks. The site-reading browser has no internet except through that check.
Locked-down containers
Read-only file systems, no extra Linux privileges, memory and process limits, and internal-only networks for the helpers. Every service is audited against one checklist.
Private by default
Page views are counted per page and day, with no cookies and no personal data. Commenters' addresses are stored only as a one-way hash.
Abuse is expected
Sign-ups are checked for throwaway email and bursts from one address, and the real visitor address is read correctly behind the proxy so limits can't be dodged.
05

Every release can be undone.

Each change is a commit, each deploy is a recorded version, and each version keeps its own images, so going back is one command. Tests run against the real system, including a real AI run.

  1. CommitOne change, one message, in git.
  2. Secret checkThe release stops if a key or password is about to be shipped.
  3. Version tagThe deploy is tagged with its commit.
  4. Exact filesOnly that commit's files reach the server. Local settings there stay untouched.
  5. Build and checksDatabase migrations, the build and the container security checks.
  6. Images keptRunning images are tagged with the commit. The last eight are kept for rollback.

Test suites334 checks

  • End to end52
  • Team sharing45
  • Growth34
  • News34
  • Writers29
  • Telegram sharing27
  • Audio23
  • Strategy23
  • Search19
  • Comments17
  • Strategy check17
  • Background jobs14
  • Real AI runlive
About 15,800 lines of backend code, 6,500 in the app and 15 database migrations.

See it run on your own site.

https://blog.

Type your website. No website? Leave it empty and pick a template.