01
Public product catalog
Home with search, category filter, and pagination. Product detail with overview, specs, applications, and image.
pdfai.constructhub.org
AI-generated product tech sheets
Generates technical sheets and PDF documents from product input, with AI processing and an async queue for reliable results.
Stack used to build the product.
How the system is structured: interfaces, backend, infrastructure, and operational flow.
What the product does, in detail.
01
Home with search, category filter, and pagination. Product detail with overview, specs, applications, and image.
02
Async job: Groq writes an HTML technical description, DomPDF builds a single-page Letter datasheet stored publicly.
03
If no PDF exists, “Download datasheet” starts generation with status polling; when ready, the PDF opens inline in the browser.
04
Create, edit, and delete products (technical fields, categories, images). Filtered Excel export, CSV/XLSX import with part-number upsert, and downloadable template.
05
Generate single or all missing PDFs. Statuses idle → queued → processing → ready/failed, with Groq rate limiting and automatic retry.
06
OAuth-only login (Google/GitHub), optional email allowlist, and `/admin` protected by admin middleware.
07
Tracks views, tile clicks, and PDF downloads. Dashboard for PDF coverage, queue, and Groq health, plus a Stats page.
08
Language switcher on public and admin UI. Locale is passed to the PDF job so AI text and datasheet stay aligned.