scanserv is a simple web-based UI for SANE which allows you to share a scanner on a network.
JavaScript HTML PHP Shell CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
classes_php Styling / installation script Mar 17, 2018
content - Update preview api (image in the json response) Nov 18, 2016
javascript Delete js.cookie.js Nov 22, 2016
output Updated Nov 3, 2015
preview Removed preview.jpg Feb 14, 2016
.gitattributes Initial commit Jul 21, 2015
.htaccess Cleanup Nov 3, 2015
LICENSE readme / license Jul 21, 2015 README Dec 6, 2016
index.html Add files via upload Feb 14, 2018 Update doc Nov 11, 2017 install cleanups Mar 18, 2018


Please note that scanservjs is a newer and more up-to-date version of this software. It is based on nodejs which may or may not float your boat.

scanserv is a simple web-based UI for SANE which allows you to share a scanner on a network without the need for drivers or complicated installation. scanserv does not do image conversion or manipulation (beyond the bare minimum necessary for the purposes of browser preview) or OCR.

Copyright 2015 Sam Strachan

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.


  • SANE
  • ImageMagick
  • Apache web-server with PHP-support

installation notes

  • Installation notes here


This is yet another apache-php-scanimage-web-front-end. Why?

  • I wanted a simple server which would simply scan an image with as little dependency on other software as possible. I already have Photoshop / GIMP I don't need a webapp to do that stuff
  • Desire for easier and cleaner set up and configuration
  • Separation of presentation and control logic with json-rpc
  • I just wanted to


  • Setup page (auto diagnostics)
  • Remove cmdline
  • Raspberry Pi
  • Nicer looking UI
  • Configuration page for debugging set up assisting new users
  • Multi-language support
  • Server storage of configuration
  • Add local storage too (amplify?)
  • nodejs implementation


  • This project owes a HUGE amount to phpsane. In many respects phpsane is more powerful than this. Scanserv does not support jpeg conversion or OCR. phpSANE, however, is also more brittle and somewhat dated in its implementation.

more about SANE