# Send Private Web App (PWA) to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "privateapp",
    "name": "Private Web App (PWA)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/camopel/privateapp",
    "canonicalUrl": "https://clawhub.ai/camopel/privateapp",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/privateapp",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=privateapp",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "apps/file-browser/app.json",
      "apps/file-browser/backend/routes.py",
      "apps/file-browser/frontend/index.html",
      "apps/file-browser/frontend/package-lock.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/privateapp"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/privateapp",
    "downloadUrl": "https://openagent3.xyz/downloads/privateapp",
    "agentUrl": "https://openagent3.xyz/skills/privateapp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/privateapp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/privateapp/agent.md"
  }
}
```
## Documentation

### PrivateApp

Personal PWA dashboard — FastAPI backend + React/Vite frontend with plugin apps.

### Setup

# Clone and install (creates venv, builds frontends, sets up systemd/launchd)
git clone https://github.com/camopel/PrivateApp.git ~/Workspace/PrivateApp
cd ~/Workspace/PrivateApp
bash scripts/install.sh [--port 8800]

Copy scripts/config.example.json → scripts/config.json and edit:

{
  "host": "0.0.0.0",
  "port": 8800,
  "data_dir": "~/.local/share/privateapp",
  "file_browser": { "root": "~" },
  "push": { "vapid_email": "you@example.com" }
}

### Service Management

# Linux (systemd user service)
systemctl --user start privateapp
systemctl --user stop privateapp
systemctl --user restart privateapp
systemctl --user status privateapp

# macOS (launchd)
launchctl load ~/Library/LaunchAgents/com.privateapp.server.plist
launchctl unload ~/Library/LaunchAgents/com.privateapp.server.plist

# Manual
.venv/bin/python3 scripts/server.py --host 127.0.0.1 --port 8800

### Build Frontends

After any frontend change, rebuild:

# Build shell (home screen)
cd frontend && npm run build

# Build all app frontends
for app_dir in apps/*/frontend; do
  [ -f "$app_dir/package.json" ] && (cd "$app_dir" && npm install && npm run build)
done

# Or use the install script which builds everything
bash scripts/install.sh

Then restart the service.

### Built-in Apps

AppShortcodeDescription📊 SystemsysmonCPU, RAM, disk, GPU stats and service health📁 FilesfilesBrowse, preview, and share files

### Adding a New App

Create apps/{app-id}/ with:

app.json — metadata (id, name, shortcode, icon, description)
backend/routes.py — FastAPI router (mounted at /api/app/{shortcode}/)
frontend/ — React SPA (Vite, builds to frontend/dist/)

Shortcode must be unique. The app loader auto-discovers on startup.

See the existing apps for reference patterns. Key conventions:

All routes async def, return plain dicts
Frontend uses CSS custom properties for dark mode
Input font-size ≥ 16px (prevents iOS auto-zoom)
Every app has a back button linking to /

### Push Notifications

Apps can send push via commons.push_client:

from commons.push_client import send_push
await send_push(title="Alert", body="Something happened", url="/app/my-app/")

### Data

~/.local/share/privateapp/
├── privateapp.db       # Settings, preferences, push subscriptions
├── vapid_private.pem   # VAPID signing key
└── vapid_public.txt    # VAPID public key

### Key APIs

GET /api/apps — list installed apps
GET /api/settings/preferences — get preferences (timezone, language, app_order)
POST /api/settings/preferences — save preferences
POST /api/push/send — send push notification
GET /api/push/test — test push
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: camopel
- Version: 1.0.3
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/privateapp)
- [Send to Agent page](https://openagent3.xyz/skills/privateapp/agent)
- [JSON manifest](https://openagent3.xyz/skills/privateapp/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/privateapp/agent.md)
- [Download page](https://openagent3.xyz/downloads/privateapp)