Update 'README.md'

This commit is contained in:
sose 2019-10-18 00:48:14 -04:00
parent 18b3290b23
commit 5a14ebf25f
1 changed files with 2 additions and 11 deletions

View File

@ -40,17 +40,8 @@ currently there is:
- **how backends work**
- **listening**
- a backend is a shell script with a `listen` function
- this function is expected to continuously output post data it receives like so:
New post
board:<board name>
parent:<parent of post>
user:<user>
title:<title>
content:<content>
image_name:<name of image>
image content:<base64 encoded image>
End new post
- as long as the backend has a listen function that outputs data to stdout like this,
- this function is expected to continuously output post data it receives
- as long as the backend has a listen function that continuously outputs data to stdout in the proper format,
shi doesn't care where it comes from.
- **db**
- a db backend is simply a shell script providing the following functions: