PostgreSQL RLS • Ingestion • Delivery API

Ingest documents. Deliver headless publications.

A purposeful content engine for engineering teams. Ingest DOCX, PDF, Markdown, and images into structured HTML, manage articles with editorial typography, and distribute via scoped REST APIs.

system.identity • architecture
RLS Guarded•v1 REST
BlogForge
BlogForgeCMS

Headless Editorial Engine for Engineering Teams

Architecture & Pipeline

Designed for frictionless content extraction

Authors draft in Microsoft Word, Google Docs, or Markdown. BlogForge compiles production-grade HTML for frontend engineering teams.

Ingestion Latency
< 150ms
Full AST & image parsing
Database Security
PostgreSQL RLS
Row-level isolation
Token Security
SHA-256
Zero plaintext keys
Rate Governance
60 req / min
Sliding window
Full Lifecycle Workflow

How BlogForge processes and delivers content

From raw author manuscript to edge-cached JSON API delivery in five stages.

STAGE 01Universal Parsing

Document & Media Ingestion

5 formats supported

Drag and drop raw documents directly into the CMS. Built-in server parsers extract structural headings, body content, code snippets, and inline images without requiring manual markdown re-authoring.

Guaranteed Pipeline Specs
DOCX Parser: Extracts headings, bold, italic, and embedded media assets
PDF Extractor: Fast structural text extraction and clean line normalization
Markdown Frontmatter: Parses YAML title, tags, slug, author, and published date
Image Pipeline: Auto-uploads embedded document images to Supabase Storage
Pipeline Code & Schema
// Ingestion Pipeline Handler
const document = await parseDocument({
  file: uploadedFile,
  extractImages: true,
  storageBucket: 'blog-media'
});

// Output: Clean semantic HTML & structured metadata
console.log(document.title, document.slug, document.html);
Ingestion Formats

Direct Ingestion Capabilities

Upload documents without manual formatting. The engine normalizes styling and extracts assets automatically.

Word (.docx)

Mammoth parsing converts headings, lists, bold, italics, tables, and blockquotes.

Auto image extraction

Markdown (.md)

Extracts YAML frontmatter (title, slug, date, author) and renders GitHub-flavored markdown.

YAML metadata parsing

PDF Documents

Server extraction with pdf-parse structures multi-page whitepapers into clean articles.

Multi-page text streams

Media Uploads

Upload PNG, JPEG, and WebP directly into isolated tenant storage with public CDN URLs.

Supabase Storage CDN
Developer Experience

Integrate with any frontend framework

Predictable REST APIs with HTTP caching, Bearer authentication, and JSON pagination.

curl -X GET "https://blog-forge-omega.vercel.app/api/v1/blogs?page=1&limit=5" \
  -H "Authorization: Bearer blog_live_lrqbj5KTRS6LkGpPKUi8Vl5i8wyc9ImFHEm0tba1_e8" \
  -H "Accept: application/json"
GET/api/v1/blogs
{
  "data": [
    {
      "id": "blog_7a82f910",
      "title": "Architecting Scalable Next.js 16 Applications",
      "slug": "architecting-scalable-nextjs-16-applications",
      "excerpt": "Deep dive into modern App Router patterns, partial prerendering, and server actions.",
      "content": "<h2>Introduction</h2><p>Next.js 16 introduces powerful primitives...</p>",
      "contentFormat": "html",
      "tags": ["nextjs", "react", "architecture", "headless-cms"],
      "publishedAt": "2026-02-01T12:00:00.000Z"
    }
  ],
  "pagination": { "page": 1, "limit": 1, "total": 1, "totalPages": 1 }
}
Enterprise Isolation

Security & Multi-Tenancy Principles

Every document, blog post, and API credential is isolated at the database layer.

PostgreSQL Multi-Tenancy

Database-level isolation enforced via Row Level Security (RLS) policies. Queries cannot read or modify external tenant data.

PostgreSQL RLSZero LeakageScoped Slugs

Scoped API Tokens

Generate cryptographic Bearer tokens. Only SHA-256 hashes are stored. Enforces timing-safe comparisons, domain CORS, and rate limits.

SHA-256Timing-Safe60 req/minDomain CORS

Edge Delivery & Caching

JSON responses cached at edge nodes. Supports ETag and cache revalidation headers for instant static generation.

Sub-50msVercel EdgeETagRevalidate

Ready to streamline your publication pipeline?

Ingest raw manuscripts, extract media assets, and distribute editorial content worldwide with sub-50ms delivery APIs.