Update 'README.md'
This commit is contained in:
parent
dc9cb2642b
commit
18b3290b23
28
README.md
28
README.md
|
@ -41,25 +41,15 @@ currently there is:
|
|||
- **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
|
||||
```
|
||||
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,
|
||||
shi doesn't care where it comes from.
|
||||
- **db**
|
||||
|
|
Loading…
Reference in New Issue