f0ckv2/config_example.json
schrumpel 8e9de0252e
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 17s
example config
2023-11-29 05:48:50 +01:00

77 lines
1.6 KiB
JSON

{
"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" ],
"nsfp": [],
"websrv": {
"port": "8080",
"paths": {
"images": "/b",
"thumbnails": "/t",
"coverarts": "/ca"
},
"themes": [ "f0ck", "p1nk", "orange", "atmos", "amoled", "paper", "term", "iced", "f0ck95", "f0ck95d" ],
"eps": 300,
"cache": false,
"phrases": [
"<img src=\"/s/img/crap/nyancat.gif\" style=\"margin-top: 5px\" />"
]
},
"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"
]
}],
"sql": {
"host": "localhost",
"user": "f0ck",
"password": "f0ck",
"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",
"audio/opus": "opus",
"audio/flac": "flac",
"audio/x-flac": "flac",
"video/x-m4v": "mp4",
"video/x-matroska": "mkv"
}
}