> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibechain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VibeMarket OS SDK

> Build apps and games for VibeMarket OS with @vibechain/os, then submit them to VibeStore, where staff review every version before it is listed.

VibeMarket OS is a desktop that runs in your web browser at [vibechain.com/os](https://vibechain.com/os). **VibeStore** is its app store: players browse apps, install one to their desktop, open it in its own window and remove it again.

This page is a short map. The full reference, with every limit and code sample, is at [vibechain.com/os/docs](https://vibechain.com/os/docs#quickstart).

## What `@vibechain/os` is

[`@vibechain/os`](https://www.npmjs.com/package/@vibechain/os) is the TypeScript SDK for apps that run inside VibeMarket OS: small games, tools and desktop toys built as static web apps. It is for developers who want to build one and list it in VibeStore. The package is MIT licensed and ESM-only.

An app gets a deliberately small API: tell the host it is ready, follow its window's lifecycle, keep a small checkpoint while the window is open, and report one game score. Optional helpers add a fixed-timestep game loop (`@vibechain/os/loop`), canvas sizing (`@vibechain/os/canvas`) and an in-memory host for unit tests (`@vibechain/os/testing`).

[Your first app →](https://vibechain.com/os/docs#first-app)

## `@vibechain/os` or `@vibechain/sdk`?

The two packages do different jobs.

| | `@vibechain/os` | `@vibechain/sdk` |
| - | - | - |
| Use it for | Apps and games that run inside VibeMarket OS | Programs that call the vibe.market HTTP API |
| Where your code runs | A sandboxed window on the VibeMarket OS desktop | Your own Node.js service or web app |
| What it talks to | The desktop, through a private message channel | The vibe.market API, with your API key |
| Reference | [vibechain.com/os/docs](https://vibechain.com/os/docs#reference) | [TypeScript SDK](https://docs.vibechain.com/docs/vibemarket/sdk.md) |

[API reference →](https://vibechain.com/os/docs#reference)

## Quickstart

Use Node.js `^22.23.4`, `^24.22.1` or `^26.12.1` and npm.

```bash theme={null}
npx --yes @vibechain/os@0.4.0 init my-app
cd my-app
npm install
npm run build
npm run dev
```

Open the `http://127.0.0.1:PORT` address that `npm run dev` prints. The starter app runs in a local desktop window, so you can try readiness, minimize and restore, checkpoints and the results screen before you submit anything.

[Quickstart →](https://vibechain.com/os/docs#quickstart)

## Listing requirements

A submission is a ZIP of your built app with a `vibemarket.json` manifest, schema version 2, at its root. VibeStore checks every rule when you upload, and `os pack` runs the same manifest and image checks on your machine first.

| Requirement | Rule |
| - | - |
| ZIP | Built output, at most 20 MiB; at most 256 files, 16 MiB per file and 64 MiB expanded |
| Icon | PNG, exactly 256 x 256 pixels, at most 256 KiB |
| Screenshots | 1 to 4 PNG, JPEG or WebP files, each at most 1 MiB |
| Description | 40 to 2,000 characters of plain text |
| Category | `game`, `tool` or `toy` |
| Content rating | Violence and language each none, mild or strong, and whether the app is for mature audiences |
| Support contact | An `https://` URL or an email address, at most 200 characters |
| Window | 320 to 1600 by 200 to 1200 CSS pixels, resizable or not |
| SVG | Not allowed anywhere in the bundle |

[All requirements →](https://vibechain.com/os/docs#requirements) · [Manifest fields →](https://vibechain.com/os/docs#manifest)

## Submission and review

1. **Pack.** Build your app and run `npm run pack`. It checks the manifest and images and writes `app.zip`.
2. **Sign in.** Open VibeMarket OS in a web browser and sign in with Steam. Anyone can install apps; submitting needs a Steam account.
3. **Submit.** Open VibeStore on the desktop, go to the **Submit** tab and upload the ZIP. Your submissions, their states and any reviewer note are listed there.
4. **Review.** Vibechain staff look at the listing and files and run the app. An approved version can be made live and listed; a rejected one comes with a note that says why.

There is no automatic approval and no promised review time. **Approval is publication:** approved versions are archived to public IPFS, and removing or revoking an app in VibeStore later does not recall that copy. Read the [Terms](https://vibechain.com/terms) before you submit.

[How to publish →](https://vibechain.com/os/docs#publish) · [How review works →](https://vibechain.com/os/docs#review)

## What apps cannot do

Apps run in a sandboxed frame with no access to the player's account.

* No access to the player's session, Steam ID, profile, balance, inventory or wallet.
* No purchases, trades or rewards. A reported score is display data and grants nothing.
* No network requests to vibechain.com APIs or other servers; an app loads only its own files.
* No saves that outlive the open window, no multiplayer and no leaderboards.
* No running in the Steam client for now: VibeStore apps open in the browser version of VibeMarket OS.

[Security model →](https://vibechain.com/os/docs#security)

## Example: Paw Beat

Paw Beat is a small 3D rhythm game built with the SDK and Three.js: a procedural dancing cat, a song synthesized in code, a personal best kept in a checkpoint and a reported score. Its `vibemarket.json` is a complete VibeStore listing. The example ships in the npm package under `examples/paw-beat`, and the reference shows every source file.

[Paw Beat →](https://vibechain.com/os/docs#example)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.