About this website.
Consider a future device, a sort of mechanized private library in which an individual stores all his books, records, and communications, and which may be consulted with exceeding speed and flexibility. It is an enlarged intimate supplement to his memory.Vannevar Bush, As We May Think
nchrs.xyz is the personal website, project archive and knowledge database of Clemens Scott.
It functions as an external brain, a place where I collect and store information that I learned, experienced or find otherwise interesting. As such, it is a living document that grows and changes as I adapt it to my needs.
Nchrs consists of static HTML pages generated by a single-file C program. The codebase was forked from Oscean; the original author is Devine Lu Linvega. I chose to adopt Oscean because it allows me to focus on content rather than structure and is designed for offline usage.
The databases are in the human-readable plaintext formats Tablatal and Indental.
The sitemap can be found on the 404 page.
To build the website, a bash script called
build.sh needs to be executed. It compiles
main.c, runs the executable that outputs the content of
databases/glossary.ndtl to single HTML files and finally removes the executable again.
clang-format formats the code before compilation.
Nchrs supports responsive images and lazyloading to preserve bandwidth. The original images are stored in
src/media/ and are converted to appropriate sizes and dithered by the
batchVariants bash script using imagemagick.
GIFs are converted the MP4 using
ffmpeg within the
All of the above scripts are executed when the
deploy.sh is called. Additionally this script deploys the files to the webserver utilising rsync.
markdownNchrs supports a unique flavor of markdown format.
incoming(5) | about | camera | review 2021 | imagemagick | 404