App Store Cloud Registry

📱 Application javascript v1

The App Store is a centralized registry where users can browse, download, and publish Flowork apps (.flow containers). It integrates with Cloudflare KV for metadata storage.

The Flowork App Store

The App Store is the primary hub for distributing and discovering new tools within the Flowork ecosystem.

How the Registry Works

The registry itself is lightweight. Instead of running a complex relational database, Flowork leverages Cloudflare KV. Each app published to the store has its metadata (schema.json contents plus store-specific data like average rating) stored as a key-value pair.

This makes searching and listing apps incredibly fast globally due to Cloudflare's edge network.

Publishing an App

When a developer creates an app using the Flow Designer or AI Builder, they can compile it into a .flow file. Publishing involves: 1. Uploading the .flow file to a storage bucket. 2. Submitting the app's schema.json to the registry API. 3. The registry validates the schema and updates the KV store.

Installing an App

From the user's perspective, installing an app is a one-click process. Under the hood: 1. The Vue SPA tells the Go Engine to install an app ID. 2. The Go Engine downloads the .flow file from the URL specified in the registry. 3. The internal packer decrypts and extracts the app to the apps/ directory. 4. The new app is immediately available in the local dashboard.