Commit Graph

4 Commits

Author SHA1 Message Date
Nils-Johan Gynther a5f00cee9e feat: Add receipt parsing functionality with image and PDF support, including Tesseract OCR integration 2026-04-30 20:00:25 +02:00
Nils-Johan Gynther 409d0b6b06 Refactor and enhance document and recipe import functionality
- Removed the QuickImport module and service to streamline the codebase.
- Introduced DocumentImport module, service, and controller for handling PDF uploads and conversions to Markdown.
- Added PdfParser for parsing PDF files and extracting text.
- Implemented DocumentParser as an abstract class for future document parsers.
- Created a new GenericRecipeParser and IcaRecipeParser for handling recipe data from various sources.
- Developed QuickImportService to manage recipe scraping from URLs.
- Enhanced error handling and validation for file uploads and input processing.
- Updated project documentation with a structured plan for future development and improvements.
2026-04-23 15:54:14 +02:00
Nils-Johan Gynther e18bf79395 feat: Implement PDF document import functionality with Markdown conversion
- Added DocumentImportModule, DocumentImportController, and DocumentImportService for handling PDF uploads.
- Integrated pdf-parse for extracting text from PDF files.
- Created PdfParser for parsing PDF documents and converting them to Markdown format.
- Updated frontend to support file uploads via drag-and-drop and file input for PDF documents.
- Modified API routes to handle document import requests.
- Enhanced error handling for unsupported file types and file size limits.
- Updated README to reflect new features and usage instructions.
2026-04-12 18:57:40 +02:00
Nils-Johan Gynther 1608eb4d70 Initial microservice-importer setup with NestJS backend and Next.js frontend 2026-04-12 16:58:23 +02:00