From 9106d6e22c823a7d8bf7093144bb90fc9a382ba4 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Wed, 2 Dec 2020 18:56:25 -0500 Subject: [PATCH] adding json configuration template --- poll/config.jsonc | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 poll/config.jsonc diff --git a/poll/config.jsonc b/poll/config.jsonc new file mode 100644 index 0000000..458c387 --- /dev/null +++ b/poll/config.jsonc @@ -0,0 +1,83 @@ +/* + * This is a jsonc file, NOT a json file. + * If you are using vim, I recommend this add-on: + * https://github.com/neoclide/jsonc.vim + */ +{ + /* + * Automatically start following the following instances's public timeline + * If an external account with the same endpoint exists, the autostart + * will use the authenticated to follow + */ + "autostart": [ + "mastodon.social", + "pleroma.site" + ], + + // Should pollers automatically crawl + "crawl": true, + + // Ignore the following instances + "banned": [ + "switter.at", + "xxxtumblr.org" + ], + + // Consider all posts from these instances to be bots + "alwaysbot": [ + "mstdn.foxfam.club", + "botsin.space", + "newsbots.eu" + ], + + // Connect through the following proxies + "proxies": [ + { + "host": "127.0.0.1", + "port": 1080, + "username": "", + "password": "" + } + ], + + // External accounts to follow blindspots + "externalaccounts": [ + { + "username": "", + "password": "", + "endpoint": "", + "followlimit": 0 + } + ], + + /* + * Mass follower configurations + * All mass followers specified here will have their + * keys generated in the poll/keys directory + */ + "massfollowers": [ + { + "acct": "fedilogue@fedilogue.social", + "name": "Fedilogue Mass Follower", + "summary": "Profile description here", + "followingCount": 200, + "followlimit": -1 + }, + { + "acct": "fedilogue@fedilogue.com", + "name": "Fedilogue Mass Follower", + "summary": "Profile description here", + "followingCount": 200, + "followlimit": -1 + } + ], + + // Requires a postgres database + "database": { + "host": "127.0.0.1", + "port": 5432, + "username": "fedilogue", + "password": "", + "workers": 4 + } +}