mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
- Add document-parser.js module for parsing PPTX and Word documents * Word parsing using mammoth library (extracts text + images) * PPTX parsing using jszip (extracts slide text + media images) * Automatic extraction of text to .txt files * Automatic extraction of embedded images * File validation (type and 10MB size limit) - Update server.js upload endpoint to automatically parse documents * Detect document files by extension * Extract and save text content as separate file * Extract and save all embedded images * Graceful fallback if parsing fails - Update ChatComposer.tsx to accept document uploads * Add accept attribute for .docx, .doc, .pptx, .ppt files * Add looksLikeDocument() helper function * Log document processing feedback to console - Update projects.js with document MIME types and kind * Add MIME types for Word/PPTX files * Add 'document' kind bucket for file classification - Add dependencies: mammoth, jszip, pizzip Closes #42