Unnamed repository; edit this file 'description' to name the repository.
Find a file
2021-01-13 17:36:25 +02:00
feed2imap Add details to readme and organize folder 2021-01-13 17:36:25 +02:00
pyproject.toml Add details to readme and organize folder 2021-01-13 17:36:25 +02:00
README.md Add details to readme and organize folder 2021-01-13 17:36:25 +02:00
requirements.txt Add details to readme and organize folder 2021-01-13 17:36:25 +02:00
setup.cfg Add details to readme and organize folder 2021-01-13 17:36:25 +02:00
setup.py Add details to readme and organize folder 2021-01-13 17:36:25 +02:00

feed2imap

Requirements

  • Python 3.X (3.8 tested)

Installation

Linux / Mac OS / *nix

sudo python3 setup.py install

Windows (using PowerShell)

& $(where.exe python).split()[0] setup.py install

Usage

  1. Create a feeds file in YAML format with the following syntax:
default-email: feed-sender@domain.com
disable-ssl-verification: true
include-images: true
feeds:
- name: Slashdot RSS
  url: http://rss.slashdot.org/Slashdot/slashdot
  target: "imaps://username:password@server.domain.com/INBOX.Feeds.Technology.Slashdot" # The dot separate folders. You can also use IMAP without SSL using imap: as protocol at the begging.
  1. Run:
feed2imap.py [OPTIONS]

Options

--debug-level [CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET] Debug level.
-f, --feeds-file TEXT           File in YAML with the information of the feeds.
-l, --log-file TEXT             File to store all log information.
-e, --default-email TEXT        Email address for the sender of the feed items.
-n, --disable-ssl-verification  Disable SSL verification for the IMAP server certificate.
-i, --include-images            Include images from feed items.
-f, --feeds TEXT                Feed item in JSON format.
-c, --cache-file TEXT           Cache file to store downloaded items.
--help                          Show this message and exit.