On 18 Jan 2021, at 12:43, Graham Leggett <minf...@sharp.fm> wrote: > Moving from the theory to making this real: > > https://github.com/minfrin/apr-tools > > The first tool is called “endec”[1], and exposes all the APR apr_encode.h and > apr_escape.h functions. Generated man page is here: > > https://github.com/minfrin/apr-tools/blob/main/endec/README.md
More tools! The second tool is called nmbe, for “native messaging browser extensions”. NMBE replaces browser plugins, and involves browsers chatting to spawned processes via stdin and stdout. The protocol used over stdin and stdout is simple, but binary, involving a native integer length followed by data. The nmbe tool turns data (a string, or binary) into the correct format for piping to an nmbe plugin, so that development / testing can be done from the command line. https://github.com/minfrin/apr-tools/blob/main/nmbe/README.md The third tool is called dbd, and exposes the apr_dbd API. The tool allows you to execute SQL statements and queries with complete control over formatting, and is ideal for scripting. Also useful for times when you’re trying to import/export non trivial data (like certificates, signatures or blobs) and the native database tools start fighting with you. https://github.com/minfrin/apr-tools/blob/main/dbd/README.md Regards, Graham —