dobrovolskiy.com
RU
← all workweb · 2026

FOURLEDS lighting catalogue

Single source of truth for FOURLEDS products: public catalogue, print-ready PDF generator, product API for the rest of the software family, AI-assisted content

Not a catalogue page but the master database of FOURLEDS products: one place where fixtures are described once and then served to the public site, to print-ready PDF catalogues and to the other FOURLEDS software over an API, with AI helping to fill in and polish product descriptions.

FOURLEDS lighting catalogue

Not a catalogue page but the master database of FOURLEDS products: every fixture is described once — specs, photometrics, photos, prices — and from there flows to the public catalogue at cat.4-led.ru, to press-ready PDF catalogues generated from templates (WeasyPrint + pikepdf + Ghostscript ICC CMYK, measured pagination for offset spreads), and over an API to the other software in the family (controllers, project tools).

The Claude API is used to amend the catalogue and prepare product descriptions.

A product catalogue and content-management system for a LED lighting manufacturer, live at cat.4-led.ru.

The public side offers filterable products with 2D polar and 3D photometric viewers and datasheet downloads; the admin side (22 pages, 62 API routes) manages products, variants, dynamic parameters, print spreads, PDF templates with versioning, users/roles, an audit journal with rollback, site themes, and an Anthropic-powered 'neurocatalog' that drafts descriptions and edits templates.

A separate WeasyPrint service produces press-ready CMYK PDFs with crop marks, bleed and ink remapping to the printing house's specification.

What it does

  • Single source of product data: 31 models, 62 API routes, 22 admin pages, audit log with rollback
  • Print-ready PDF generation from templates: WeasyPrint + pikepdf + Ghostscript ICC CMYK with exact ink remapping, measured TypeScript paginator for offset spreads
  • Product API consumed by the rest of the FOURLEDS software family (fleet server, project tools)
  • AI (Claude) amends the catalogue and drafts product descriptions
  • Public catalogue with URL-state filters over dynamic typed parameters (text/int/bool/range) and server-side Prisma filtering
  • Per-product photometric 2D polar and 3D (three.js) viewers; IES (LM-63) file generation from beam angle and power
  • Print-spread engine: TypeScript paginator that measures block heights in mm, packs product series onto offset spreads with a compaction ladder, and renders via nunjucks + WeasyPrint

A real production CMS with a genuinely hard sub-problem solved well: automated offset-print catalogue layout from a database, with a measured pagination engine and a PDF post-processing pipeline that reverse-engineered the printing house's accepted colour profile (ICC conversion + exact-literal ink remap via pikepdf) and verified vector output per plate. Also includes IES photometric synthesis, a 3D viewer, and LLM-assisted content generation with cost tracking.

Want something like this?

I build it live on a Zoom call, you watch the screen, the timer stops when you say stop. First 15 minutes are free.

$50 / hourBook an hour

More projects

Housing-company sites (multi-tenant)Two Tyumen housing-management company sites rebuilt from DotNetNuke 8 into one multi-tenant Next.js codebase with full content migrationCampaign site with sealed commitmentsThemeable, self-hosted candidate website whose public promises are SHA-256 sealed.Fixit: field defect trackerZero-dependency Python task board with photo attachments, history, messaging and PDF reports for field crews