init f0ckm
This commit is contained in:
167
config_example.json
Normal file
167
config_example.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"main": {
|
||||
"url": {
|
||||
"full": "https://example.com",
|
||||
"domain": "example.com",
|
||||
"regex": "example\\.com"
|
||||
},
|
||||
"socks": "socks5://127.0.0.1:9050",
|
||||
"mail": "admin@example.com",
|
||||
"discord": "",
|
||||
"maxfilesize": 104857600,
|
||||
"adminmultiplier": 3.5,
|
||||
"upload_limit": 300,
|
||||
"ignored": [
|
||||
"example.net",
|
||||
"example.org"
|
||||
],
|
||||
"invite_secret": "YOUR_SECRET_HERE",
|
||||
"hide_comments_from_public": false,
|
||||
"development": true
|
||||
},
|
||||
"allowedModes": [ "sfw", "nsfw", "untagged", "all", "nsfl" ],
|
||||
"enable_nsfl": true,
|
||||
"nsfl_tag_id": 1234,
|
||||
"allowedMimes": [ "audio", "image", "video" ],
|
||||
"nsfp": [
|
||||
1, 2, 3
|
||||
],
|
||||
"websrv": {
|
||||
"port": "1337",
|
||||
"language": "en",
|
||||
"allow_language_change": true,
|
||||
"cache": false,
|
||||
"eps": 100,
|
||||
"background": true,
|
||||
|
||||
"description": "Example Description",
|
||||
"themes": [ "amoled" ],
|
||||
"theme": "amoled",
|
||||
"default_layout": "legacy",
|
||||
"custom_favicon": "/s/img/favicon.gif",
|
||||
"custom_brand_image": [],
|
||||
"show_koepfe": false,
|
||||
"koepfe": [],
|
||||
|
||||
"enable_global_chat": true,
|
||||
"enable_danmaku": true,
|
||||
"private_messages": true,
|
||||
"halls_enabled": true,
|
||||
"meme_creator": true,
|
||||
|
||||
"web_url_upload": true,
|
||||
"enable_youtube_upload": true,
|
||||
"web_meta_extraction": true,
|
||||
"bypass_duplicate_check": true,
|
||||
"protect_files": false,
|
||||
"allowed_comment_images": [
|
||||
"i.imgur.com",
|
||||
"tenor.com",
|
||||
"giphy.com"
|
||||
],
|
||||
"show_mime_picker": true,
|
||||
|
||||
"embed_youtube_in_comments": true,
|
||||
"show_content_warning": true,
|
||||
"phrases": [
|
||||
"Hello World"
|
||||
],
|
||||
"ban_video": "",
|
||||
"enable_xd_score": true,
|
||||
"enable_autoplay": false,
|
||||
"enable_swiping": true,
|
||||
"enable_profile_description": true,
|
||||
"use_ententeich": true,
|
||||
"enable_swf": true,
|
||||
"swf_thumb": "/s/img/swf.png",
|
||||
|
||||
"open_registration": true,
|
||||
"open_registration_web_toggle": false,
|
||||
"private_society": false,
|
||||
|
||||
"paths": {
|
||||
"images": "/b",
|
||||
"thumbnails": "/t",
|
||||
"coverarts": "/ca",
|
||||
"emojis": "/emojis",
|
||||
"memes": "/memes"
|
||||
}
|
||||
},
|
||||
"clients": [{
|
||||
"type": "tg",
|
||||
"enabled": false,
|
||||
"token": "",
|
||||
"pollrate": 1001
|
||||
},
|
||||
{
|
||||
"type": "matrix",
|
||||
"enabled": false,
|
||||
"baseUrl": "https://matrix.org",
|
||||
"token": "",
|
||||
"userId": "@user:matrix.org",
|
||||
"channels": [],
|
||||
"upload_channel_id": "",
|
||||
"notification_channel_id": ""
|
||||
},
|
||||
{
|
||||
"type": "irc",
|
||||
"enabled": false,
|
||||
"network": "example",
|
||||
"host": "irc.example.net",
|
||||
"port": 6697,
|
||||
"ssl": true,
|
||||
"selfSigned": true,
|
||||
"sasl": false,
|
||||
"nickname": "bot",
|
||||
"username": "bot",
|
||||
"password": "",
|
||||
"realname": "bot",
|
||||
"channels": [
|
||||
"#example"
|
||||
]
|
||||
}],
|
||||
"sql": {
|
||||
"host": "localhost",
|
||||
"port": 5432,
|
||||
"user": "db_user",
|
||||
"password": "db_password",
|
||||
"database": "db_name",
|
||||
"multipleStatements": true,
|
||||
"max": 50
|
||||
},
|
||||
"admins": [{}],
|
||||
"mimes": {
|
||||
"image/png": "png",
|
||||
"video/webm": "webm",
|
||||
"image/gif": "gif",
|
||||
"image/jpg": "jpg",
|
||||
"image/jpeg": "jpeg",
|
||||
"image/webp": "webp",
|
||||
"video/mp4": "mp4",
|
||||
"video/quicktime": "mp4",
|
||||
"audio/mpeg": "mpg",
|
||||
"audio/mp3": "mp3",
|
||||
"audio/ogg": "ogg",
|
||||
"audio/opus": "opus",
|
||||
"audio/flac": "flac",
|
||||
"audio/x-flac": "flac",
|
||||
"audio/mp4": "m4a",
|
||||
"audio/x-m4a": "m4a",
|
||||
"audio/aac": "m4a",
|
||||
"video/x-m4v": "mp4",
|
||||
"video/x-matroska": "mkv",
|
||||
"application/x-shockwave-flash": "swf",
|
||||
"application/vnd.adobe.flash.movie": "swf"
|
||||
},
|
||||
"apis": {},
|
||||
"smtp": {
|
||||
"enabled": false,
|
||||
"host": "smtp.example.com",
|
||||
"port": 465,
|
||||
"secure": true,
|
||||
"user": "smtp_user",
|
||||
"password": "smtp_password",
|
||||
"from": "admin@example.com",
|
||||
"mail_reset_password": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user