2016-12-22 00:13:24 -08:00
{
2025-03-02 12:44:42 -08:00
"ListenAddress" : "127.0.0.1" ,
2016-12-22 00:13:24 -08:00
"Port" : 8080 ,
2020-05-27 20:50:49 +02:00
"FirstPage" : [ "index.html" , "firstrun.html" , "1.html" ] ,
2023-12-07 11:23:39 -08:00
"Username" : "" ,
2016-12-22 00:13:24 -08:00
"UseFastCGI" : false ,
2025-04-21 17:10:42 -07:00
"LogLevel" : "debug" ,
2016-12-22 00:13:24 -08:00
"DocumentRoot" : "html" ,
"TemplateDir" : "templates" ,
"LogDir" : "log" ,
2023-12-05 11:57:52 -08:00
"DBtype" : "mysql|postgres|sqlite3" ,
"_DBtype_info" : "DBtype refers to the SQL server/library gochan will connect to" ,
2020-07-08 21:15:02 +02:00
"DBhost" : "127.0.0.1:3306" ,
2023-12-05 11:57:52 -08:00
"_DBhost_info" : "The domain:port or UNIX socket of the form 'unix(/path/to/socket)' of the MySQL/MariaDB or Postgres server, or the path to a SQLite3 database file, (DB file will be created if it doesn't exist)" ,
2016-12-22 00:13:24 -08:00
"DBname" : "gochan" ,
"DBusername" : "gochan" ,
"DBpassword" : "" ,
2018-08-23 17:37:00 -07:00
"DBprefix" : "gc_" ,
2023-12-05 11:57:52 -08:00
"_DBprefix_info" : "The prefix automataically applied to tables when the database is being provisioned and queried" ,
2016-12-22 00:13:24 -08:00
2025-02-10 21:41:21 -08:00
"CheckRequestReferer" : true ,
2016-12-22 00:13:24 -08:00
"Lockdown" : false ,
"LockdownMessage" : "This imageboard has temporarily disabled posting. We apologize for the inconvenience" ,
"Modboard" : "staff" ,
"SiteName" : "Gochan" ,
"SiteSlogan" : "" ,
2025-03-02 12:44:42 -08:00
"SiteHost" : "127.0.0.1" ,
2021-07-11 11:51:29 -07:00
"WebRoot" : "/" ,
2024-03-05 22:09:14 -08:00
"FingerprintVideoThumbnails" : false ,
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" ,
2025-03-16 17:58:16 -07:00
"_IncludeGlobalStyles" : [ "http://example.com/use.css" ] ,
"_IncludeScripts" : [
{ "Location" : "http://example.com/load.js" } ,
{ "Location" : "http://example.com/loadDefer.js" , "Defer" : true }
] ,
2016-12-22 00:13:24 -08:00
2024-01-21 16:02:53 -08:00
"CustomFlags" : [
{ "Flag" : "california.png" , "Name" : "California" } ,
{ "Flag" : "cia.png" , "Name" : "CIA" } ,
{ "Flag" : "lgbtq.png" , "Name" : "LGBTQ" } ,
{ "Flag" : "ms-dos.png" , "Name" : "MS-DOS" } ,
{ "Flag" : "stallman.png" , "Name" : "Stallman" } ,
{ "Flag" : "templeos.png" , "Name" : "TempleOS" } ,
{ "Flag" : "tux.png" , "Name" : "Linux" } ,
{ "Flag" : "windows9x.png" , "Name" : "Windows 9x" }
] ,
2023-04-10 15:25:57 -07:00
"Banners" : [
{ "Filename" : "gochan_go-parody.png" , "Width" : 300 , "Height" : 100 }
] ,
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 ,
2025-04-18 14:06:50 -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
2023-06-02 12:52:18 -07:00
"AllowOtherExtensions" : {
".zip" : "archivethumb.png" ,
".pdf" : "pdfthumb.png" ,
".dat" : "otherthumb.png"
} ,
2023-04-28 15:07:53 -07:00
"StripImageMetadata" : "none" ,
"ExifToolPath" : "" ,
2018-08-09 00:04:45 -07:00
"ThreadsPerPage" : 15 ,
2016-12-22 00:13:24 -08:00
"RepliesOnBoardPage" : 3 ,
"StickyRepliesOnBoardPage" : 1 ,
2025-04-18 14:06:50 -07:00
"BanColors" : {
"admin" : "#0000A0" ,
"somemod" : "blue"
} ,
2021-08-01 22:44:53 -07:00
"BanMessage" : "USER WAS BANNED FOR THIS POST" ,
2025-01-19 22:40:13 -08:00
"EnableCyclicThreads" : true ,
"CyclicThreadNumPosts" : 500 ,
2024-03-05 22:09:14 -08:00
"EnableNoFlag" : true ,
2016-12-22 00:13:24 -08:00
"EmbedWidth" : 200 ,
2025-03-15 23:52:13 -07:00
"EmbedHeight" : 200 ,
"EmbedMatchers" : {
"youtube" : {
"URLRegex" : "^https?://(?:(?:(?:www\\.)?youtube\\.com/watch\\?v=)|(?:youtu\\.be/))([^&]+)" ,
2025-03-16 13:16:29 -07:00
"EmbedTemplate" : "<iframe class=\"embed\" width={{.ThumbWidth}} height={{.ThumbHeight}} src=\"https://www.youtube-nocookie.com/embed/{{.MediaID}}\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>" ,
"ThumbnailURLTemplate" : "https://img.youtube.com/vi/{{.MediaID}}/0.jpg" ,
"MediaURLTemplate" : "https://www.youtube.com/watch?v={{.MediaID}}"
2025-03-15 23:52:13 -07:00
} ,
"vimeo" : {
"URLRegex" : "^https?://(?:\\w+\\.)?vimeo\\.com/(\\d{2,10})" ,
2025-03-16 13:16:29 -07:00
"EmbedTemplate" : "<iframe src=\"https://player.vimeo.com/video/{{.MediaID}}\" class=\"embed\" width={{.ThumbWidth}} height={{.ThumbHeight}} allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>" ,
"ThumbnailURLTemplate" : "https://vumbnail.com/{{.MediaID}}.jpg" ,
"MediaURLTemplate" : "https://vimeo.com/{{.MediaID}}"
2025-03-15 23:52:13 -07:00
} ,
"rawvideo" : {
"URLRegex" : "^https?://\\S+\\.\\S+/\\S+/(\\S+\\.(?:mp4|webm))$" ,
2025-03-16 13:58:22 -07:00
"EmbedTemplate" : "<video class=\"embed embed-{{.HandlerID}}\" src=\"{{.MediaID}}\" style=\"max-width:{{.ThumbWidth}}px; max-height:{{.ThumbHeight}}px\"></video>" ,
2025-03-16 13:16:29 -07:00
"MediaIDSubmatchIndex" : 0 ,
"MediaURLTemplate" : "{{.MediaID}}"
2025-03-15 23:52:13 -07:00
}
} ,
2016-12-22 00:13:24 -08:00
"ImagesOpenNewTab" : true ,
"NewTabOnOutlinks" : true ,
2025-02-09 17:38:15 -08:00
"DisableBBcode" : false ,
"AllowDiceRerolls" : false ,
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" ,
2022-12-20 13:18:29 -08:00
"_Captcha" : {
"Type" : "hcaptcha" ,
2022-12-20 14:29:27 -08:00
"OnlyNeededForThreads" : true ,
2022-12-20 13:18:29 -08:00
"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"
} ,
2025-02-09 17:38:15 -08:00
"_GeoIPType" : "mmdb" ,
"_GeoIPOptions" : {
2024-01-17 07:48:32 -08:00
"dbLocation" : "/usr/share/geoip/GeoIP2.mmdb" ,
"isoCode" : "en"
} ,
2023-12-06 14:54:51 -08:00
"EnableGeoIP" : false ,
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 ,
2023-12-05 11:57:52 -08:00
"RandomSeed" : "" ,
"_RandomSeed_info" : "Set RandomSeed to a (preferrably large) string of letters and numbers"
2016-12-22 00:13:24 -08:00
}