Quick Start

Create and run your first UI Protocol client application in under 5 minutes.

Create a New Application

Use the CLI to scaffold a new client application:

pnpm create akinon-app my-app

The CLI will prompt you for:

Prompt
Description

Project name

Application identifier (e.g., my-app)

Project type

fullpage, plugin, multi_fullpage, or multi_plugin

Package manager

pnpm, npm, or yarn

Install dependencies

Whether to install packages immediately

Start Development Server

Navigate to your project and start the development server:

cd my-app
pnpm dev

Your application is now running at http://localhost:4001.

Test with Shell Server

To test your application within a simulated shell environment:

pnpm dev:shell

This starts a mock shell at http://localhost:4000 that:

  • Provides a realistic shell interface (header, sidebar)

  • Simulates data sharing from shell to client

  • Enables testing of actions and navigation

Project Structure

The generated application follows this structure:

Using App Client

Access shell data and functionality using the useAppClient hook:

Using UI Components

Import components from @akinon/ui-* packages:

Test in Production Shell

Use the Chrome Extension to test your local app within a production shell:

First, download the UI Protocol Chrome Extension:

  1. Load as unpacked extension in Chrome (chrome://extensions)

  2. Configure the extension:

    • Web URL: http://localhost:4001

    • App Name: Your app's display name

    • App Type: full_page or plugin

  3. Navigate to the production shell (e.g., Omnitron)

  4. Your local app renders inside the real shell

Build for Production

Create an optimized production build:

Output is generated in the dist/ directory, ready for ACC deployment.

Next Steps

Last updated

Was this helpful?