lmgallery reference

Reference tables for lmgallery CLI workflows, test flags, manifest schemas, host output conventions, featured host catalog, and exit codes.

Test and maintenance commands

CommandFlagsDescription
./test.sh(none)Validate PNG/GIF headers, CRCs, decoded dimensions, preview size budgets, SHA-256 attribution, cross-host bindings, autorun captions, and local links
./test.sh--networkAlso verify published HTTP links and raw GitHub URLs
./test.sh--runExecute all 50 local composition scripts in fresh temporary directories
./test.sh--urlsExecute all 50 public raw GitHub URLs with lmctl in fresh temporary directories
./examples/render-all.sh(none)Run all 50 compositions in temporary directories and copy outputs to docs/images/
./examples/render-all.sh--only NNRegenerate a single showcase preview by its two-digit number (01 to 50)
python3 scripts/build-readme.py(none)Regenerate README.md, examples/README.md, and docs/ATTRIBUTION.md from catalog.json and showcases.json

Featured hosts in catalog.json

HostDomainUpstream repository
lmplot2D and 3D plots, surfaces, and multiplot dashboardshttps://github.com/lmctl-ai/lmplot
lmnumNumerical computing, Eigen linear algebra, and SUNDIALS ODE/nonlinear solvershttps://github.com/lmctl-ai/lmnum
lmfinanceFinancial models, yield curves, cashflows, and option pricinghttps://github.com/lmctl-ai/lmfinance
lmspaceOrbital mechanics, Kepler propagation, and transfer maneuvershttps://github.com/lmctl-ai/lmspace
lmphysicsRigid-body mechanics, constraints, and force balance simulationshttps://github.com/lmctl-ai/lmphysics
lmbioBiochemical reaction networks, enzyme kinetics, and pharmacokineticshttps://github.com/lmctl-ai/lmbio
lmfluidFluid dynamics and 2D finite-element PDE solvershttps://github.com/lmctl-ai/lmfluid
lmmoleculeOpenMM molecular dynamics, lattices, water models, and thermostatshttps://github.com/lmctl-ai/lmmolecule
lmcellMulticellular agent-based growth, division, and motility simulationshttps://github.com/lmctl-ai/lmcell
lmparticlePhoton and particle radiation transport, attenuation, and shieldinghttps://github.com/lmctl-ai/lmparticle
lmweatherShallow-water atmospheric dynamics, geostrophic adjustment, and gravity waveshttps://github.com/lmctl-ai/lmweather
lmdrawAnnotated 2D vector diagrams and schematic renderinghttps://github.com/lmctl-ai/lmdraw
lmcadParametric 3D OpenCASCADE solids, meshes, and shaded rendershttps://github.com/lmctl-ai/lmcad
lmblenderPath-traced 3D scenes and materialshttps://github.com/lmctl-ai/lmblender
lmimgProcedural color and raster image processing (preview)https://github.com/lmctl-ai/lmimg
lmaudioAudio synthesis, filtering, and spectral analysis (preview)https://github.com/lmctl-ai/lmaudio

Additional composition hosts

HostRole in showcase compositions (01 to 50)
lmvideoRenders charts, contact sheets, 3D scenes, terminal captures, and animations in compositions 02, 05, 11, 13, 14, 26-31, and 33-50
lmofficeGenerates DOCX reports, XLSX workbooks, and PPTX slide decks in compositions 26-31 and 34-50
lmpdfRenders PDF documents and page raster previews in compositions 43-46, 49, and 50
lmhtmlAudits HTML documents and link integrity in compositions 36 and 46
lmsslInspects X.509 certificates and TLS inventories in compositions 37 and 46
lmcloudEvaluates infrastructure plans and applied state in composition 49

Cross-host tabular output formats

Producer hostMethodDelimiterHeader row
lmnumsave_csv(path)SpaceNone
lmspacesave_csv(path)CommaNone
lmphysicssave_csv(path)CommaYes (body.column names)
lmfluidsample(...).save_csv(path)CommaNone (x,y,0,value)

Exit codes

CodeSourceMeaning
0test.sh / lmctl / native hostsAll checks or composition blocks succeeded
Nonzerotest.sh / scriptsIntegrity check, link verification, or composition test failed
2test.sh / native lmcode hostUnknown test.sh flag (usage message), or host CLI usage error or metadata flag query
3Native lmcode hostBytecode load error, runtime exception, or memory budget exceeded
4Native lmcode hostApplication assertion or output verification failure