1
0
Fork 0
kubernetes/scanservjs
Dustin 1c31c01688 scanservjs: Deploy scanserv-js
*scanserv-js* is a web-based front-end for SANE.  It allows scanning
documents from a browser.

Using the `config.local.js` file, we implement the `afterScan` hook to
automatically upload scanned files to *paperless-ngx* using its REST
API.
2023-04-19 21:29:14 -05:00
..
.gitignore scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
README.md scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
config.local.js scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
ingress.yaml scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
kustomization.yml scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
scanservjs.env scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00
scanservjs.yaml scanservjs: Deploy scanserv-js 2023-04-19 21:29:14 -05:00

README.md

scanserv-js

scanservjs is an open source, web-based front-end for the SANE software suite. It provides a simple graphical user interface for scanning photos and documents using any local or network-connected SANE-compatible scanner.

Installation

kubectl apply -k scanservjs

Environment variables used by the container image can be set in the scanservjs.env file.

Integration with paperless-ngx

paperless-ngx is an open-source, web-based document management platform. Integrating scanservjs with paperless-ngx allows scanned documents to be fed automatically into the document management system for OCR, analysis, and classification. This integration is performed using the afterScan hook in the scanservjs config.local.js file and the paperless-ngx REST API to upload documents scanned as PDF files.

To enable the integration, specify the URL to the paperless-ngx service in the PAPERLESS_URL environment variable. Additionally, create an authentication token for paperless-ngx user, store it in a file, and set the PAPERLESS_TOKEN_FILE environment variable to the file path.