# clog An attempt to reimplement flog, using the [kore.io](https://kore.io) framework. ## Running ```sh make fetch-dependencies docker compose up ``` ## Notes To run locally modify `conf/clog.conf`, comment out `root /var/chroot/` and uncomment the `skip chroot` section: ```conf privsep worker { runas clog # root /var/chroot/ skip chroot } ``` Maybe disable `seccomp_tracing` in `conf/clog.conf` if running into problems: ```conf seccomp_tracing no # seccomp_tracing yes ``` ## Bootstrapping the database Use `psql` and load `db/db.sql` for models, `db/data.sql` for some example data. ## TODO 1. Have `tests.py` load and drop database. 1. ~Only do HTTP stuff at the edge.~ 1. `PUT`/`PATCH`? posts. 1. pagination 1. HTML form for edits 1. Make h1 first class markdown citizen, (remove title) 1. Remove JSON API? 1. use sha256 hash to check kore blob ## C? * https://chromium.googlesource.com/chromium/src/+/master/docs/security/rule-of-2.md * https://verdagon.dev/blog/when-to-use-memory-safe-part-1