Reads an RSS (or Atom) feed. Adds every post to your Day One journal.
Based on a python version that got a little unwieldy.
Installation
$ go install github.com/benjamineskola/rss2dayone
Requires Go, because I haven't tried building binaries to distribute.
Requires the Day One app to be installed, and the command-line tool dayone2
to be in your path. This means it requires macOS, probably, because that's the only platform Day One will run on that you could also run a Go program on.
Usage
rss2dayone
Configuration
The configuration file lives in $XDG_CONFIG_HOME/rss2dayone.toml
, which is by default $HOME/.config/rss2dayone.toml
. The format is as follows:
[[feed]]
url = "http://example.com/feed.xml"
journal = "Journal"
tags = ["example"]
[[feed]]
url = "https://anotherexample.net/news.rss"
journal = "Another Journal"
# tags are optional
Features in progress/done
- Attachment support
- Concurrency (though it may be that Day One's database is the bottleneck anyway)
- Special cases for particular feeds:
- Letterboxd
- Mastodon
- an extensible manner rather than hardcoding every feed