# openalice-registry

> OpenAlice Pack Registry — HTTP marketplace for publishing and downloading WASM packs.

## At a glance
| field | value |
|---|---|
| kind | `service` |
| priority | `—` |
| default branch | `main` |
| last activity | 2026-05-21T03:02:54+00:00 |
| features catalogued | **9** |
| runtime deps declared | **0** |

## Manifest
`.atlas-deps.yml` — parsed cleanly: **yes**

### Consumed env
- `REGISTRY_DATA_DIR`

### Exposes
- `http_endpoint` — http://openalice-registry:8102/api/v1/*

## Features (9)

### registry/api
- **`registry.api.health`** · _alpha_ · since 0.1.0 — GET /api/v1/health — liveness probe returning service identity + version.  
  *src/main.rs:150*
- **`registry.api.stats`** · _alpha_ · since 0.1.0 — GET /api/v1/stats — aggregate pack count + total download count across the registry.  
  *src/main.rs:160*

### registry/config
- **`registry.bin.entrypoint`** · _alpha_ · since 0.1.0 — REGISTRY_DATA_DIR env var selects the on-disk root for pack JSON + .wasm blobs; auto-created at boot, defaults to $HOME/.openalice-registry.  
  *src/main.rs:418*

### registry/model
- **`registry.service.http-api`** · _alpha_ · since 0.1.0 — Pack metadata schema — name, version, author, pack_type, tags, tools, wasm_size, downloads, rating, signed flag.  
  *src/main.rs:13*

### registry/packs
- **`registry.packs.download`** · _alpha_ · since 0.1.0 — GET /api/v1/packs/{name}/{version}/download — stream the .wasm blob for a specific version; bumps the pack's download counter on success.  
  *src/main.rs:234*
- **`registry.packs.get`** · _alpha_ · since 0.1.0 — GET /api/v1/packs/{name} — fetch pack metadata + all ratings for a single pack; 404 if unknown.  
  *src/main.rs:216*
- **`registry.packs.rate`** · _alpha_ · since 0.1.0 — POST /api/v1/packs/{name}/rate — submit a 1-5 score with optional review; recomputes pack's rolling average rating + rating_count and persists metadata.  
  *src/main.rs:373*
- **`registry.packs.search`** · _alpha_ · since 0.1.0 — GET /api/v1/packs — list/search packs with full-text filter on name+description, tag filter, sort by name/downloads/rating/newest, configurable limit.  
  *src/main.rs:183*

### registry/security
- **`registry.packs.publish`** · _alpha_ · since 0.1.0 — Optional detached signature upload alongside .wasm — stored as `{version}.wasm.sig`, surfaced via PackMeta.signed flag. Verification not yet enforced server-side.  
  *src/main.rs:273*

---

*Generated by [openalice-atlas](https://atlas.blal.pro) — single source of truth for the openalicelabs ecosystem.*
