Fair warning: This is all under development and not yet packaged up for easy deployment ## Cinera ### Install the dependencies 1. curl ### Download, and copy the parser into place 1. `git clone https://git.handmade.network/Annotation-Pushers/Annotation-System.git` 2. `cd Annotation-System/cinera` 3. `cp ../hmmlib2/hmmlib.h .` Note: For each parser update, remember to copy it into place. ### Build 1. `$SHELL cinera.c` ### Configure cinera -h This documents the configuration file format and default settings. ### Configure the server If you enforce a strict Content Security Policy and X-Frame-Options in your server configuration as recommended by [Security Headers](https://securityheaders.com/), you may enable _Cinera_ to function by making two small tweaks: add_header Content-Security-Policy "default-src … https://www.youtube.com https://s.ytimg.com"; add_header X-Frame-Options "ALLOW-FROM https://www.youtube.com"; Note: For more information about these and other security headers, see Scott Helme's articles [Content Security Policy - An Introduction](https://scotthelme.co.uk/content-security-policy-an-introduction/) and [Hardening your HTTP response headers](https://scotthelme.co.uk/hardening-your-http-response-headers/#x-frame-options). ### Run cinera -c /path/to/config.conf #### Templates *(Global) Search Template* - `` _to put inside your own ``_ - `` _the table of contents and search functionality_ *Player Template* - `` _to put inside your own ``_ - `` *Optional tags available for use in your Player Template* - `` - `` - `` *Other tags available for use in any template* - Asset tags: - `` General purpose tag that outputs the URL of the specified asset relative to the Asset Root URL (-R) - `` General purpose tag that outputs the URL of the specified asset relative to the Images Directory (-i) - `` Convenience tag that outputs a `` node for the specified asset relative to the CSS Directory (-c), for use inside your `` block - `` Convenience tag that outputs a `