Lilush API Reference

logo

Module and function documentation for the lilush runtime

Modules

ModuleDescription
argparserDeclarative command-line argument parser with GNU-style options, positional arguments, subcommands, and auto-generated help.
cryptoCryptographic primitives and utilities built on LITLS.
dnsDNS client library for recursive resolution with caching, CNAME following, search list expansion, server failover, and EDNS support.
evdevLinux input devices from /dev/input/event*: keyboards, sticks and gamepads.
gfxThe pixel engine.
gitPure-Lua git repository reader.
hidrawRaw HID devices from /dev/hidraw*.
httpHTTP client utilities for requests with TLS/mTLS and redirect following.
levAsynchronous I/O runtime for Lilush, built on epoll.
lilpackLILPACK package system for Lilush.
markdownStreaming markdown parser and renderer with support for CommonMark, GFM extensions (tables, strikethrough, autolinks, task lists), and djot features (fenced divs, inline attributes).
mnemeSingle-file embedded key-value database with multiple keyspaces, typed values, TTL/expiry, sorted sets, lists, vector similarity search, BM25 full-text search, and optional encryption at rest.
ostiumOstium: the wire protocol and buffering client for the ostiarius monitoring daemon (ostium is the door, ostiarius the doorkeeper).
redisAsync Redis client using the LEV event loop.
soundAudio playback: a raw ALSA PCM device or a stream on a PulseAudio server, float32 sample buffers, a mixer, a WAV loader, a tone synth and text-to-speech.
stdStandard library with core utilities for sleeping, random ID generation, environment access, and system information.
termCore terminal I/O library for cursor control, colors, ANSI styles, and keyboard input.
vkA Vulkan compute device: one or two queues, the lanes, pipelines from SPIR-V, host-visible buffers, dispatches polled by fence, and readbacks into gfx surfaces.
wikidbCore operations for editable wiki databases (WIKIDB convention v3).
zlibZlib compression and decompression built on miniz.