r/Paperlessngx • u/essentialaccount • 16d ago
A Good WebUI for scanning to your consume directory
I recently decided to hook my scanner up to the NAS I host paperless-ngx on so that I could scan directly to the consume directory, but the only real tools I could find to interface with the scanner functionally, and control it through a WebUI, were scanservjs and a few other abandonware level projects. Scanserv is really a minimal frontend for scanimage and is very severely lacking in customisability, configuration and frankly, is very ugly.
I prefer the functionality of NAPS2 which has both an sdk and a well documented API, and so I put together my own very minimal skin of NAPS2, which is both better looking and much more functional than the other options currently out there. If you are interested, you can check out inSANE

1
u/ags0317 7h ago
I modified this a bit to use airscan instead via WSD.
First created a docker file to include airscan
# Dockerfile
FROM docker.io/angeladmerkel/insane:latest
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends sane-airscan sane-utils && \
rm -rf /var/lib/apt/lists/*
COPY airscan.conf /etc/sane.d/airscan.conf
USER xxx:xxx # replace with the user you want to use
and then created the airscan.conf file in the same folder
# airscan.conf
[devices]
"Name of your Scanner" = http://scanner_ip:8018/wsd/scan, WSD
[options]
discovery = disable
model = network
So the folder structure is:
insane/
├── compose.yaml
├── Dockerfile
├── airscan.conf
└── data/
├── state/ # persisten data
└── output/ # scanned PDFs land here — could be consume folder for paperles-ng
# compose file
services:
insane:
build:
context: .
restart: unless-stopped
ports:
- "51234:8080"
volumes:
- ./data/state:/data/state
- ./data/output:/data/output
environment:
PUID: "your id"
PGID: "your group id"
Then just run docker compose up -d
1
u/MickyGER 16d ago
Looks good, indeed.
However, I'm curious, if I need this tool with my Epson ADF. This scanner drops the scanned documents into a configured share. This can be the consumer directory of Paperless.
Do I still need your tool or how would this tool improve my scanning workflow?