summaryrefslogtreecommitdiffstats
path: root/config.example.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml38
1 files changed, 38 insertions, 0 deletions
diff --git a/config.example.toml b/config.example.toml
new file mode 100644
index 0000000..ad30ab1
--- /dev/null
+++ b/config.example.toml
@@ -0,0 +1,38 @@
+# This file contains:
+#
+# ```
+# base = ""
+# client_id = ""
+# client_secret = ""
+# redirect = ""
+# token = ""
+# ```
+#
+mastodon_data = "./mastodon-data.toml"
+
+# Path to the repository to update
+repository_path = "/tmp/test-repo"
+
+# the name of the master branch
+master_branch_name = "master"
+
+# the name of the upstream remote
+origin_remote_name = "origin"
+
+# How many hours to go back
+hours_to_check = 24
+
+# ISO 639-1 code of the language the post is written in (required for mastodon)
+status_language = "en"
+
+# Template.
+# Available variables:
+# - commits
+# - merges
+# - nonmerges
+#
+status_template = ''
+ In the last 24 hours, there were {{commits}} on master of TEST REPO,
+ of which {{merges}} were merges and {{nonmerges}} were direct (and thus potentially breaking) commits to the master branch.
+''
+