-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathgochan.example.json
124 lines (111 loc) · 3.5 KB
/
gochan.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"ListenIP": "127.0.0.1",
"Port": 8080,
"FirstPage": ["index.html","firstrun.html","1.html"],
"Username": "",
"UseFastCGI": false,
"DebugMode": false,
"DocumentRoot": "html",
"TemplateDir": "templates",
"LogDir": "log",
"DBtype": "mysql|postgres|sqlite3",
"_DBtype_info":"DBtype refers to the SQL server/library gochan will connect to",
"DBhost": "127.0.0.1:3306",
"_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)",
"DBname": "gochan",
"DBusername": "gochan",
"DBpassword": "",
"DBprefix": "gc_",
"_DBprefix_info": "The prefix automataically applied to tables when the database is being provisioned and queried",
"Lockdown": false,
"LockdownMessage": "This imageboard has temporarily disabled posting. We apologize for the inconvenience",
"Modboard": "staff",
"SiteName": "Gochan",
"SiteSlogan": "",
"SiteDomain": "127.0.0.1",
"WebRoot": "/",
"FingerprintVideoThumbnails": false,
"Styles": [
{ "Name": "Pipes", "Filename": "pipes.css" },
{ "Name": "BunkerChan", "Filename": "bunkerchan.css" },
{ "Name": "Burichan", "Filename": "burichan.css" },
{ "Name": "Clear", "Filename": "clear.css" },
{ "Name": "Dark", "Filename": "dark.css" },
{ "Name": "Photon", "Filename": "photon.css" },
{ "Name": "Yotsuba", "Filename": "yotsuba.css" },
{ "Name": "Yotsuba B", "Filename": "yotsubab.css" },
{ "Name": "Windows 9x", "Filename": "win9x.css"}
],
"DefaultStyle": "pipes.css",
"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"}
],
"Banners": [
{"Filename": "gochan_go-parody.png", "Width": 300, "Height": 100}
],
"AllowDuplicateImages": true,
"AllowVideoUploads": true,
"NewThreadDelay": 30,
"ReplyDelay": 7,
"MaxLineLength": 150,
"ReservedTrips": [
"thischangesto##this",
"andthischangesto##this"
],
"ThumbWidth": 200,
"ThumbHeight": 200,
"ThumbWidthReply": 125,
"ThumbHeightReply": 125,
"ThumbWidthCatalog": 50,
"ThumbHeightCatalog": 50,
"AllowOtherExtensions": {
".zip": "archivethumb.png",
".pdf": "pdfthumb.png",
".dat": "otherthumb.png"
},
"StripImageMetadata": "none",
"ExifToolPath": "",
"ThreadsPerPage": 15,
"RepliesOnBoardPage": 3,
"StickyRepliesOnBoardPage": 1,
"BanColors": [
"admin:#0000A0",
"somemod:blue"
],
"BanMessage": "USER WAS BANNED FOR THIS POST",
"EnableEmbeds": true,
"EnableNoFlag": true,
"EmbedWidth": 200,
"EmbedHeight": 164,
"ImagesOpenNewTab": true,
"NewTabOnOutlinks": true,
"MinifyHTML": true,
"MinifyJS": true,
"DateTimeFormat": "Mon, January 02, 2006 3:04 PM",
"_Captcha": {
"Type": "hcaptcha",
"OnlyNeededForThreads": true,
"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"
},
"GeoIPType": "mmdb",
"GeoIPOptions": {
"dbLocation": "/usr/share/geoip/GeoIP2.mmdb",
"isoCode": "en"
},
"EnableGeoIP": false,
"MaxRecentPosts": 12,
"RecentPostsWithNoFile": false,
"Verbosity": 0,
"EnableAppeals": true,
"MaxLogDays": 14,
"RandomSeed": "",
"_RandomSeed_info": "Set RandomSeed to a (preferrably large) string of letters and numbers"
}