Using Scanbot and Nextcloud for scanning, OCR and file management

Mathias Conradt
Nov 14, 2017 · 2 min read
Photo: Mari Helin-Tuominen

For my personal documents, I use a Nextcloud installation on a RaspberryPi 3 and reachable from the outside. In order to digitalize paper documents that I receive, I’ve been using Scanbot for some years now.

It’s an Android app that lets you photograph documents and save them as images or (my preference) pdf files.

With Scanbot Pro you can even let an OCR engine analyze the text, which stores the text as an extra layer in the pdf, making it searchable and even indexable (great if you use the Nextcloud Nextant app powered by Solr).

In order to connect Scanbot with your Nextcloud, you can simply define a custom WebDav server endpoint and select a folder in the app preferences. In Scanbot, you can then upload the scanned documents manually or have them uploaded automatically.

Settings > Cloud Services
Select WebDAV

In my case, I have a folder named “Scanbot” in my root directory under my user. So the WebDav endpoint url would look like this:

https://<mydomain>/remote.php/dav/files/<username>/Scanbot/

Configuring the WebDAV endpoint

When I now scan new documents in the Scanbot app, they are automatically uploaded to my “Scanbot” folder on my Nextcloud.

My Scanbot folder on my Nextcloud instance

Mathias Conradt

Written by

SE at @Auth0, Software Engineer, Open Source Enthusiast, Tactical & Stealth Gamer, Sport Shooter, Motor Biker, interested in InfoSec, AppSec, Linux, Cyberpunk