From 12b0f81eb84385e61a78ee8a02958d7a577c268b Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:37:56 -0600 Subject: [PATCH] Add README.md --- README.md | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..35e5a2f --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +# sfeed_mastodon + +Mirror Atom/RSS feeds to Mastodon (& friends) simply and UNIX-ly. + +sfeed_mastodon takes output from the lovely feed-aggregator [sfeed](https://codemadness.org/sfeed-simple-feed-parser.html) and posts it to the fediverse. + + + +## Installation +First, make sure to install [sfeed](https://codemadness.org/sfeed-simple-feed-parser.html). +If Guix is your package manager: +`$ guix install sfeed` + +Now, put ./sfeed_mastodon into your $PATH, somewhere. Something like /usr/local/bin, or ~/.local/bin. +`$ cp sfeed_mastodon ~/.local/bin/` + +You’ve done it! + + + +## Configuration +### sfeed +We need to create a config file and feed directory for sfeed — they can be anywhere, your choice. +``` +$ mkdir ~/.config/sfeed/ +$ cat > ~/.config/sfeed/config <{{title}}
+{{url}}
+
+
{{desc_short}}
+``` + +Short and sweet, right? + +Here are the variables you can use: +* `title` +* `url` +* `desc` +* `desc_short` + + + +## Misc. +Author: ([@jadedctrl:jam.xwx.moe](https://jam.xwx.moe/users/jadedctrl)) +Source: https://notabug.org/jadedctrl/sfeed_mastodon +License: GPLv3