---
name: 3pp-store-publish
description: Publish and automate releases for Linux apps, GNOME extensions, and Sayri plugins/skills on 3pp.inled.es (Pulsar Store).
---

# 3pp Store — Developer & CI/CD Integration Skill

Base URL: `https://3pp.inled.es`
Catalog JSON (Pulsar Repo v1): `https://3pp.inled.es/index.json`

## 1. Publishing your first package

1. Sign in with Iccount at `https://3pp.inled.es/account` and set your public handle.
2. Upload your built artifact (`.deb`, `.pkg.tar.zst`, `.rpm`, `.AppImage`, `.flatpak`, `.zip`, `.tar.gz`) to a public `https://` URL (e.g., GitHub Releases).
3. Submit via `https://3pp.inled.es/publish` or the REST API (`POST /api/submissions`).
4. GitHub Actions downloads the asset, computes its SHA-256, inspects archives/scripts, checks VirusTotal, and runs an AI security review. Once approved, it is published and indexed in `/index.json`.

## 2. Supported package types

| `type` | Description | Artifact |
| --- | --- | --- |
| `deb` | Debian / Ubuntu native package | `.deb` |
| `arch` | Arch Linux native package | `.pkg.tar.zst` |
| `rpm` | Fedora / RHEL native package | `.rpm` |
| `appimage` | Portable Linux AppImage | `.AppImage` |
| `flatpak` | Flatpak app or bundle | `.flatpak` / `.flatpakref` |
| `gnome-extension` | GNOME Shell extension | `.zip` with `metadata.json` |
| `sayri-plugin` | Sayri AI agent plugin | `.zip` |
| `sayri-skill` | Sayri AI skill | `.zip` or `SKILL.md` |
| `archive` | Generic compressed archive | `.zip` / `.tar.gz` |

## 3. API Tokens (`p3p_...`)

Create scoped API tokens in `https://3pp.inled.es/account#tokens-panel`:
- **Scopes**: `submit:update`, `submit:details`, `submit:new`
- **Package restriction**: optional comma-separated list of package IDs
- Store the token as `PULSAR_3PP_TOKEN` in your GitHub repository Secrets.

## 4. GitHub Actions Integration

Add this step to your release workflow (`.github/workflows/release.yml`):

```yaml
name: Release & Publish to 3pp
on:
  release:
    types: [published]

jobs:
  publish-3pp:
    runs-on: ubuntu-latest
    steps:
      - name: Publish to 3pp Store
        uses: InledGroup/store/.github/actions/publish@main
        with:
          token: ${{ secrets.PULSAR_3PP_TOKEN }}
          package-id: my-app
          kind: update
          version: ${{ github.ref_name }}
          asset-url: https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/my-app.deb
          notes: ${{ github.event.release.body }}
          wait: 'true'
```

For `kind: update`, `name`, `type`, `summary`, `description`, `license`, `icon`, and `repo` are automatically inherited from your published package unless overridden.

## 5. REST API Reference

### Submit an update or new package

`POST https://3pp.inled.es/api/submissions`

```bash
curl -sS -X POST https://3pp.inled.es/api/submissions \
  -H "Authorization: Bearer $PULSAR_3PP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "update",
    "id": "my-app",
    "version": "1.2.0",
    "asset": "https://github.com/user/my-app/releases/download/v1.2.0/my-app.deb",
    "notes": "Bug fixes and performance improvements"
  }'
```

### Poll submission status

`GET https://3pp.inled.es/api/submissions/<SUBMISSION_UUID>`

```bash
curl -sS https://3pp.inled.es/api/submissions/<SUBMISSION_UUID> \
  -H "Authorization: Bearer $PULSAR_3PP_TOKEN"
```

Statuses: `queued` -> `auditing` -> `approved` | `rejected` | `error`.

## 6. Desktop & CLI Installation

- Desktop & CLI installs are handled by **AppInstall** and `pkm` (`pkm install pulsar:<id>`).
- The legacy `cli/pulsar-store` script is deprecated and no longer used.
