mastorss/man/mastorss.1.adoc

83 lines
1.9 KiB
Plaintext
Raw Normal View History

2019-12-16 15:23:06 +01:00
= mastorss(1)
:doctype: manpage
:Author: tastytea
:Email: tastytea@tastytea.de
:Date: 2019-12-20
2019-12-16 15:23:06 +01:00
:Revision: 0.0.0
:man source: mastorss
:man manual: General Commands Manual
== NAME
mastorss - Another RSS to Mastodon bot.
== SYNOPSIS
*mastorss* [--help|--version] <profile>
2019-12-16 15:23:06 +01:00
// == DESCRIPTION
== OPTIONS
*--help*::
Show help message.
*--version*::
Show version, copyright and license.
2019-12-16 15:23:06 +01:00
// == EXAMPLES
== PROTOCOL SUPPORT
Currently only HTTP and HTTPS are supported.
// == PROXY SERVERS
// Since mastorss is built on libcurl, it respects the same proxy environment
// variables. See *curl*(1), section _ENVIRONMENT_.
// .Tunnel connections through tor.
// ================================================================================
// [source,shell]
// --------------------------------------------------------------------------------
// ALL_PROXY="socks4a://[::1]:9050" mastorss example
// --------------------------------------------------------------------------------
// ================================================================================
== PROXY SERVERS
2019-12-16 15:23:06 +01:00
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.
2019-12-16 15:23:06 +01:00
Example: `http_proxy="http://localhost:3128/" mastorss`
2019-12-16 15:23:06 +01:00
== FILES
* *Configuration file directory*: `${XDG_CONFIG_HOME}/mastorss/`
`${XDG_CONFIG_HOME}` is usually `~/.config`.
== ERROR CODES
[cols=">,<"]
|===========================================================
| Code | Explanation
| 1 | No profile specified.
| 2 | Network error.
2019-12-24 18:53:00 +01:00
| 3 | File error.
| 4 | Mastodon error.
| 9 | Unknown error.
2019-12-16 15:23:06 +01:00
|===========================================================
== SEE ALSO
*curl*(1), *crontab*(1), *crontab*(5)
2019-12-16 15:23:06 +01:00
== REPORTING BUGS
Bugtracker: https://schlomp.space/tastytea/mastorss/issues
E-mail: tastytea@tastytea.de