.flow Container Format — Encrypted App Packaging

📱 Application go v1

The .flow format is Flowork's encrypted container for distributing apps and nodes. It uses AES encryption on a ZIP archive. The internal/packer package handles creation and extraction.

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