1
1
Fork 0

Updated architecture to reflect implementation strategy for the frontends.

This commit is contained in:
Wael Karram 2022-03-28 11:58:26 +03:00
parent 5f0e6521ed
commit 8eeb3e87ff
Signed by: wael
GPG Key ID: 3B356038CCB10808
1 changed files with 7 additions and 0 deletions

7
arch
View File

@ -19,3 +19,10 @@ Front-ends shall query the backend for the relevant board and thread structs and
Front-ends that support posting shall also pass the data along to the back-end:
If there is a new thread, then a thread struct gets passed.
If there is a new post in a thread, then a post struct gets passed.
Front-ends shall be implemented as the implementers see fit, but the official implementations will use the following scheme:
Each front-end shall have a top-level directory thereof where all the generated output is contained (configurable in main daemon config file).
Each such top-level directory shall have board directories contained within (with names corresponding to the boards).
Each such board directory shall have active thread files, each of which is named after the OP ID.
Each such thread file will be made up of several lines, where each line is a post, in sequential order.
Note that file generation thresholds (interval/number of posts) will be configurable through the main daemon config file.