-
Notifications
You must be signed in to change notification settings - Fork 1
/
mastodon.yaml.dist
82 lines (81 loc) · 3.95 KB
/
mastodon.yaml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
###########################
# MastoFeed #
#-------------------------#
# Mastodon #
###########################
# Configuration regarding the connection with Mastodon API
mastodon:
# [Object] Mastodon account objects per name.
# The idea is that any Janitor module will refer to the name (key) of the object
# And then the related object will be loaded and used for publishing
named_accounts:
# [Object] The default Mastodon account object, basically used by all the application
default:
# [String] This will be the name of the bot
app_name: "MastoFeed"
# [String] Where to connecto to deliver the statuses
api_base_url: "https://mastodon.social"
# [String] Type of instance:
# "mastodon" for Mastodon
# "pleroma" for Pleroma / Akkoma
# "firefish" for Firefish / Calckey
instance_type: "mastodon"
# Credentials files to be generated
credentials:
# [String] Generated when creating the app. Contains Client ID and Client Secret
client_file: "client.secret"
# [String] Generated at first login. Contains the User Secret to be reused in further runs.
user_file: "user.secret"
# The User credentials. Used only during the first run.
# Should be Ok to delete the values once we have the "user.secret" generated
user:
# [String] email to be used to log in. For instance_type "firefish" it is ignored.
email: "[email protected]"
# [String] Password to be used to log in. For instance_type "firefish" it is the Bearer token.
password: "SuperSecureP4ss"
# Configuration regarding the Status Post itself
status_params:
# [Integer] Status max length
max_length: 500
# [String] Status Post content type: "text/plain" | "text/markdown" | "text/html" | "text/bbcode"
# Only vaild for Pleroma and Akkoma instances. Mastodon instances will ignore it
content_type: "text/markdown"
# [String] Status Post visibility: "direct" | "private" | "unlisted" | "public"
visibility: "public"
# [String] Username to mention for "direct" visibility
username_to_dm: "@admin"
# [Object] The Mastodon account object used for testing.
test:
# [String] This will be the name of the bot
app_name: "Test"
# [String] Where to connecto to deliver the statuses
api_base_url: "https://mastodon.social"
# [String] Type of instance:
# "mastodon" for Mastodon
# "pleroma" for Pleroma / Akkoma
# "firefish" for Firefish / Calckey
instance_type: "mastodon"
# Credentials files to be generated
credentials:
# [String] Generated when creating the app. Contains Client ID and Client Secret
client_file: "client-test.secret"
# [String] Generated at first login. Contains the User Secret to be reused in further runs.
user_file: "user-test.secret"
# The User credentials. Used only during the first run.
# Should be Ok to delete the values once we have the "user.secret" generated
user:
# [String] email to be used to log in. For instance_type "firefish" it is ignored.
email: "[email protected]"
# [String] Password to be used to log in. For instance_type "firefish" it is the Bearer token.
password: "SuperSecureP4ss"
# Configuration regarding the Status Post itself
status_post:
# [Integer] Status max length
max_length: 500
# [String] Status Post content type: "text/plain" | "text/markdown" | "text/html" | "text/bbcode"
# Only vaild for Pleroma and Akkoma instances. Mastodon instances will ignore it
content_type: "text/markdown"
# [String] Status Post visibility: "direct" | "private" | "unlisted" | "public"
visibility: "direct"
# [String] Username to mention for "direct" visibility
username_to_dm: "@admin"