kiosk-c) is a C99 client for devices that cannot run a full
operating system or browser runtime. It wraps the Device REST API and
WebSocket streaming API in a minimal, dependency-light interface
backed by libcurl.
All AI processing is server-side. The library sends text or audio to the Humain backend and
receives responses — the device itself needs no LLM, STT, or TTS capability.
Requirements
Voice sessions require
-DKIOSK_WITH_VOICE=ON at build time and a Linux target.
FreeRTOS and Zephyr support text sessions only in v1. For voice on constrained
hardware, see the audio hardware guide for recommended
companion module architectures.Choose your platform
C library reference
Full API reference for
kiosk.h — configuration, session lifecycle, streaming callback,
error codes, and memory model.Raspberry Pi
Step-by-step guide for Raspberry Pi (arm64, Raspberry Pi OS). Covers build, systemd
service, audio routing, and auto-reconnect.
FreeRTOS
Integrate the kiosk library into a FreeRTOS task. Covers heap sizing, task stack
requirements, and text / streaming usage.
Zephyr RTOS
Zephyr module integration. Covers Kconfig options, CMakeLists.txt, and a minimal
sample application using the Zephyr HTTP client.
Reference
Audio hardware
Microphone and speaker selection guide for kiosk terminals — USB, I²S, MEMS, and
analogue options with STT accuracy notes.
Credential management
Secure credential storage on embedded targets — environment files, dm-crypt,
ATECC608 secure element, and TPM 2.0.
OTA updates
Keeping the library and firmware up to date with SWUpdate, Mender, and Balena Cloud.
Includes credential preservation across updates.
C library (GitHub)
Source, CMakeLists, toolchain files, and pre-built release binaries for common targets.