A comprehensive Quartz v5 component plugin that embeds a 1:1 reproduction of the DocIngest documentation crawler and searchable corpus viewer directly into your digital garden or static portfolio.
-
URL Ingestion Dashboard (
DocIngestAdd):- Live URL validation with automatic include-pattern suggestion.
- Configurable wildcards (
/docs/*,*/v1/*) and max page limits. - Direct crawl job initiation against the DocIngest backend API.
- Real-time progress bar, discovered/completed metrics, and live terminal telemetry streaming.
- Grid of recently indexed documentation repositories.
- Automatically handles the
POST /docs/savelifecycle when crawling completes.
-
Searchable Corpus Viewer (
DocIngestView):- Instant full-text search against the indexed documentation database.
- In-modal raw Markdown preview.
- One-click "Copy Context" with animated clipboard feedback (ideal for AI prompt grounding).
- Direct
.mdfile download. - Clean pagination ("Load More") support.
-
Standalone & Theme-Aware:
- Built using Preact with zero external runtime dependencies.
- Adapts cleanly to dark mode palettes (including custom Sovereign / ANSI themes).
- Seamless SPA navigation support via Quartz's
navevent lifecycle.
Install the package in your Quartz repository:
npm install docingest-quartzor link locally:
npm install /path/to/docingest-quartzAdd DocIngestAdd and DocIngestView to your quartz.config.yaml or quartz.config.ts:
plugins:
# ... transformers, filters, emitters ...
# UI Components
- source: "docingest-quartz"
component: "DocIngestAdd"
enabled: true
options:
apiUrl: "https://docingest.yourdomain.com/api"
layout:
position: beforeBody
priority: 12
- source: "docingest-quartz"
component: "DocIngestView"
enabled: true
options:
apiUrl: "https://docingest.yourdomain.com/api"
layout:
position: beforeBody
priority: 13Create two markdown pages in your Quartz content/ folder:
---
title: "DocIngest URL Ingestion"
docingest: "add"
aliases:
- "/tools/docingest/add"
- "/add"
---
# Ingest Documentation
Submit documentation URLs below to crawl and index into your searchable Markdown corpus.---
title: "Documentation Corpus Viewer"
docingest: "view"
aliases:
- "/tools/docingest/view"
- "/view"
---
# Search Documentation
Search, preview, copy context, or download indexed documentation trees.The plugin expects a DocIngest backend exposing standard REST endpoints:
POST /crawl/start- Initiate crawl with{ url, limit, maxDepth, scrapeOptions, includePaths, excludePaths }GET /crawl/status/:id- Poll active crawl statusPOST /docs/save- Persist completed documentation treeGET /docs/list- Return paginated list of indexed documentsGET /docs/fullsearch?q=:query- Full-text searchGET /docs/content?domain=:domain- Return raw markdownGET /docs/download?domain=:domain- Trigger file download
cd docingest-quartz
npm install
npm run buildMIT © Richard P. Dissell (RPDev)