2016-12-22 00:13:24 -08:00
|
|
|
{
|
|
|
|
"ListenIP": "127.0.0.1",
|
|
|
|
"Port": 8080,
|
2020-05-27 20:50:49 +02:00
|
|
|
"FirstPage": ["index.html","firstrun.html","1.html"],
|
2016-12-22 00:13:24 -08:00
|
|
|
"Username": "gochan",
|
|
|
|
"UseFastCGI": false,
|
2020-04-02 00:44:54 +02:00
|
|
|
"DebugMode": false,
|
2016-12-22 00:13:24 -08:00
|
|
|
|
|
|
|
"DocumentRoot": "html",
|
|
|
|
"TemplateDir": "templates",
|
|
|
|
"LogDir": "log",
|
|
|
|
|
2020-07-08 21:15:02 +02:00
|
|
|
"DBtype": "mysql/postgres",
|
|
|
|
"DBhost": "127.0.0.1:3306",
|
2016-12-22 00:13:24 -08:00
|
|
|
"_comment": "gochan can use either a URL or a UNIX socket for MySQL connections",
|
2019-06-17 14:37:35 -07:00
|
|
|
"DBhost_alt": "unix(/var/run/mysqld/mysqld.sock)",
|
2016-12-22 00:13:24 -08:00
|
|
|
"DBname": "gochan",
|
|
|
|
"DBusername": "gochan",
|
|
|
|
"DBpassword": "",
|
2018-08-23 17:37:00 -07:00
|
|
|
"DBprefix": "gc_",
|
2016-12-22 00:13:24 -08:00
|
|
|
|
|
|
|
"Lockdown": false,
|
|
|
|
"LockdownMessage": "This imageboard has temporarily disabled posting. We apologize for the inconvenience",
|
2021-03-26 11:10:05 -07:00
|
|
|
"Sillytags": ["Admin","Mod","Janitor","Dweeb","Kick me","Troll","worst pony"],
|
2016-12-22 00:13:24 -08:00
|
|
|
"UseSillytags": false,
|
|
|
|
"Modboard": "staff",
|
|
|
|
|
|
|
|
"SiteName": "Gochan",
|
|
|
|
"SiteSlogan": "",
|
|
|
|
"SiteDomain": "127.0.0.1",
|
|
|
|
"SiteHeaderURL": "",
|
2021-07-11 11:51:29 -07:00
|
|
|
"WebRoot": "/",
|
2016-12-22 00:13:24 -08:00
|
|
|
|
2018-12-01 12:13:33 -08:00
|
|
|
"Styles": [
|
|
|
|
{ "Name": "Pipes", "Filename": "pipes.css" },
|
2021-03-23 00:05:51 -07:00
|
|
|
{ "Name": "BunkerChan", "Filename": "bunkerchan.css" },
|
2019-02-16 19:18:00 -08:00
|
|
|
{ "Name": "Burichan", "Filename": "burichan.css" },
|
2021-03-24 11:26:58 -07:00
|
|
|
{ "Name": "Clear", "Filename": "clear.css" },
|
|
|
|
{ "Name": "Dark", "Filename": "dark.css" },
|
2021-03-22 09:54:08 -07:00
|
|
|
{ "Name": "Photon", "Filename": "photon.css" },
|
2021-03-23 00:05:51 -07:00
|
|
|
{ "Name": "Yotsuba", "Filename": "yotsuba.css" },
|
2022-01-16 21:13:56 -08:00
|
|
|
{ "Name": "Yotsuba B", "Filename": "yotsubab.css" },
|
|
|
|
{ "Name": "Windows 9x", "Filename": "win9x.css"}
|
2018-12-01 12:13:33 -08:00
|
|
|
],
|
|
|
|
"DefaultStyle": "pipes.css",
|
2016-12-22 00:13:24 -08:00
|
|
|
|
|
|
|
"AllowDuplicateImages": true,
|
2018-02-03 10:21:45 -08:00
|
|
|
"AllowVideoUploads": true,
|
2016-12-22 00:13:24 -08:00
|
|
|
"NewThreadDelay": 30,
|
|
|
|
"ReplyDelay": 7,
|
|
|
|
"MaxLineLength": 150,
|
2018-08-09 00:04:45 -07:00
|
|
|
"ReservedTrips": [
|
|
|
|
"thischangesto##this",
|
|
|
|
"andthischangesto##this"
|
2016-12-22 00:13:24 -08:00
|
|
|
],
|
|
|
|
|
|
|
|
"ThumbWidth": 200,
|
|
|
|
"ThumbHeight": 200,
|
2021-07-11 18:12:02 -07:00
|
|
|
"ThumbWidthReply": 125,
|
|
|
|
"ThumbHeightReply": 125,
|
|
|
|
"ThumbWidthCatalog": 50,
|
|
|
|
"ThumbHeightCatalog": 50,
|
2016-12-22 00:13:24 -08:00
|
|
|
|
2018-08-09 00:04:45 -07:00
|
|
|
"ThreadsPerPage": 15,
|
|
|
|
"PostsPerThreadPage": 50,
|
2016-12-22 00:13:24 -08:00
|
|
|
"RepliesOnBoardPage": 3,
|
|
|
|
"StickyRepliesOnBoardPage": 1,
|
|
|
|
"BanColors": [
|
2018-08-09 00:04:45 -07:00
|
|
|
"admin:#0000A0",
|
|
|
|
"somemod:blue"
|
2016-12-22 00:13:24 -08:00
|
|
|
],
|
2021-08-01 22:44:53 -07:00
|
|
|
"BanMessage": "USER WAS BANNED FOR THIS POST",
|
|
|
|
"EnableEmbeds": true,
|
2016-12-22 00:13:24 -08:00
|
|
|
"EmbedWidth": 200,
|
|
|
|
"EmbedHeight": 164,
|
|
|
|
"ImagesOpenNewTab": true,
|
|
|
|
"NewTabOnOutlinks": true,
|
2017-08-19 19:10:03 -07:00
|
|
|
|
2019-12-11 20:33:02 -08:00
|
|
|
"MinifyHTML": true,
|
|
|
|
"MinifyJS": true,
|
|
|
|
|
2022-06-28 14:59:12 -07:00
|
|
|
"DateTimeFormat": "Mon, January 02, 2006 3:04 PM",
|
2016-12-22 00:13:24 -08:00
|
|
|
"AkismetAPIKey": "",
|
2022-12-20 13:18:29 -08:00
|
|
|
"_Captcha": {
|
|
|
|
"Type": "hcaptcha",
|
|
|
|
"SiteKey": "your site key goes here (if you want a captcha, make sure to replace '_Captcha' with 'Captcha'",
|
|
|
|
"AccountSecret": "your account secret key goes here"
|
|
|
|
},
|
2016-12-22 00:13:24 -08:00
|
|
|
"EnableGeoIP": true,
|
|
|
|
"_comment": "set GeoIPDBlocation to cf to use Cloudflare's GeoIP",
|
2022-06-28 14:59:12 -07:00
|
|
|
"GeoIPDBlocation": "/usr/share/GeoIP/GeoIP.dat",
|
2022-12-17 11:05:48 -08:00
|
|
|
"MaxRecentPosts": 12,
|
2019-02-16 19:18:00 -08:00
|
|
|
"RecentPostsWithNoFile": false,
|
2018-06-20 17:46:00 -07:00
|
|
|
"Verbosity": 0,
|
2016-12-22 00:13:24 -08:00
|
|
|
"EnableAppeals": true,
|
2018-08-09 00:04:45 -07:00
|
|
|
"MaxLogDays": 14,
|
2016-12-22 00:13:24 -08:00
|
|
|
"_comment": "Set RandomSeed to a (preferrably large) string of letters and numbers",
|
|
|
|
"RandomSeed": ""
|
|
|
|
}
|