= mastorss
:toc: preamble

:project: mastorss
:uri-base: https://schlomp.space/tastytea/{project}
:uri-branch-main: {uri-base}/src/branch/main
:uri-gcc: https://gcc.gnu.org/
:uri-cmake: https://cmake.org/
:uri-asciidoc: http://asciidoc.org/
:uri-catch: https://github.com/catchorg/Catch2
:uri-boost: https://www.boost.org/
:uri-mastodonpp: https://schlomp.space/tastytea/mastodonpp
:uri-jsoncpp: https://github.com/open-source-parsers/jsoncpp
:uri-libcurl: https://curl.haxx.se/libcurl/

*mastorss* reads RSS feeds and posts the items via the Mastodon API. Does not
support Atom at the moment.

== Install

=== Gentoo

[source,shell]
--------------------------------------------------------------------------------
eselect repository enable tastytea
echo 'net-misc/mastorss' >> /etc/portage/package.accept_keywords/mastorss
emaint sync -r tastytea
emerge -a net-misc/mastorss
--------------------------------------------------------------------------------

=== Arch

The git-version is available via the AUR:
<https://aur.archlinux.org/packages/mastorss-git/>.

=== From source

==== Dependencies

* Tested OS: Linux
* C++ compiler (tested: link:{uri-gcc}[gcc] 7/8/9)
* link:{uri-cmake}[cmake] (at least: 3.9)
* link:{uri-boost}[boost] (at least: 1.62)
* link:{uri-mastodonpp}[mastodonpp] (at least: 0.5.6)
* link:{uri-jsoncpp}[jsoncpp] (at least: 1.7)
* link:{uri-libcurl}[libcurl] (at least: 7.52)

==== Get sourcecode

===== Release

Download the current release at link:{uri-base}/releases[schlomp.space].

===== Development version

[source,shell]
--------------------------------------------------------------------------------
git clone https://schlomp.space/tastytea/mastorss.git
--------------------------------------------------------------------------------

==== Compile

[source,shell]
--------------------------------------------------------------------------------
mkdir build
cd build/
cmake ..
cmake --build .
--------------------------------------------------------------------------------

Install with `make install`.

== Usage

See link:{uri-branch-main}/man/mastorss.1.adoc[manpage].

include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
