lmdownload

command module
v0.0.0-...-9cc2e0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

README

Linux Magazine Downloader

Changelog | Issues | Releases | DockerHub

Build Status Percentage of issues still open

Linux Magazine PDF downloader for subscribers

screenshot

Installation

Beside the releases at Releases there also is a snap lmdownload in the Snap Store and a docker container.

Get it from the Snap Store

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).

Docker Compose

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 noreply@example.com -smtp-host=smtp
        sleep 43200
      done
      EOF'

  # https://github.com/namshi/docker-smtp
  smtp:
    image: namshi/smtp
    restart: always

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL