;; only sources containing media will be posted when set to true
:sensitive? true
:media-only? true
;; optional boolean defaults to false
;; optional visibility flag: direct, private, unlisted, public
;; only sources containing media will be posted when set to true
;; defaults to public
:media-only? true
:visibility "unlisted"
;; optional visibility flag: direct, private, unlisted, public
;; optional limit for the post length
;; defaults to public
:max-post-length 300
:visibility "unlisted"
;; optional flag specifying wether the name of the account
;; optional limit for the post length
;; will be appended in the post, defaults to false
:max-post-length 300
:append-screen-name? false
;; optional flag specifying wether the name of the account
;; optional signature for posts
;; will be appended in the post, defaults to false
:signature "#newsbot"
:append-screen-name? false
;; optionally try to resolve URLs in posts to skip URL shorteners
;; optional signature for posts
;; defaults to false
:signature "#newsbot"
:resolve-urls? true
;; optionally try to resolve URLs in posts to skip URL shorteners
;; optional content filter regexes
;; defaults to false
;; any posts matching the regexes will be filtered out
:resolve-urls? true
:content-filters [".*bannedsite.*"]
;; optional content filter regexes
;; optional keyword filter regexes
;; any posts matching the regexes will be filtered out
;; any posts not matching the regexes will be filtered out
:content-filters [".*bannedsite.*"]
:keyword-filters [".*clojure.*"]
;; optional keyword filter regexes
;; Replace Twitter links by Nitter
;; any posts not matching the regexes will be filtered out
:nitter-urls? false}}
:keyword-filters [".*clojure.*"]
;; 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