krl / sluk

Sluk is a simple feed to email program primarily meant to be used with the notmuch mail indexing system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is?

Sluk is a simple feed to email program primarily meant to be used with the notmuch mail indexing system.

It takes a list of rss-feeds and writes them as email messages to a directory, one file per entry.

Sluk does not send mail.

Requirements

feedparser python-levenshtein (optionally, for searching)

Usage

On invocation the program will look for a configuration file path in $SLUK_CONFIG (if set) or fall back to “~/.slukrc”, which should contain something like this:

[conf]
messages  = /home/user/mail/sluk/
feed_list = /home/user/.sluk_feeds
cache     = /home/user/.sluk_cache
quiet     = true
[filters]
readproxy = readproxy {url}

If the option “quiet” is either missing or set to “false”, sluk will babble away mercilessly.

The feed list should be a newline separated list of URL:s, or in the form:

name URL (optional)filter

I use filters with readproxy to transform summary entries to full-text ones.

Sluk uses etags and last-modified headers in order to save server bandwith.

About

Sluk is a simple feed to email program primarily meant to be used with the notmuch mail indexing system.

License:Other


Languages

Language:Python 99.8%Language:Perl 0.2%