| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ScanSync is a Python application designed to streamline document management by:
I ran into the following issue: I wanted to scan a document using a regular network scanner, OCR that file and move it automatically to SharePoint or OneDrive. There are ver expensive scanners that do have that option, but buying new hardware was out of scope. Then there also is 3rd party software, but it usually requires paid cloud services and subscriptions: Not suitable for a small business or even personal use. Therefore this application, that enables you to use a regular network scanner, make the document searchable by running OCR and then automatically pushing it into your desired OneDrive location. No big hastle, everything local and for free (except the optional OpenAI file naming, but the cost is in the cents.)
git clone https://github.com/maxi07/ScanSync.gitdocker compose up --build -dOnce started:
For development purposes, you can use the built-in Flask server:
Returns aggregated document processing status including per-stage breakdowns, currently processing items, and recent completion history.
Response fields:
| Field | Type | Description |
|---|---|---|
| processed_pdfs | int | Count of completed documents |
| processing_pdfs | int | Count of in-progress documents |
| latest_processing_timestamp | string|null | Most recent processing update timestamp |
| latest_completed_timestamp | string|null | Most recent completion timestamp |
| latest_created_name | string|null | Filename of the latest document |
| latest_created_status | int|null | Status code of the latest document |
| total_pdfs | int | Total document count across all statuses |
| failed_pdfs | int | Count of failed documents |
| avg_processing_seconds | float|null | Average processing time for completed documents |
| processing_details | array | Breakdown of in-progress documents grouped by status |
| currently_processing | array | List of individual documents currently being processed |
| recent_files | array | Last 5 completed or failed documents with timestamps |
{
"processed_pdfs": 10,
"processing_pdfs": 3,
"latest_processing_timestamp": "2024-06-01 12:00:00",
"latest_completed_timestamp": "2024-06-01 11:30:00",
"latest_created_name": "invoice.pdf",
"latest_created_status": 2,
"total_pdfs": 15,
"failed_pdfs": 2,
"avg_processing_seconds": 45.68,
"processing_details": [
{"status": "OCR Processing", "status_code": 2, "count": 2},
{"status": "Reading Metadata", "status_code": 1, "count": 1}
],
"currently_processing": [
{
"id": 12,
"file_name": "scan1.pdf",
"status": "OCR Processing",
"status_code": 2,
"created": "2024-06-01 12:00:00",
"pdf_pages": 3
}
],
"recent_files": [
{
"id": 11,
"file_name": "doc1.pdf",
"status": "Completed",
"status_code": 5,
"created": "2024-06-01 10:00:00",
"completed": "2024-06-01 10:01:00",
"pdf_pages": 2
}
]
}Thank you for using ScanSync! If you encounter any issues or have feature requests, feel free to open an issue on the GitHub repository.
| Back | FazBrowse Home | New Git URL |