;; only sources containing media will be posted when set to true
;; optional boolean defaults to false
:media-only? true
;; only sources containing media will be posted when set to true
;; optional visibility flag: direct, private, unlisted, public
:media-only? true
;; defaults to public
;; optional visibility flag: direct, private, unlisted, public
:visibility "unlisted"
;; defaults to public
;; optional limit for the post length
:visibility "unlisted"
:max-post-length 300
;; optional limit for the post length
;; optional flag specifying wether the name of the account
:max-post-length 300
;; will be appended in the post, defaults to false
;; optional flag specifying wether the name of the account
:append-screen-name? false
;; will be appended in the post, defaults to false
;; optional signature for posts
:append-screen-name? false
:signature "#newsbot"
;; optional signature for posts
;; optionally try to resolve URLs in posts to skip URL shorteners
:signature "#newsbot"
;; defaults to false
;; optionally try to resolve URLs in posts to skip URL shorteners
:resolve-urls? true
;; defaults to false
;; optional content filter regexes
:resolve-urls? true
;; any posts matching the regexes will be filtered out
;; optional content filter regexes
:content-filters [".*bannedsite.*"]
;; any posts matching the regexes will be filtered out
;; optional keyword filter regexes
:content-filters [".*bannedsite.*"]
;; any posts not matching the regexes will be filtered out
;; optional keyword filter regexes
:keyword-filters [".*clojure.*"]
;; any posts not matching the regexes will be filtered out
;; Replace Twitter links by Nitter
:keyword-filters [".*clojure.*"]
:nitter-urls? false}}
;; Replace Twitter links by Nitter
:nitter-urls? false}}
```
```
* the bot looks for `config.edn` at its relative path by default, an alternative location can be specified either using the `MASTODON_BOT_CONFIG` environment variable or passing the path to config as an argument
* the bot looks for `config.edn` at its relative path by default, an alternative location can be specified either using the `MASTODON_BOT_CONFIG` environment variable or passing the path to config as an argument