Reference-aware bundles
Use deterministic $flexonFile markers, opt-in safe discovery, or explicit attachments. Binary content is stored natively rather than as JSON Base64.
Flexon is a secure, versioned binary envelope for a JSON document and its local binary dependencies. Package them into one .flexon file, then validate and safely reconstruct the original document and attachments.
The current public implementation is a .NET 8 library and cross-platform command-line tool under the MIT licence.
Use deterministic $flexonFile markers, opt-in safe discovery, or explicit attachments. Binary content is stored natively rather than as JSON Base64.
Each attachment records its relative path, byte length, media type and SHA-256. Extraction checks the manifest and destination before writing.
Configurable bounds, corruption detection, Brotli/GZip/Deflate, AES-256-GCM or ChaCha20-Poly1305 encryption, and detached ECDSA P-256 signatures.
dotnet tool install --global FlexonCLI --version 3.1.0
flexon-cli serialize -i project.json -o project.flexon --attachments marked
flexon-cli deserialize -i project.flexon -o restored-projectUseful where structured data and supporting assets must travel, archive or deploy as one verifiable unit.
Content exports, page records, product catalogues, offline content packs and verified website snapshots.
Matters, insurance claims, audit evidence, API jobs and configuration transfers with supporting documents.
Application backups, game saves, mod packs, IoT batches and deployment/configuration bundles.
3D scenes with textures and AI dataset manifests with blobs—storage and transport only, not AI processing.
Browsers cannot natively read or render .flexon. There is no official JavaScript/TypeScript, WebAssembly, npm, Vite/Webpack or service-worker integration yet. Current attachments are buffered within bounded memory; streaming, chunking and selective extraction are roadmap work. Flexon does not replace HTML, JSON APIs, JavaScript bundles, ZIP deployment packages or ordinary CDN assets, and it makes no universal faster-or-smaller claim.
Give us enough detail to understand the commercial problem. We will respond with questions, a paid inspection, or a focused proof-slice proposal—not a vague transformation promise.