How r1nc/dynxx works
DynXX is a cross-platform C++ framework exposing native capabilities to host applications and supporting Lua and JavaScript business logic. The README identifies scripting, networking, persistence, codecs, crypto, device information, logging, and ZIP as product capabilities. The sampled WASM wrapper explicitly initializes the framework and invokes Lua and network APIs; Android demonstrates application initialization and release through its binding. Most native implementations and other platform bindings were not sampled, so their internal wiring is left unspecified.
Main entry points: DynXX-wrapper.js WASM wrapper · Net.h HTTP networking · DynXX.kt Android binding · DynXX.h C API
Components 15
Host bindings
- Android binding
platforms/Android/DynXX-lib/src/main/java/xyz/rinc/dynxx/DynXX.kt - WASM wrapper
platforms/WASM/DynXX-wrapper.js - C API
include/DynXX/C/DynXX.h
Script runtime
- Lua runtime
include/DynXX/C/Lua.h - JavaScript modules
scripts/JS
Framework capabilities
- HTTP networking
include/DynXX/C/Net.h - JSON codec
include/DynXX/C/Json.h - Cryptography
include/DynXX/C/Crypto.h - ZIP support
include/DynXX/C/Zip.h - Device information
include/DynXX/C/Device.h - Logging
include/DynXX/C/Log.h
Persistence
- SQLite
include/DynXX/C/SQLite.h - Key-value store
include/DynXX/C/KV.h
Other components
- Host application
- HTTP services
Connections 6
- Host application → Android binding: initializes/releases
- Host application → WASM wrapper: invokes
- WASM wrapper → C API: calls
- WASM wrapper → Lua runtime: loads/calls
- WASM wrapper → HTTP networking: requests
- HTTP networking → HTTP services: sends requests