All Projects → Gonzih → Feeds2imap.clj

Gonzih / Feeds2imap.clj

Licence: mit
Pull RSS/Atom feeds to your IMAP folders with Clojure on JVM.

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to Feeds2imap.clj

Cypht
Cypht: Lightweight Open Source webmail written in PHP and JavaScript
Stars: ✭ 628 (+1925.81%)
Mutual labels:  rss, atom, imap
Hexo Generator Feed
Feed generator for Hexo.
Stars: ✭ 400 (+1190.32%)
Mutual labels:  rss, atom
Reader
Free and open source feeds reader, including all major Google Reader features
Stars: ✭ 347 (+1019.35%)
Mutual labels:  rss, atom
Python Feedgen
Python module to generate ATOM feeds, RSS feeds and Podcasts.
Stars: ✭ 501 (+1516.13%)
Mutual labels:  rss, atom
feeds-to-pocket
Sends entries from RSS and Atom feeds to Pocket (https://getpocket.com)
Stars: ✭ 24 (-22.58%)
Mutual labels:  atom, rss
buran
Bidirectional, data-driven RSS/Atom feed consumer, producer and feeds aggregator
Stars: ✭ 27 (-12.9%)
Mutual labels:  atom, rss
Jquery Rss
An easy-to-use rss plugin for jquery with templating.
Stars: ✭ 443 (+1329.03%)
Mutual labels:  rss, atom
rss-button-for-safari
Safari web extension for news feed discovery of RSS, Atom, JSON Feed & RDF+RSS.
Stars: ✭ 16 (-48.39%)
Mutual labels:  atom, rss
Feeds
golang rss/atom generator library
Stars: ✭ 542 (+1648.39%)
Mutual labels:  rss, atom
Liferea
Liferea (Linux Feed Reader), a news reader for GTK/GNOME
Stars: ✭ 612 (+1874.19%)
Mutual labels:  rss, atom
verssion
RSS feeds of stable release versions, as found in Wikipedia.
Stars: ✭ 15 (-51.61%)
Mutual labels:  atom, rss
Feedkit
An RSS, Atom and JSON Feed parser written in Swift
Stars: ✭ 895 (+2787.1%)
Mutual labels:  rss, atom
helloworld
federated social web blog and RSS reader
Stars: ✭ 22 (-29.03%)
Mutual labels:  atom, rss
Alduin
[DISCONTINUED] An RSS, Atom and JSON feed aggregator available on Windows and Linux.
Stars: ✭ 272 (+777.42%)
Mutual labels:  rss, atom
baRSS
Menu Bar RSS reader for macOS
Stars: ✭ 39 (+25.81%)
Mutual labels:  atom, rss
Picofeed
PHP library to parse and write RSS/Atom feeds
Stars: ✭ 439 (+1316.13%)
Mutual labels:  rss, atom
webfeed
A dart package for parsing RSS & Atom feed
Stars: ✭ 92 (+196.77%)
Mutual labels:  atom, rss
drop-feeds
Drop Feeds is a Sage / Sage++ like addon (webextension) for Firefox Quantum
Stars: ✭ 18 (-41.94%)
Mutual labels:  atom, rss
Feed
A RSS, Atom and JSON Feed generator for Node.js, making content syndication simple and intuitive! 🚀
Stars: ✭ 523 (+1587.1%)
Mutual labels:  rss, atom
Jekyll Feed
📝 A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts
Stars: ✭ 630 (+1932.26%)
Mutual labels:  rss, atom

feeds2imap.clj

License Dependencies Status Downloads Build Clojars Project Clojars Project clojure feeds reader

RSS/Atom reader implemented in Clojure. It stores new items in the mail folders using IMAP APPEND command (java.mail framework).

Configuration

By default configuration dir is $HOME/.config/feeds2imap.clj. You can change it setting environment variable $FEEDS2IMAP_HOME (something like FEEDS2IMAP_HOME=/home/me/.someotherdir lein ...).

The only file required to run the code is imap.clj. Take a look at imap.clj.example for details.

Feeds and folders can be added using the add command (see below), or you can write them directly in the urls.clj file (inside the configuration directory). The format of this file is as follows:

{:folder1 ["url1" "url2" ...]
 :folder2 [...]
 ...}

Usage

You can use lein plugin.

Or you can use lein run to run programm or you can generate jar with lein uberjar and run programm with java -jar <path-to-jar>.

  • LAUNCH-COMMAND - pull new items.
  • LAUNCH-COMMAND pull - pull new items.
  • LAUNCH-COMMAND auto - pull new items every 1 hour in the loop.
  • LAUNCH-COMMAND show - show feeds list (url.clj file content).
  • LAUNCH-COMMAND add folder-name feed-url - add url to feeds file to the folder folder-name.
  • LAUNCH-COMMAND imap encrypt - encrypt imap.clj file using gpg
  • LAUNCH-COMMAND imap decrypt - decrypt imap.clj file using gpg
  • LAUNCH-COMMAND opml2clj filename.xml [path/to/urls.clj] - convert OPML file to urls.clj format

where LAUNCH-COMMAND = lein run / lein trampoline run / java -jar jarfile.jar.

Sample systemd user service (~/.config/systemd/user)

[Unit]
Description=Clojure feeds reader

[Service]
ExecStart=lein feeds2imap auto

[Install]
WantedBy=default.target
systemctl --user enable feeds2imap.service
systemctl --user start feeds2imap.service

All service output will be collected by journald.

License

Copyright © 2013-2016 Max Gonzih gonzih @ gmail.com

Distributed under the MIT license.

Thanks

Thanks to Greg Hendershott for original idea implemented in Racket http://www.greghendershott.com/2013/05/feeds2gmail.html

Similar projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].