Linux Magazine PDF downloader for subscribers
GPL-3.0 License
Changelog | Issues | Releases | DockerHub
Linux Magazine PDF downloader for subscribers
Beside the releases at Releases there also is a snap lmdownload
in the Snap Store and a docker container.
You can install it by typing: snap install lmdownload
Afterwards you should be able to run QOwnNotes with the command lmdownload
.
Snaps are working on many Linux distributions like Ubuntu, Arch Linux, Debian, Fedora, openSUSE, Gentoo Linux, OpenWRT, open embedded and yocto project.
Please note that you are only able to download PDF files to your home-directory if you are installing the snap
(unless you are breaking out of the confinement by running /snap/lmdownload/current/lmdownload
directly).
This is an example to run lmdownload every 12h with Docker Compose:
version: '3.7'
services:
# https://github.com/pbek/lmdownload
lmdownload:
image: pbeke/lmdownload
restart: always
depends_on:
- smtp
environment:
- LM_USERNAME=user
- LM_PASSWORD=pass
volumes:
# local folder must be owned by uid 1000!
- /home/user/Media/Magazines/Linux-Magazine:/home/app/pdf
entrypoint: |
sh -c 'sh -s <<EOF
trap "break;exit" SIGHUP SIGINT SIGTERM
while /bin/true; do
/bin/lmdownload -username $$LM_USERNAME -password $$LM_PASSWORD -notification-email $$LM_USERNAME -from-email [email protected] -smtp-host=smtp
sleep 43200
done
EOF'
# https://github.com/namshi/docker-smtp
smtp:
image: namshi/smtp
restart: always