open-index/open-npm huggingface dataset:
npm package: @opendt/react-native-ali-oss
Description: react-native wrapper of AliOSS SDK, support both iOS and Android.
Author: Yeo Yang
Latest version: 1.2.0

# React Native Ali OSS
react-native wrapper of AliOSS SDK, support both iOS and Android.

Note, this library only support react-native 0.60+

## Installation
Install library via npm:
```bash
npm install --save @opendt/react-native-ali-oss
```
To complete the linking on iOS, run:
```bash
cd ios && pod install
```
npm package: @opendt/react-native-opensdk
Description: react-native port of Mob ShareSDK, support both ios and android.
Author: Yeo Yang
Latest version: 1.0.0

# React Native MobShareSDK
react-native wrapper of Mob ShareSDK, support both ios and android.

Note, this library only support react-native 0.60+

## Installation
Install library via npm:
```bash
npm install --save @opendt/react-native-tim
```
To complete the linking on iOS, run:
```bash
cd ios && pod install
```

## Additional steps
### Android
1. create an `opensdk.gradle` file under `android/app` folder, and add following MobSDK config:
   ```gradle
   MobSDK {
       appKey "MobSDK appKey"
       appSecret "MobSDK appSecret"
       ShareSDK {
           gui false
           devInfo {
               Wechat {
                   appId "xxx"
                   appSecret "xxx"
                   withShareTicket true
                   bypassApproval false
               }
               ...
           }
       }
   }
   ```
   For available options, see [this official example](https://github.com/MobClub/ShareSDK-for-Android/blob/master/SampleFresh/MobSDK.gradle)

1. register MobSDK in project's build.gradle file:
   ```gradle
    dependencies {
        // Register MobSDK
        classpath "com.mob.sdk:MobSDK:2018.0319.1724"
    }
   ```

1. add MobSDK plugin to app module's build.gradle file:
   ```gradle
   apply plugin: "com.mob.sdk"
   ```

### iOS
1. update your `AppDelegate.m` file:
   ```diff
   +  #import "DTOpenSDK.h"
      - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        // ...
   +    [[DTOpenSDK sharedInstance] setupShareSDK:@{
   +      @"wechat": @{
   +        @"appId": @"xxx",
   +        @"appSecret": @"xxx",
   +        @"universalLink": @"xxx",
   +      },
   +    }];
        return YES;
      }
   ```
1. add `LSApplicationQueriesSchemes` key in `Info.plist` file
1. add `MobAppKey` and `MonAppSecret` in `Info.plist` file
1. config `URL Scheme` in `Info.plist` file
1. config `URL Types`
1. config `Universal Links`
npm package: @opendt/react-native-tim
Description: react-native wrapper of Tencent IM SDK, support both iOS and Android.
Author: Yeo Yang
Latest version: 0.2.0

# React Native TIM
react-native wrapper of Tencent IM SDK, support both iOS and Android.

Note, this library only support react-native 0.60+

## Installation
Install library via npm:
```bash
npm install --save @opendt/react-native-tim
```
To complete the linking on iOS, run:
```bash
cd ios && pod install
```
npm package: @opendt/react-native-toast
Description: A android like toast for react-native support for ios and android
Author: Yeo Yang
Latest version: 1.1.0

# React Native Toast
An android like toast for react-native, support both iOS and android.

## Installation
Add the following dependency to `package.json`:
```shell script
npm install --save @opendt/react-native-toast
```
for react-native >= 0.60, auto linking will take care of the link step, but don't forget to run:
```shell script
ce ios && pod install
```
for react-native < 0.60, you need link native module by run:
```shell script
react-native link @opendt/react-native-toast
```

### thanks
this project comes from [@remobile/react-native-toast](https://github.com/remobile/react-native-toast)
npm package: @opendungeon/architect
Description: Procedural content generator and chronicler for OpenDungeon campaigns
Author: indie indie
Latest version: 0.1.3

# @opendungeon/architect

Campaign generation and world-building engine for OpenDungeon.

## Features

- **World Builder**: Procedural and LLM-assisted creation of RPG worlds.
- **Campaign Management**: Dynamic story generation based on player actions.
- **Chronicler**: Record and maintain the history and lore of the generated world.

## Installation

```bash
pnpm add @opendungeon/architect
```

## Usage

```typescript
import { WorldBuilder } from '@opendungeon/architect';

const builder = new WorldBuilder(llmProvider, dbClient);
const campaign = await builder.generateCampaign('the-lost-kingdom');
```
npm package: @opendungeon/devtools
Description: Developer tools and CLI for OpenDungeon module development
Author: indie indie
Latest version: 0.1.3

# @opendungeon/devtools

CLI and development tools for creating and validating OpenDungeon modules.

## Features

- **Module Validation**: Ensure your `manifest.json` conforms to the latest engine standards.
- **Architect CLI**: Access world-building and campaign generation directly from your terminal.

## Installation

```bash
pnpm add -g @opendungeon/devtools
```

## Usage

```bash
# Validate your module's manifest
od validate-module ./my-module/manifest.json

# Run campaign generation
od architect --campaign campaign-1 --apply
```
npm package: @opendungeon/engine-core
Description: Core engine logic for OpenDungeon RPG framework
Author: indie indie
Latest version: 0.1.3

# @opendungeon/engine-core

The core gameplay engine for OpenDungeon, responsible for managing the state, actions, and events of the game.

## Features

- **Dungeon Master**: Orchestrates game logic and narrative progression.
- **Event Compressor**: Aggregates game events for optimized transmission.
- **Lore Extractor**: Extracts relevant information from gameplay for persistent world memory.

## Installation

```bash
pnpm add @opendungeon/engine-core
```

## Usage

```typescript
import { DungeonMaster } from '@opendungeon/engine-core';

// Initialize the core engine
const dm = new DungeonMaster(config);
const newState = await dm.processAction(currentState, action);
```
npm package: @opendungeon/game-classic
Description: Classic RPG module for OpenDungeon engine
Author: indie indie
Latest version: 0.1.2

# @opendungeon/game-classic

The classic RPG module for the OpenDungeon engine, providing a baseline fantasy experience.

## Features

- **Classes**: Fighter, Mage, Thief, and more.
- **Locations**: Dungeons, forests, and villages.
- **Mechanics**: Exploration, combat, and lore extraction.

## Installation

```bash
npm install @opendungeon/game-classic
```

## Usage

In your OpenDungeon instance, register the classic module:

```typescript
import classicModule from '@opendungeon/game-classic';

// Add to your engine's module list
engine.registerModule(classicModule);
```
npm package: @opendungeon/providers-llm
Description: LLM provider abstractions for OpenDungeon
Author: indie indie
Latest version: 0.1.3

# @opendungeon/providers-llm

LLM provider abstractions and implementations for OpenDungeon.

## Features

- **Standard Interface**: Common abstractions for LLM interaction.
- **Provider Support**: Ready-to-use providers for popular LLM APIs.
- **Prompt Engineering**: Managed system prompts for OpenDungeon's specific use cases.

## Installation

```bash
pnpm add @opendungeon/providers-llm
```

## Usage

```typescript
import { createLlmProvider } from '@opendungeon/providers-llm';

const provider = createLlmProvider({
  type: 'openai',
  apiKey: process.env.OPENAI_API_KEY
});

const response = await provider.complete('Hello, Dungeon Master!');
```
npm package: @opendungeon/shared
Description: Shared schemas and utilities for the OpenDungeon engine
Author: indie indie
Latest version: 0.1.3

# @opendungeon/shared

Shared schemas, constants, and utilities for the OpenDungeon RPG engine.

## Features

- **Zod Schemas**: Robust validation for game manifests, events, and state.
- **TypeScript Types**: Shared type definitions used across the entire ecosystem.
- **Constants**: Centralized configuration for the OpenDungeon framework.

## Installation

```bash
pnpm add @opendungeon/shared
```

## Usage

```typescript
import { moduleManifestSchema } from '@opendungeon/shared';

// Validate a game module manifest
const result = moduleManifestSchema.safeParse(myManifest);
```
npm package: @openduo/gelonghui-cli
Description: 格隆汇快讯 CLI 工具
Latest version: 1.0.0

# gelonghui-cli

格隆汇命令行工具 — 7x24 快讯、大盘指数、南北资金、港股排行。

## 快速开始

```bash
npx @openduo/gelonghui-cli live list    # 无需安装，直接运行
```

## 安装

```bash
npm install -g @openduo/gelonghui-cli
```

## 全局选项

```
-n, --number <num>   条数，默认 15
-f, --format <fmt>   text（默认）| json
```

## 命令一览

### live — 快讯

```bash
glh live list                     # 全部快讯
glh live list -n 30               # 最新 30 条
glh live list AStock              # A股快讯
glh live list HKStock             # 港股快讯
glh live list USStock             # 美股快讯
glh live list ai                  # AI
glh live list international       # 国际
glh live list popular             # 最热
glh live list fundLive            # 基金
```

快讯频道: `all`(全部) `popular`(最热) `fundLive`(基金) `ai`(AI) `international`(国际) `chineseMainland`(中国大陆) `hongkongMacaoTaiwan`(港澳台) `HKStock`(港股) `AStock`(A股) `USStock`(美股) `virtualAssets`(虚拟资产) `exchangeCommodity`(商品外汇) `house`(楼市) `debenture`(债券)

```bash
glh live important                # 重要快讯
glh live important HKStock        # 港股重要快讯

glh live watch                    # 实时监控（默认 10s 刷新）
glh live watch -i 5               # 每 5 秒刷新
glh live watch AStock             # 监控指定频道
```

### market — 行情

```bash
glh market index                  # 大盘指数（沪深港+纳斯达克+南北资金）
glh market flow                   # 南北资金流向

glh market hk                     # 港股涨跌幅排行（默认）
glh market hk -n 20               # 前 20 名
glh market hk turnoverValue       # 港股成交额排行
glh market hk turnVolume          # 港股成交量排行
glh market hk -o asc              # 反序（跌幅排行）
```

排行类型: `netChange`(涨跌幅) `turnoverValue`(成交额) `turnVolume`(成交量)

### 其他

```bash
glh channels                      # 列出所有快讯频道
```

## 作为模块使用

```js
import { liveList, homePageData, marketFlow, hkBoards } from '@openduo/gelonghui-cli'
import { CHANNELS, resolveChannel } from '@openduo/gelonghui-cli/constants'
```

## 开发

```bash
npm test           # 运行测试
npm link           # 本地开发链接
```

## License

MIT