ScanImage WEB UI
WebUI for linux SANE command scanimage. Application is based on Python
and JavaScript. Runs on localhost:7800 or other specified port.
This tool enables you to use your USB scanner as network scanner
for many users. It can be run on Raspberry Pi for example Rapsbian
Linux system distribution.
Instalation
apt update && apt install sane-utils
wget https://gitlab.com/alda78/scanimage-webui/-/archive/master/scanimage-webui-master.tar && \
tar -xf scanimage-webui-master.tar && \
cd scanimage-webui-master/ && \
sudo python3 setup.py install && \
cd ../ && \
sudo rm -rf scanimage-webui-master/
or simply
apt update && apt install sane-utils
pip3 install scanimage-webui
Running
scanimage-webui --help
usage: scanimage-webui [-h] [-p PORT] [-d SCAN_DIRETORY]
Scan Image WEB UI v1.2.3
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT APP server port
-d SCAN_DIRETORY, --scan-directory SCAN_DIRETORY
Directory where scanned images will be stored.
systemd configuration
echo '[Unit]
Description=ScanImageWebUI
[Service]
ExecStart=/bin/sh "/usr/local/bin/scanimage-webui >> /var/log/scanimage-webui.log 2>&1 &"
ExecStop=killall scanimage-webui
ExecRestart=/bin/sh "killall scanimage-webui && /usr/local/bin/scanimage-webui >> /var/log/scanimage-webui.log 2>&1 &"
ExecStatus=ps -ax | grep scanimage-webui
Type=forking
[Install]
WantedBy=multi-user.target
' > /lib/systemd/system/scanimage-webui.service
systemctl enable scanimage-webui.service
after that is possible to use
systemctl start scanimage-webui.service
Screenshot
Metadata
Release files for scanimage-webui 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scanimage-webui-1.2.6.tar.gz | 84.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scanimage_webui-1.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 170.4 kB
Release files / scanimage-webui-1.2.6.tar.gz
| Download URL | scanimage-webui-1.2.6.tar.gz |
|---|---|
| Size | 84.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4236698ea74ac442559ce8b1b3860a8d61ab2754f664f2f85e1c0216150ed700
|
|
BLAKE2b-256 checksum How to use checksums |
2468cd56add17bf08ede4ddbde0ea0ee267893db3083d57cc6d34fbfc00db1ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Release files / scanimage_webui-1.2.6-py3-none-any.whl
| Download URL | scanimage_webui-1.2.6-py3-none-any.whl |
|---|---|
| Size | 85.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
976dcce3b92050845b435a1c74fb4b2857be990d9e7909dd5ea8837062f30e4b
|
|
BLAKE2b-256 checksum How to use checksums |
55519e0d1dfd1687e941e4b26145fa4e8060eed509dbe880e9c1038767dfc4a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|