Add TOML example
This commit is contained in:
parent
e4e256bd97
commit
11517a7bea
@ -2,3 +2,39 @@ import os, toml
|
||||
from dotenv import load_dotenv
|
||||
|
||||
config = toml.load("conf.toml")
|
||||
|
||||
"""
|
||||
TOML FILE EXAMPLE:
|
||||
|
||||
[image]
|
||||
formats = ['jpg','png'] ## Not currently checked for
|
||||
|
||||
[flickr]
|
||||
enable = true
|
||||
app_api = ''
|
||||
app_secret = ''
|
||||
watermark = false
|
||||
add_to_description = "\nCheckout my Pixelfed: https://pixelfed.scot/fbface"
|
||||
|
||||
[pixelfed] #MASTODON_1 (If boost_mastodon is enabled below, this is what will be boosted)
|
||||
enable = true
|
||||
server = 'https://pixelfed.scot'
|
||||
token = ''
|
||||
watermark = false
|
||||
add_to_description = ''
|
||||
|
||||
[facebook]
|
||||
enable = false
|
||||
api_key = ''
|
||||
watermark = true
|
||||
add_to_desription = '\nCheckout my Pixelfed: https://pixelfed.scot/fbface'
|
||||
|
||||
[watermark]
|
||||
text = "" #TEXT
|
||||
|
||||
[boost_mastodon] #Share image posted to Pixelfed to Mastodon
|
||||
enable = true
|
||||
server = 'https://mastodon.online'
|
||||
token = ''
|
||||
add_to_description = ''
|
||||
"""
|
Loading…
Reference in New Issue
Block a user