The .flow Format
Flowork uses a proprietary encrypted container format for distributing apps:
.flow— Application packages.nflow— Workflow node packages
How It Works
Packaging (Compile)
1. App directory is compressed into a ZIP archive 2. ZIP is encrypted with AES-256 3. Encrypted blob is saved as.flow file
Installation (Upload)
1..flow file is uploaded via POST /api/upload
2. Engine decrypts with AES-256
3. ZIP is extracted to apps/{name}/ directory
4. App appears in the local app list
The Packer Package
internal/packer/ contains all packaging logic:
- ZIP compression
- AES-256 encryption/decryption
- Temp folder management
- Cleanup of old extraction artifacts