diff --git a/src/tools/html-to-pdf/html-to-pdf.vue b/src/tools/html-to-pdf/html-to-pdf.vue new file mode 100644 index 00000000..b016e1e8 --- /dev/null +++ b/src/tools/html-to-pdf/html-to-pdf.vue @@ -0,0 +1,388 @@ + + + + + + HTML to PDF Service Configuration (self hosted) + + + + + + + + + You must self host HTML to PDF Service. See: + + HTML to PDF Service install + + + + + + + + + + + + + + + Generate PDF + + + + + {{ error }} + + + + + + + + + + + + + Generate PDF + + + + + {{ error }} + + + + + + + + + + + + + Generate PDFs + + + + + + + + {{ batchProgress }} / {{ batchTotal }} processed + + + + + + + + Url + Download + + + + + {{ item.url }} + + + + + + Download PDF + + + + + + Failed + + + {{ item.error }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/tools/html-to-pdf/index.ts b/src/tools/html-to-pdf/index.ts new file mode 100644 index 00000000..77f4b9e1 --- /dev/null +++ b/src/tools/html-to-pdf/index.ts @@ -0,0 +1,14 @@ +import { Printer } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'HTML to PDF', + path: '/html-to-pdf', + description: 'Generate PDF from HTML content or URL with format selection and auto hide cookie banners', + keywords: ['html', 'url', 'pdf'], + component: () => import('./html-to-pdf.vue'), + icon: Printer, + createdAt: new Date('2026-04-07'), + category: 'PDF', + externAccessDescription: 'This tool sends URLs and HTML content to the *self hosted* Puppeteer webservice configured.', +});