6 .Nd A feature-light imageboard.
10 suite contains an imageboard server and programs to moderate it.
14 is governed by the configuration file
16 at compilation time. Any variables referred to are defined in this
21 uses file paths defined by the variables
25 These folders should be readable by the web-server and writable by
30 .It Va static_www_folder
33 expects will be the root folder of the web server.
37 will store the post databases and lock files.
39 .Sh LOCKING AND PARALLELISM
41 relies on the underlying database to provide locking. The server
42 is single-threaded. To provide scalability and coordination with
47 Assuming the site is at
52 .Va URL Ns / Ns Va board_name
55 .Va URL Ns / Ns Va board_name Ns /res/ Ns Va thread_number
58 .Va URL Ns / Ns Va board_name Ns /src/ Ns Va timestamp Ns . Ns Va extension
61 Posting can be accessed by POSTing multipart/form-data to the
65 .Dl % curl -X POST Va URL Ns /action \e\
66 .Dl \& \& \& \& \& \& \& -F action=reply \e\
67 .Dl \& \& \& \& \& \& \& -F board=m \e\
68 .Dl \& \& \& \& \& \& \& -F thread=123 \e\
69 .Dl \& \& \& \& \& \& \& -F 'name=John#trip' \e\
70 .Dl \& \& \& \& \& \& \& -F email=sage \e\
71 .Dl \& \& \& \& \& \& \& -F subject=Hello \e\
72 .Dl \& \& \& \& \& \& \& -F file=@/tmp/picture.jpg \e\
73 .Dl \& \& \& \& \& \& \& -F 'comment=I like this picture.' \e\
74 .Dl \& \& \& \& \& \& \& -F challengeid=1 \e\
75 .Dl \& \& \& \& \& \& \& -F challengeresponse=ball
77 Most parameters are straightforward.
84 .Po this necessitates a
92 this is only accepted from the local machine, and rebuilds all
99 must be a matching pair from the
105 Moderation is typically performed by editing the relevant databases,
106 then forcing a rebuild via
108 .Dl % curl -X POST Va URL Ns /action -F action=rebuild
113 is only accepted from a local IP address
115 or the associated convenience programs may be used:
119 .Xr rb79-view-thread 1
122 .An De Rais Aq Mt derais@cock.li