libraries.md 1.8 KB


title: Loading libraries group: Getting started order: 40

summary: requirelib() and the libraries it can load.

Use requirelib(libName).

requirelib("filelib");

Registered library IDs:

  • filelib
  • imagelib
  • http
  • share
  • appdata
  • sysinfo
  • ziplib (includes 7z support via ziplib.extract7zFile, ziplib.list7zFileContents, etc.)
  • sqlite (SQLite database access — not available on linux/mipsle or windows/arm/386)
  • llm (OpenAI / Anthropic LLM chat: text & file based, with pricing & quota)
  • cnn (CXNNAIO vision inference: classification, detection, segmentation, pose, oriented detection, face analysis)
  • sharedspace (multi-user collaboration spaces: texts / images / files / documents, ACLs, persistence)
  • meetroom (MeetRoom control: create / end meetings, attendance - requires MeetRoom module access)
  • office (ArozOS Office suite: .pptx / .xlsx / .docx converters + native zip container pack/unpack)
  • notification (raise notifications to users via the core notification system, with priority - requires the host to wire in a notification sender)
  • git (version control for folders in the user's file system: clone / status / stage / commit / branch / diff / fetch / pull / push, with encrypted per-user HTTPS credentials — requires the host to wire in a git manager)
  • email (IMAP / SMTP mail client: accounts with password or OAuth sign-in, folders, search, reading sanitised mail, drafts, sending with undo / scheduling, address book, labels, snooze — requires the host to wire in an email manager)
  • audio (play tones, alarm presets and WAV / MP3 files on the server's own sound card or PC speaker - administrators only)
  • ffmpeg (only when ffmpeg exists on host)

Special case:

  • requirelib("websocket") is injected only in HTTP request context.