Anonymous imageboard with backend in Rust and frontend in Vue.
You should have cargo
(Rust
), npm
and Python 3
*1 installed.
First of all we need to build frontend:
cd ./front/vue_x/
: open frontend foldernpm install
: install dependenciesnpm run build
: build frontend
Then build backend:
cd ../../
: return to repo root foldercd ./back/server/
: open backend foldercargo run -r
: build and run backend
If you need you can also auto create some threads and posts:
cd ./test/REST/
: open backend REST test folder- for example
python ./create_a.py
: create a thread on/a/
board and make some posts there (no pics)
Backend config can be changed here.
*1: Python 3
only used on frontend building and it's need only to save users' posted pics between rebuilding frontend. So if you don't need to save it then just remove in frontend config file "prebuild"
and "postbuild"
script commands. And after it there will be no Python 3
dependencies.
You can do it on /~~page~~/~~ctrl~~/
-pages. Currently for any action you should use single action pwd(sends hash of it) from file back\server\saves\aux\single_pwds.txt
(path by default). Currently here you can save imageboard state, load its state, add board, del post, del thread, and shutdown.
Currently there is only one run arg for save loading on start
--load <save_name>
--load <save_name> --load--single-file
if imageboard state saved in single-file format
You can run imageboard with a presave where are few already boards added by:
cargo run -r -- --load STD_SAVE_A --load-single-file
And preview.mp4: server side delays are emulated here (run in dev mode)
- Text preprocessors : doc about
[D10]
,>>
and so on