open-index/open-npm huggingface dataset:
npm package: @meframe/axii
Description: Meframe player component for Axii framework
Author: Meframe Team
Latest version: 0.0.3

# @meframe/axii

Meframe player component for Axii framework.

## Installation

```bash
npm install @meframe/axii axii
# or
pnpm add @meframe/axii axii
```

## Configuration

⚠️ **Important**: Add the Vite plugin to your project:

```typescript
// vite.config.ts
import { defineConfig } from 'vite';
import { meframePlugin } from '@meframe/core/vite-plugin';

export default defineConfig({
  plugins: [
    meframePlugin(), // Required: copies worker files for production
  ],
});
```

## Usage

```tsx
import { MeframePlayer } from '@meframe/axii';

function App() {
  const composition = {
    version: '1.0',
    fps: 30,
    durationUs: 10_000_000,
    root: {
      type: 'group',
      id: 'root',
      startUs: 0,
      durationUs: 10_000_000,
      children: [
        {
          type: 'video',
          id: 'video-1',
          src: 'https://example.com/video.mp4',
          startUs: 0,
          durationUs: 5_000_000,
        },
      ],
    },
  };

  return <MeframePlayer composition={composition} />;
}
```

## Features

- **Reactive Integration**: Seamlessly integrates with Axii's reactive system
- **Zero Config**: Worker files automatically resolved (with plugin)
- **TypeScript**: Full type safety
- **Extensible**: Plugin system for custom features

## Development

See [DEVELOPMENT.md](./docs/DEVELOPMENT.md) for development guide.

## Deployment

See [DEPLOYMENT.md](./docs/DEPLOYMENT.md) for deployment guide, including:

- Building the library
- Deploying examples/demos
- Production configuration

## Documentation

- [Architecture](./docs/AXII_ARCHITECTURE.md)
- [API Reference](./docs/api-reference.md)
- [Integration Guide](./docs/integration.md)

## License

MIT
npm package: @meframe/server
Description: Server-side exporter for @meframe/core (browser-driven, multipart upload via injected store)
Author: Sheepy
Latest version: 0.1.4

## @meframe/server

`@meframe/server` is a Node.js package that runs `@meframe/core` export inside a real Chromium instance (via browser automation) and uploads the output using an injected multipart store interface.

### Status

**Experimental, but functional.**

Current capabilities:

- Runs `@meframe/core` export in a real Chromium instance (via `puppeteer-core`)
- Streams mux output into multipart parts (no full MP4 `Blob` in Node memory)
- Supports cancellation (`AbortSignal`) and progress callback (`onProgress`)

See:

- `packages/server/examples/README.md` for example usage (local + S3)
- `packages/server/docs/INTEGRATION.md` for a complete integration guide (Chinese)
- `packages/server/docs/ARCHITECTURE.md` for architecture and constraints

### Design goals

- **No cloud SDK dependency**: upload is abstracted via `MultipartObjectStore`.
- **Low memory**: avoid returning a full MP4 `Blob` to Node; stream mux output into multipart parts.
- **Works with existing web pipeline**: reuse `@meframe/core` export flow (OPFS + WebCodecs + workers).

### Public API

- `ServerExporter`
  - `exportToStore({ model, exportOptions, pageUrl?, key?, metadata?, abortSignal? })`

Types are exported from `@meframe/server` root entry.

### Notes / requirements

- **Chromium is not bundled**: this package depends on `puppeteer-core` internally, so production must provide a Chromium/Chrome binary and pass `browser.executablePath` when creating `ServerExporter` (or load it from your own config system).
- **Secure context is required** for WebCodecs: the exporter should navigate to a trustworthy origin (e.g. `http://127.0.0.1` or `https://...`) via `pageUrl` before running the runner.
- **Worker files must be accessible** to the page at `/<workerPath>/...` (default `/meframe-workers/...`). If you do not pass `workerPath`, `@meframe/server` will start a temporary local server that serves `@meframe/core/dist/workers` and inject its base URL.

### Run examples

Local end-to-end (writes `packages/server/examples/local/out.mp4`):

```bash
pnpm --filter @meframe/core build
pnpm --filter @meframe/adapter-medeo build
pnpm --filter @meframe/server build

MEFRAME_CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
  pnpm --filter @meframe/server dev
```

S3 example (reference; requires AWS creds + bucket CORS exposing `ETag`):

```bash
MEFRAME_CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
  MEFRAME_RUNNER_PAGE_URL="https://your-domain.example/meframe-runner.html" \
  S3_BUCKET="your-bucket" \
  MEDEO_PUBLIC_BASE_URL="https://cdn.example.com" \
  node packages/server/examples/s3/export-to-s3.mjs
```
npm package: @mega-apps/ami-epms-standard
Description: ## Build Setup
Author: zhiquxue
Latest version: 1.0.0-beta.37

# version-t

## Build Setup

```bash
# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate
```

For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
npm package: @mega-apps/cli
Description: Mom builder for all mega modules apps. The recommended basic operation dependency package is attached, and users can check and repair defects in actual applications.
Author: sunzhifeng
Latest version: 1.3.6-beta.5

# @mega-apps/cli

Mom Web 应用统一构建工具

> 附带推荐的基础运行依赖包，开发者可以在实际使用中查缺补漏。

<p align="left">
  <a href="https://www.npmjs.com/package/@mega-apps/cli"><img src="https://img.shields.io/npm/dm/@mega-apps/cli" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/@mega-apps/cli"><img src="https://img.shields.io/npm/v/@mega-apps/cli" alt="Version"></a>
  <a href="https://www.npmjs.com/package/@mega-apps/cli"><img src="https://img.shields.io/npm/l/@mega-apps/cli" alt="License"></a>
</p>


## 特性

- [x] 重点支持使用`Nuxt脚手架`创建的项目(附带推荐依赖包)
- [x] 支持使用`VueCLI脚手架`创建的项目（不附带依赖包）
- [x] 自动识别`Nuxt项目`及`VueCLI项目`
- [x] 注入`VueLoader`, 实现 Vue 开启组件名称自动命名与开发环境统一。
- [x] 注入`Vue补丁`, 实现嵌套子布局路由正常（Keepalive情况下)。
- [x] 注入`Module.prototype.require`, 兼容依赖包查找
- [x] 注入项目规范检测及修补机制
- [x] 依赖安装加速控制(.npmrc, .yarnrc) 适用于npm中国镜像站
- [x] 推荐使用`Yarn`或者`pnPm`来管理依赖
- [x] 集成项目、代码规范依赖；如：`ls-lint`, `eslint`, `stylelint`, ...
- [x] 集成`Jest`, `Playwright`, `Vitest` 等测试框架
- [x] 集成`TypeScript`引擎
- [x] 集成`TailwindCSS`，`PostCSS`, `LESS`, `SASS` 等引擎
- [x] 集成`@types` 类型库
- [x] 集成 `Nuxtjs` >= 2.15.8, `Nuxt Libs` 常用库: https://modules.nuxtjs.org/
- [x] 集成适用于`Webpack`, `Vite` 常用构建工具
- [x] 集成各种`Mock`工具，支持`HTTP/HTTPS`, `WebSocket`, `Native Mock`
- [x] 集成`MegaMom`平台的各种插件/库/模块. 如：[`@mega-apps/nuxt-plugin-mom`](//www.npmjs.com/package/@mega-apps/nuxt-plugin-mom)


## 安装

```bash

# 推荐使用 Yarn 来安装依赖

yarn add @mega-apps/cli --dev

# 或使用 pnPm 安装依赖

pnpm add -D @mega-apps/cli
```

## 配置

```js
// package.json 文件
{
  // 修改 package.json 中的配置
  // ...
    "scripts": {
    "dev": "mom",
    "build": "mom generate"
    // ...
  },
}
```

## 应用

### 如何扩展 nuxt.config.js

```js
// "@mega-apps/cli" 提供了 nuxtConfigExtend 函数 及 momMerge 函数
// momMerge 函数的原型：
// import momMerge from "deepmerge";
// export { momMerge };

import { nuxtConfigExtend, momMerge } from "@mega-apps/cli";

```

### 默认提供了基础的nuxt.config 配置

```js
// 引入基础的nuxt.config.配置
import { generateBaseConfig, def } from "@mega-apps/cli/config/nuxt.config";
```

### 如何生成一个新的配置

```js

// 引入基础的nuxt.config.配置
import { generateBaseConfig, def } from "@mega-apps/cli/config/nuxt.config";

// def 函数，是一个兼容的快捷定义函数


const baseCfg = generateBaseConfig({
  supportESLint: false,
  supportStyleLint: false,
  supportTypeScript: false,
  supportTailwindCSS: false,
});

// 构造新的 nuxt.config
const config = nuxtConfigExtend([
  {},
  def(1, {})
], baseCfg);

// 导出配置
export default config;
```

### 如何对node-sass 进行配置

```js
import {getDefaultSassImplementation } from "@mega-apps/cli/config/nuxt.config";

/**
 * 获得默认的Sass解析器
 * @param defaultPkg, 默认值：node-sass, 可选值：sass
 * @returns module.exports
 * @note 关于node-sass的版本要根据nodejs的版本指定，参见：https://www.npmjs.com/package/node-sass 内的版本号对应说明
 *
```

### 如何查看基础的配置内容

基础配置存放到： `"@mega-apps/cli/config/nuxt.config.js"`

## 变更日志

[CHANGELOG](./CHANGELOG.md)
npm package: @mega-apps/mom-core-standard
Description: Mega 中台(Vue) 项目
Author: sunzhifeng
Latest version: 1.5.0

# Mega Platform Vue

Mega 中台(Vue) 项目

## 安装依赖

```bash
# install dependencies
$ npm install
```

## 运行开发模式

```bash
# serve with hot reload at localhost:3000
$ npm run dev
```
## 生产

两种运行模式, 选择一种：
   * 生成部署包(SPA/no-srr)
      ```bash
      # generate static project
      $ npm run generate
      ```
   * 运行SSR模式
      ```bash
      # build for production and launch server
      $ npm run build
      $ npm run start
      ```


更多详细内容请参照 [达智汇-大前端技术规范](http://10.252.78.220:30040/).
npm package: @mega-apps/mom-core-vue
Description: Mega 中台(Vue) 项目
Author: sunzhifeng
Latest version: 1.0.0-beta.31

# Mega Platform Vue

Mega 中台(Vue) 项目

## 安装依赖

```bash
# install dependencies
$ npm install
```

## 运行开发模式

```bash
# serve with hot reload at localhost:3000
$ npm run dev
```
## 生产

两种运行模式, 选择一种：
   * 生成部署包(SPA/no-srr)
      ```bash
      # generate static project
      $ npm run generate
      ```
   * 运行SSR模式
      ```bash
      # build for production and launch server
      $ npm run build
      $ npm run start
      ```


更多详细内容请参照 [达智汇-大前端技术规范](http://10.252.78.220:30040/).