Doxie to Dropbox
This service script automatically retrieves scans on your Doxie Go or Doxie Q, and uploads them through the Dropbox API to a specific folder
Feel free to add bugs or feature suggestions in the "issues" section.
To run:
-
Ensure you have virtualenv and pip installed
-
Clone this repository
-
Copy doxietodropbox/example.env to .env at the root of the project and update the DOXIE_USERNAME, DOXIE_PASSWORD and DOXIE_FOLDER, DROPBOX_ACCESS_TOKEN
-
Create a virtual environment and install requirements with pip
virtualenv venv source venv/bin/activate curl https://bootstrap.pypa.io/get-pip.py | python pip install -r requirements.txt
-
Run "python main.py"
To install as a background script:
pip install doxietodropbox
cp /home/username/.local/lib/python2.7/site-packages/doxietodropbox/example.env ~/dropboxtodoxie.conf
vi ~/dropboxtodoxie.conf
cp /home/username/.local/lib/python2.7/site-packages/doxietodropbox/example.service /etc/init/doxietodropbox.conf
vi /etc/init/doxietodropbox.conf
sudo initctl reload-configuration
sudo start doxietodropbox