OKHAM.org Documentation EnglishCastellano

February 2026 edition

App Artifact Examples

Overview

This document provides examples of App Artifact manifests and implementations.

Status: To Be Done (TBD)

Example App Artifacts are currently under development.

Planned Examples

1. Simple Calculator App

{
  "id": "calculator",
  "name": "Simple Calculator",
  "version": "1.0.0",
  "description": "A basic calculator application",
  "permissions": {
    "network": false,
    "storage": "local",
    "tools": []
  },
  "allowed_origins": [],
  "integrity": {
    "algorithm": "SHA256",
    "hash": "abc123..."
  }
}

2. Note Taking App

{
  "id": "notes",
  "name": "Quick Notes",
  "version": "1.0.0",
  "description": "A simple note-taking application",
  "permissions": {
    "network": false,
    "storage": "local",
    "tools": []
  },
  "allowed_origins": [],
  "integrity": {
    "algorithm": "SHA256",
    "hash": "def456..."
  }
}

3. Weather Widget

{
  "id": "weather-widget",
  "name": "Weather Widget",
  "version": "1.0.0",
  "description": "A weather display widget",
  "permissions": {
    "network": true,
    "storage": false,
    "tools": []
  },
  "allowed_origins": [
    "https://api.weather.com",
    "https://api.openweathermap.org"
  ],
  "integrity": {
    "algorithm": "SHA256",
    "hash": "ghi789..."
  }
}

Implementation Guidelines

File Structure

my-app/
├── manifest.json      # App Artifact manifest
├── index.html         # Main HTML file
├── app.js            # Application logic
├── styles.css        # Styling
└── assets/           # Static assets

Bundle Creation

# Create app bundle
tar -czf my-app-1.0.0.tar.gz my-app/

# Calculate SHA256 hash
sha256sum my-app-1.0.0.tar.gz

Testing

# Validate manifest
okham app validate manifest.json

# Test in sandbox
okham app run manifest.json