Commit b2c494a
authored
dev (#63)
* feat: add document parsing functionality for various formats
- Implemented DOCX parser using docx_rs for extracting text from Microsoft Word documents.
- Added image parser utilizing Tesseract OCR for text extraction from images (PNG, JPEG, WebP).
- Created PDF parser using pdf_extract for extracting text from PDF documents.
- Developed PPTX parser for extracting text from Microsoft PowerPoint presentations.
- Introduced XLSX parser using calamine for extracting text from Excel spreadsheets.
- Added plain text parser for handling UTF-8 encoded text files, including TXT, CSV, and JSON formats.
- Established a web API using Actix for file parsing, supporting multipart file uploads.
- Implemented error handling for API responses with appropriate status codes.
- Added tests for all parsers and API endpoints to ensure functionality and correctness.
- Included assets for testing various file formats in the tests directory.
* Update dependencies and refactor web server functionality
- Updated dependencies in Cargo.toml for improved performance and security.
- Changed description and categories in Cargo.toml for clarity.
- Refactored main.rs to simplify server initialization and remove unnecessary conditionals.
- Renamed web module documentation to reflect web server functionality.
- Updated routes documentation to clarify purpose.
- Simplified static file serving logic in static_files.rs, improving error handling and response structure.
* refactor: clean up Dockerfile and remove unnecessary comments; update entrypoint for parser
* refactor: remove common test utilities and replace with direct file path handling in tests
* refactor: remove obsolete benchmark, build, and deployment test scripts
* feat: add CI/CD workflow for Docker image build, publish, and deployment1 parent 6c64883 commit b2c494a
File tree
70 files changed
+1157
-2028
lines changed- .github/workflows
- assets
- ocr
- web
- benches
- crates
- cli
- src
- core
- src
- test-utils
- src
- web
- src
- routes
- tests
- scripts
- src
- core
- parsers
- web
- routes
- tests
- assets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+1157
-2028
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments