Trifecta is a simple open source image sharing site built with modern C++, JavaScript, and web technologies. It uses SQLiteWriter to bridge between SQL and JSON and Alpine.js as a minimalistic JavaScript framework. The post also discusses cpp-httplib, Trifecta-lib, Meson, Docker/Podman, doctest, argparse, and {fmt}.
•10m read time• From berthub.eu
Table of contents
SQLiteWriter / nlohmann::json: Storing and moving dataAlpine.js: Minimalistic JavaScript “framework”cpp-httplib: HTTP library“Trifecta-lib”: enabling other projects as wellMeson: Modern build infrastructureDocker/Podman: Containersdoctest: Unit testsargparse: Argument parsing{fmt}: String formattingNo image parsing?SummarisingSort: