•
9 min read
ITSTCK

ITSTCK

Automated technical publication covering cybersecurity, Linux, DevOps and AI

Status Ghost 6 n8n Docker Proxmox LXC Custom LLM

A technical blog in English that researches, writes, reviews and publishes entirely on its own, with near-zero infrastructure costs and a design focused on SEO, performance and privacy.

Behind it is a self-hosted Ghost CMS running in a homelab, a minimal AWS Lightsail edge server, and an n8n workflow that turns public sources (security advisories, changelogs, technical blogs) into articles through a quality-controlled process.

Overview · Features · Architecture · Editorial pipeline · Tech stack · SEO · Privacy · Security · Design decisions


Overview

ITSTCK started as a WordPress site automated with n8n. Over time, WordPress became a bottleneck: plugins, attack surface, performance issues and constant maintenance for a site that only publishes text.

Migrating to Ghost 6 simplified the stack (a publishing-focused CMS with built-in sitemap, structured data and Admin API) and made it possible to retain a custom visual identity through a lightweight theme and a CSS and JS overlay, without modifying the underlying engine.

The goal isn’t to publish as much as possible, but to publish thoughtfully: a few articles a day that are useful, verifiable and backed by sources.


Features

  • 100% automated publishing — from news discovery to the published URL, with no manual intervention.
  • 2 to 6 articles per day — 6 daily publishing slots; a slot only publishes if the content exceeds a minimum score.
  • 6 predefined categories — CVEs, Threats & Breaches, Linux & Open Source, Cloud & DevOps, AI & Machine Learning, and Engineering & Infrastructure.
  • Text-only, no images — minimal pages, near-instant loading and zero image storage or CDN costs.
  • Custom editorial format — TL;DR block, callouts, tables and source section, rendered as native Ghost HTML cards.
  • Pre-publication quality control — structural validation and a correction loop; anything that fails is saved as a draft.
  • Dark theme by default and light mode — persistent toggle, green accent, automatic table of contents, copy buttons for code blocks and back-to-top button.
  • Automatic distribution — Telegram, LinkedIn, X and Bluesky triggered by the publishing event.
  • Custom cookie banner — Google Consent Mode v2 and GA4, which is not loaded until the visitor gives consent.
  • Minimal cost — all software is free, and the infrastructure reuses an existing homelab.

Architecture

The site is hosted in my homelab, but it is never directly exposed to the Internet. A minimal AWS Lightsail server acts as the edge: it terminates TLS, applies rules and forwards traffic through a WireGuard tunnel to the homelab firewall.

Visitor
│ HTTPS (Let's Encrypt)
▼
┌────────────────────────────────┐
│ AWS Lightsail · edge │
│ Caddy / nginx │
│ · TLS and headers │
│ · /ghost/ restricted to X IP │
│ · ads.txt, redirects │
└───────────────┬────────────────┘
│ WireGuard
▼
┌────────────────────────────────┐
│ Homelab · OPNsense │
│ (tunnel endpoint + rules) │
└───────────────┬────────────────┘
│ Dedicated VLAN
▼
┌────────────────────────────────┐
│ Proxmox · LXC │
│ Docker Compose │
│ ├─ Ghost 6 │
│ └─ MySQL 8.4 │
└───────────────▲────────────────┘
│ Ghost Admin API (JWT)
┌───────────────┴────────────────┐
│ Proxmox · LXC │
│ n8n (editorial pipeline) │
└────────────────────────────────┘
  • The domain points to Cloudflare DNS only; there is no proxy or tunnel provided by Cloudflare for the website.
  • The admin panel lives at /ghost/ over HTTPS and is only accessible from authorized IP addresses.
  • Public content APIs remain accessible to the website itself.
  • n8n runs in a separate container and VLAN and communicates with Ghost exclusively through the Admin API.

Automated editorial pipeline

The n8n workflow runs in six daily slots (07:00 to 22:00, Madrid time) and always follows the same process:

  1. Discovery — reads a registry of RSS feeds and official advisories and normalizes the candidates.
  2. Filtering and deduplication — discards previously published content using persistent history and CVE identifiers, while avoiding excessive coverage of the same topic.
  3. Scoring — evaluates each item (freshness, relevance, severity, active exploitation, category balance), and the slot only proceeds if it exceeds the minimum score.
  4. Planning — a first LLM determines the angle, structure and information that needs to be verified.
  5. Writing — a second step writes the article in technical English (targeting 1,600 to 2,600 words) using the predefined block structure.
  6. QA and correction — structural checks (minimum length, number of sections, sources, TL;DR block) followed by a correction step. If it fails validation, the article is saved as a draft, never published.
  7. Formatting — converts the output into HTML using the theme’s custom cards (TL;DR, callouts, tables, sources).
  8. Publishing — creates the post through the Admin API with its category, SEO metadata, Open Graph data and author, then adds internal tags.
  9. Notification — sends a Telegram notification about the outcome or any errors.

Internal tags

In addition to the public category, each post carries internal tags (#) that are not visible to readers but drive topic classification and workflow logic:

Tag Purpose
#critical #high #medium #low Severity badge in the theme
#exploited Flags active exploitation
#cve-YYYY-NNNN CVE-based duplicate detection
#pipeline Identifies automated posts

Models and resilience

  • Custom LLMs are used: fast and capable enough for this task.
  • Each stage has a fallback model and automatic retries for capacity-related errors (503).
  • Token limits for each stage are tuned to prevent truncation and reduce failures.

Tech stack

Layer Technology
CMS Ghost 6 (Docker)
Database MySQL 8.4
Theme Journal + custom overlay (itstck.css, itstck.js, locales)
Containers Docker Compose inside LXC (Proxmox)
Network OPNsense, WireGuard, segmented VLANs
Edge AWS Lightsail, Caddy and nginx, Let’s Encrypt
DNS Cloudflare (DNS only)
Automation n8n (workflow with its own state storage)
AI Custom LLM with fallback models
Analytics Google Analytics 4 with Consent Mode v2
Distribution Telegram, LinkedIn, X and Bluesky
CMS email SMTP from my own server

SEO and performance

  • Native sitemap and structured data provided by Ghost, with no plugins; submitted to Google Search Console and Bing Webmaster Tools.
  • Per-article metadata — title, description, canonical URL, Open Graph and Twitter Cards generated by the pipeline.
  • Clean migration from WordPress — 301 redirects from old categories and feeds to the new categories, sitemap and RSS.
  • Category pages with custom descriptions, designed to rank for broader search terms.
  • Lightweight pages — no images, no third-party libraries and minimal JavaScript.
  • Scannable structure — TL;DR at the top, automatic table of contents and semantic headings.
  • IndexNow planned to notify Bing immediately when new articles are published.

  • Custom, lightweight cookie banner, with “Reject all” just as prominent as “Accept all”.
  • Google Consent Mode v2, with everything denied by default.
  • GA4 is not loaded until the visitor gives consent, and cookies are removed if consent is withdrawn.
  • IP anonymization and advertising signals disabled.
  • Permanent link to cookie preferences and privacy policy.
  • AdSense monetization is planned, with Google’s certified CMP when the time comes, since a custom banner does not meet the TCF requirement.

Security and operations

  • Restricted administration — /ghost/ only responds to the owner’s IP address and is always served over HTTPS.
  • Ghost is never directly exposed — all traffic passes through the edge and the encrypted tunnel.
  • Network segmentation — Ghost and n8n run in separate VLANs with explicit OPNsense rules.
  • Least privilege — n8n only has a Ghost Admin API key.
  • Reproducible containers — docker compose with healthchecks and specific MySQL configuration for LXC.
  • Backups — database and content dumps, compressed and rotated.
  • Two-step staff authentication for Ghost, which can be enabled once email is operational.

Design decisions

  • Ghost vs. WordPress — reduced attack surface, no plugins and a publishing-focused CMS with built-in SEO essentials.
  • Overlay vs. forked theme — keeping my styling layer separate makes it possible to update the base theme without losing customizations.
  • Fewer posts, higher quality — reducing the publishing frequency to 2–6 articles a day and enforcing a minimum score lowers the risk of large-scale low-quality content.
  • Smaller models — a custom LLM with fallback models avoids relying on larger models and helps keep local resource usage under control.
  • A single public entry point — the Lightsail edge isolates the homelab and keeps the local IP address out of DNS records.
  • No images — a text-only site is faster, cheaper and easier to maintain.

Transparency

ITSTCK articles are generated with the help of local language models using public sources, and each article links to the sources it draws from.

The process includes automated validation, but an automated summary is no substitute for the vendor’s official advisory: whenever a critical vulnerability is involved, always consult the original bulletin.


Status and next steps

  • Migration from WordPress to Ghost 6
  • Custom theme with dark and light modes
  • n8n pipeline with quality control
  • Cookie banner and GA4 with Consent Mode v2
  • Sitemap submitted to Search Console and Bing
  • Automatic Bluesky distribution
  • IndexNow integration through n8n
  • AdSense application with certified CMP
  • About, Privacy and Editorial Policy pages

Made with ❤️ by dap

-> Visit itstck.com