rss2dayone

command module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 15 Imported by: 0

README

rss2dayone

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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