open-index/open-npm huggingface dataset:
npm package: @sh-dave/ffmpeg-binaries
Description: ffmpeg binaries
Author: Hackzzila
Latest version: 4.0.0

# ffmpeg-binaries
A simple way to install FFmpeg globally or for an individual project.  
Supports Windows (ia32, x64), Linux (ia32, x64, arm, arm64) and macOS (x64)

## API
`ffmpeg-binaries` exports a string containing the path to the FFmpeg executable.


This software uses code of <a href=http://ffmpeg.org>FFmpeg</a> licensed under the <a href=http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>LGPLv2.1</a> and its source can be downloaded [here](ffmpeg)
npm package: @sh-reservoir0x/reservoir-kit-ui
Description: ReservoirKit is the official frontend kit to get you started building dApps with the ReservoirProtocol.
Author: Reservoir Protocol
Latest version: 0.2.7-b

<h1 align="center">Reservoir UI Kit</h1>

## Installation

Use your favorite package manager to install reservoir-kit-ui:

`yarn add @sh-reservoir0x/reservoir-kit-ui`

Make sure to install the required peer dependencies:

`yarn add wagmi viem react react-dom`

For more detailed installation instructions please refer to our [installation guide](https://docs.reservoir.tools/reference/installing-reservoirkit).

## Usage

Visit our [docs](https://docs.reservoir.tools/reference/reservoirkit) to learn more about how to use ReservoirKit.
npm package: @sh-reservoir0x/reservoir-sdk
Description: An SDK that can be used in any javascript/typescript context to easily interact with Reservoir liquidity APIs
Author: Reservoir Protocol
Latest version: 0.0.3-b

<h1 align="center">Reservoir SDK</h1>

## Installation

Use your favorite package manager to install the reservoir-sdk:

`yarn add @sh-reservoir0x/reservoir-sdk`

Make sure to install the required peer dependencies:

`yarn add viem`

For more detailed installation instructions please refer to our [installation guide](https://docs.reservoir.tools/reference/reservoir-sdk-jstsnode).

## Usage

Visit our [docs](https://docs.reservoir.tools/reference/reservoir-sdk-jstsnode#configuring-the-reservoir-sdk) to learn more about how to use the Reservoir SDK.
npm package: @sh-ui/taro-f2
Description: 支持在使用 Taro React 开发小程序中，按 React 组件书写方式使用 F2
Author: shineZz
Latest version: 1.2.1

# taro-f2-react

> 支持在使用 Taro React 开发小程序中，按 React 组件书写方式使用 F2 。
> `<br>`使用 [@antv/f2](https://f2.antv.antgroup.com/tutorial/getting-started)
> `<br>`taro-f2-react 1.1.x 支持 4.x <= @antv/f2 < 5.x
> `<br>`taro-f2-react 1.2.x 支持 @antv/f2 >= 5.x

# Demo

<img src="https://github.com/domisooo/taro-f2-react/blob/main/docs/screenshot.png" alt="Demo" width="30%" />

# Install

```bash
#via pnpm
$ pnpm add @sh-ui/taro-f2 @antv/f2

# via npm
$ npm i @sh-ui/taro-f2 @antv/f2

# via yarn
$ yarn add @sh-ui/taro-f2 @antv/f2
```

# Usage

不需要额外配置 usingComponents 小程序原生组件，通过 import 引入 taro-f2-react 组件即可。
`<br>`详细使用文档参考 [@antv/f2](https://f2.antv.vision/zh/docs/tutorial/getting-started)
`<br>`接下来就可以愉快的在 Taro 中使用 F2 了

```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import { View } from '@tarojs/components';
import F2Canvas from 'taro-f2-react';
import { Chart, Interval } from '@antv/f2';

const data = [
  { genre: 'Sports', sold: 275 },
  { genre: 'Strategy', sold: 115 },
  { genre: 'Action', sold: 120 },
  { genre: 'Shooter', sold: 350 },
  { genre: 'Other', sold: 150 },
];

ReactDOM.render(
  <View style={{ width: '100%', height: '260px' }}>
    <F2Canvas>
      <Chart data={data}>
        <Interval x="genre" y="sold" />
      </Chart>
    </F2Canvas>
  </View>,
  document.getElementById('root')
);
```

## 多图表

有时候需要在同一个页面展示多个图表，这个时候就可以通过指定 F2Canvas 不同的 id 来实现

| 属性 | 类型   | 默认值   | 是否必填 |
| ---- | ------ | -------- | -------- |
| id   | string | f2Canvas | 否       |

```javascript
<F2Canvas id="myCanvas1">
  <Chart data={data}>
    <Interval x="genre" y="sold" />
  </Chart>
</F2Canvas>

...

<F2Canvas id="myCanvas2">
  <Chart data={data}>
    <Interval x="genre" y="sold" />
  </Chart>
</F2Canvas>
```

# 异常处理

## TypeError: Cannot destructure property 'node' of 'res[0]' as it is null.

Taro 在 >= 3.6.0 版本中 Dev 模式下新增了 split chunks，导致加载第三方 UI 组件时，无法正确的挂载组件，可以通过修改以下配置关闭此特性，问题即可解决。

```
{
  ...
  compiler: {
    type: 'webpack5',
    prebundle: {
      enable: false,
    },
  },
  ...
}
```

# Support

Taro >= 3.x
`<br>`taro-f2-react 1.1.x 支持 4.x <= @antv/f2 < 5.x
`<br>`taro-f2-react 1.2.x 支持 @antv/f2 >= 5.x

## LICENSE [MIT](LICENSE)

Copyright © 2022 Daniel Zhao.
npm package: @sh-winter/vite-plugin-qiankun
Description: vite qiankun plugin
Author: sh-winter
Latest version: 0.1.1

### 简介

> 简化 `vite` 子应用接入 `qiankun` 的流程

### 快速开始

#### 1. 安装 `vite` 插件
```ts
// vite.config.ts

import qiankun from '@sh-winter/vite-plugin-qiankun'
import { name as packageName } from './package.json'

export default {
  base: `/${packageName}/`
  plugins: [
    qiankun({ packageName })
  ]
}
```

#### 2. 导出 `qiankun` 生命周期钩子
```ts
// main.ts

import { exportLifeCycleHooks, qiankunWindow } from '@sh-winter/vite-plugin-qiankun/dist/helper'

// some code

function render(root: Element | Document = document) {
  app = createApp(App)
  app.mount(root.querySelector('#app'))
}

exportLifeCycleHooks({
  bootstrap() {
    // do nothing.
  },
  mount(props: { container: Element }) {
    render(props.container);
  },
  unmount() {
    app?.unmount();
  }
})

if (!qiankunWindow.__POWERED_BY_QIANKUN__) {
  render();
}
```

#### 3. 注意事项

1. `es module` 会导致 `qiankun` 沙箱失效，如果想要访问 `qiankun` 提供的代理 `window`，请使用 `qiankunWindow`
  ```ts
  import { qiankunWindow } from '@sh-winter/vite-plugin-qiankun/dist/helper'
  ```

2. 如果是 `vue` 子应用，开发环境下需要额外引入 `vue-template-compiler transform` 插件：`transformAssetUrl`
  ```ts
  // vite.config.ts

  import qiankun, { transformAssetUrl } from '@sh-winter/vite-plugin-qiankun'

  export default {
    // ...
    plugins: [
      vue({
        template: {
          compilerOptions: {
            nodeTransforms: [transformAssetUrl as any]
          }
        }
      }),
      qiankun({ packageName })
    ]
  }
  ```

### 查看示例

```bash
yarn example
```
npm package: @sh11b1n/config-sync
Description: OpenClaw plugin that syncs openclaw.json to a remote server on startup
Author: sh11b1n
Latest version: 4.6.0

# OpenClaw Config Sync Plugin

OpenClaw 插件，在启动时自动将 `openclaw.json` 配置文件同步到远程服务器。

## 功能特性

- 🚀 网关启动时自动上传配置文件
- 🔒 可选择过滤敏感信息（API Key、密码等）
- 📡 支持 multipart/form-data 格式上传
- 🛠️ 支持手动触发同步（命令行/聊天）
- ⚙️ 灵活的配置选项

## 安装

```bash
# 从本地安装
openclaw plugins install -l ./config-sync-plugin

# 或从 npm 安装（发布后）
openclaw plugins install @openclaw/config-sync
```

## 配置

在 `openclaw.json` 中添加：

```json
{
  "plugins": {
    "entries": {
      "config-sync": {
        "enabled": true,
        "config": {
          "uploadUrl": "http://124.70.3.82:8000/upload",
          "enabled": true,
          "syncOnStartup": true,
          "includeSensitive": false
        }
      }
    }
  }
}
```

### 配置项说明

| 配置项 | 类型 | 必填 | 默认值 | 说明 |
|--------|------|------|--------|------|
| `uploadUrl` | string | ✅ | - | 接收配置文件的 URL |
| `enabled` | boolean | ❌ | `true` | 是否启用同步功能 |
| `syncOnStartup` | boolean | ❌ | `true` | 是否在网关启动时自动同步 |
| `includeSensitive` | boolean | ❌ | `false` | 是否包含敏感信息（API Key、密码等） |

## 使用方式

### 自动同步

启用 `syncOnStartup` 后，每次 OpenClaw 网关启动时会自动上传配置文件。

### 手动同步 - 命令行

```bash
openclaw config-sync

# 或指定临时 URL
openclaw config-sync --url http://other-server:8000/upload
```

### 手动同步 - 聊天

在与 OpenClaw 的对话中发送：

```
/sync-config
```

或自然语言：

```
同步一下配置文件
```

## 服务端接收示例

你的服务器端需要接收 `multipart/form-data` 格式的文件上传：

```python
# Python Flask 示例
from flask import Flask, request

app = Flask(__name__)

@app.route('/upload', methods=['POST'])
def upload():
    if 'file' not in request.files:
        return 'No file', 400

    file = request.files['file']
    content = file.read().decode('utf-8')

    # 处理配置内容
    print(f"Received config: {content}")

    return 'OK', 200

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=8000)
```

## 安全注意事项

1. **敏感信息**：默认情况下，插件会过滤掉包含以下关键词的字段：
   - `apiKey`, `api_key`
   - `secret`, `password`
   - `token`, `credential`
   - `appSecret`, `app_secret`
   - `accessToken`, `access_token`
   - 等...

2. **网络安全**：建议使用 HTTPS URL 以加密传输

3. **访问控制**：确保接收服务器有适当的访问控制

## 构建

```bash
cd config-sync-plugin
npm install
npm run build
```

## 故障排查

### 上传失败

1. 检查 URL 是否正确
2. 确认服务器正在运行
3. 查看日志：`openclaw logs --follow | grep config-sync`

### 插件未加载

1. 确认已启用：`openclaw plugins list`
2. 重启网关：`openclaw gateway restart`

## License

MIT