mastorss/man/mastorss.1.adoc

2.4 KiB

mastorss(1) Manual Page

NAME

mastorss - Another RSS to Mastodon bot.

SYNOPSIS

mastorss [--help|--version] <profile>

OPTIONS

--help

Show help message.

--version

Show version, copyright and license.

PROTOCOL SUPPORT

Currently only HTTP and HTTPS are supported.

PROXY SERVERS

mastorss supports HTTP proxies set via the environment variable http_proxy. Accepted formats are: \http://[user[:password]@]host[:port]/ or [user[:password]@]host[:port]. No SOCKS proxy support yet, sorry.

Example: http_proxy="http://localhost:3128/" mastorss

FILES

  • Configuration file directory: ${XDG_CONFIG_HOME}/mastorss/

${XDG_CONFIG_HOME} is usually ~/.config.

ERROR CODES

Code Explanation

1

No profile specified.

2

Network error.

3

File error.

4

Mastodon error.

9

Unknown error.

DEBUGGING

Define the variable MASTORSS_DEBUG to enable debug output.

Example 1. Debug mastorss while using the profile “example”.
MASTORSS_DEBUG=1 mastorss example

SEE ALSO

curl(1), crontab(1), crontab(5)