f0ckv2/config_example.json

77 lines
1.6 KiB
JSON
Raw Normal View History

2022-05-14 10:59:35 +00:00
{
"main": {
"url": {
"full": "https://f0ck.dev",
"domain": "f0ck.dev",
"regex": "f0ck\\.dev"
},
"maxfilesize": 83886080,
"adminmultiplier": 3.5,
"ignored": [
"f0ck.dev",
"f0ck.me"
]
},
"allowedModes": [ "sfw", "nsfw", "untagged", "all" ],
"allowedMimes": [ "audio", "image", "video" ],
2022-05-21 14:39:24 +00:00
"nsfp": [],
2022-05-14 10:59:35 +00:00
"websrv": {
"port": "8080",
"paths": {
"images": "/b",
"thumbnails": "/t",
"coverarts": "/ca"
},
"themes": [ "f0ck", "p1nk", "orange", "atmos", "amoled", "paper", "term", "iced" ],
"eps": 294,
"cache": false,
"phrases": [
"<img src=\"/s/img/crap/nyancat.gif\" style=\"margin-top: 5px\" />"
]
},
2023-04-30 11:53:34 +00:00
"clients": [{
"type": "irc",
"enabled": true,
"network": "n0xy",
"host": "irc.n0xy.net",
"port": 6697,
"ssl": true,
"selfSigned": false,
"sasl": false,
"nickname": "f0ckci",
"username": "f0ckci",
"realname": "f0ckci",
"channels": [
"#f0ck-dev"
]
}],
2022-05-14 10:59:35 +00:00
"sql": {
"host": "localhost",
"user": "f0ck",
2023-04-30 03:58:02 +00:00
"password": "f0ck",
2022-05-14 10:59:35 +00:00
"database": "f0ck",
"schema": "public",
"multipleStatements": true
},
"admins": [
],
"mimes": {
"image/png": "png",
"video/webm": "webm",
"image/gif": "gif",
"image/jpeg": "jpg",
"image/webp": "webp",
"video/mp4": "mp4",
"video/quicktime": "mp4",
"audio/mpeg": "mpg",
"audio/mp3": "mp3",
"audio/ogg": "ogg",
2023-05-01 13:50:33 +00:00
"audio/opus": "opus",
2022-05-14 10:59:35 +00:00
"audio/flac": "flac",
"audio/x-flac": "flac",
2023-05-01 13:50:33 +00:00
"video/x-m4v": "mp4",
"video/x-matroska": "mkv"
2022-05-14 10:59:35 +00:00
}
}