open-index/open-npm huggingface dataset:
npm package: @gutenye/ocr-models
Description: Guten OCR is a high accurate text detection (OCR) Javascript/Typescript library that runs on Node.js, Browser, React Native and C++. Based on PaddleOCR and ONNX runtime
Latest version: 1.4.2

# Guten OCR

> [Demo](https://gutenye-ocr.netlify.app/) | [Roadmap](https://github.com/users/gutenye/projects/5/views/4)

**an OCR Javascript library runs on Node.js, Browser, React Native and C++** 

Based on [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) and [ONNX Runtime](https://github.com/microsoft/onnxruntime), supports PP-OCRv4 model

## Getting Started

### Node

> [Example](./packages/node/example/README.md)

```ts
bun add @gutenye/ocr-node
import Ocr from '@gutenye/ocr-node'
const ocr = await Ocr.create()
const result = await ocr.detect('a.jpg')
```

### Browser

> [Example](./packages/browser/example/README.md)

```ts
bun add @gutenye/ocr-browser
import Ocr from '@gutenye/ocr-browser'
const ocr = await Ocr.create({
  models: {
    detectionPath: '/assets/ch_PP-OCRv4_det_infer.onnx',
    recognitionPath: '/assets/ch_PP-OCRv4_rec_infer.onnx',
    dictionaryPath: '/assets/ppocr_keys_v1.txt'
  }
})
const result = await ocr.detect('/a.jpg')
```

### React Native

> [Example](./packages/react-native/example/README.md)

```ts
bun add @gutenye/ocr-react-native
import Ocr from '@guenye/ocr-react-native'
const ocr = await Ocr.create()
const result = await ocr.detect('a.jpg')
```

### C++

> [Example](./packages/react-native/cpp/example/README.md)

```cpp
#include "native-ocr.h"
NativeOcr* ocr = new NativeOcr(..)
auto result = ocr->detect("a.jpg");
```

### API Reference

```ts
Ocr.create({
  models?: {
    detectionPath: string
    recognitionPath: string
    dictionaryPath: string
  },
  isDebug?: boolean
  debugOutputDir?: string // Node only
  recognitionImageMaxSize?: number // RN only
  detectionThreshold?: number // RN only
  detectionBoxThreshold?: number // RN only
  detectionUnclipRatiop?: number // RN only
  detectionUseDilate?: boolean // RN only
  detectionUsePolygonScore?: boolean // RN only
  useDirectionClassify?: boolean // RN only
  onnxOptions?: {}       // Node only. Pass to ONNX Runtime
}): Promise<Ocr>

ocr.detect(imagePath, { 
  onnxOptions?: {}     // Node only. Pass to ONNX Runtime
}): Promise<Result>
```

## Development

- Requires Git LFS to clone the repo

```sh
brew install git-lfs 
git clone git@github.com:gutenye/ocr.git
```

- [Development](docs/Development.md)

## Related Projects

| Name                                                           | Platforms | Note                            |
| -------------------------------------------------------------- | --------- | ------------------------------- |
| [eSearch-OCR](https://github.com/xushengfeng/eSearch-OCR)      | Electron  |                                 |
| [paddleocr-onnx](https://github.com/backrunner/paddleocr-onnx) | Node      | Recogination part is incomplete |
| [ocrjs](https://github.com/SOVLOOKUP/ocrjs)                    | Node      | Recogination part is incomplete |
| [Paddle-Lite-Demo](https://github.com/PaddlePaddle/Paddle-Lite-Demo) | Mobile, C++ | |
npm package: @gutenye/react-icon-base
Description: base element for react-icons
Author: Goran Gajic
Latest version: 2.0.7

## react-icon-base

[![npm][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/react-icon-base.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/react-icon-base

base element for [react-icons](https://github.com/gorangajic/react-icons)

### Installation

```
npm install react-icon-base --save
```


### Usage

```js
import { default as React } from 'react'
import { default as IconBase } from 'react-icon-base'

export default class FaHeart extends React.Component {
    render() {
        return (
            <IconBase viewBox="0 0 1792 1896.0833" {...this.props}>
                <g><path d="m896 1664q-26 0-44-18l-624-602q-10-8-27.5-26t-55.5-65.5-68-97.5-53.5-121-23.5-138q0-220 127-344t351-124q62 0 126.5 21.5t120 58 95.5 68.5 76 68q36-36 76-68t95.5-68.5 120-58 126.5-21.5q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18z"/></g>
            </IconBase>
        )
    }
}
```

### Configuration
You can configure react-icon-base props in context.

```js
class HigherOrderComponent extends Component {

    static childContextTypes = {
        reactIconBase: PropTypes.object
    };

    getChildContext() {
        return {
            reactIconBase: {
                color: 'tomato',
                size: 24,
                style: {
                    ...
                }
            }
        }
    }

    render() {
        ...
    }
}
```

Context can be overriden inline, like so:

```js
<Icon size={30} color='aliceblue' style={{ ... }} />
```

### Licence

MIT
npm package: @gutenye/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.0.1710

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @gutianhuang/gm-cli
Description: A cli tool kit for daily use
Author: Gu-Miao
Latest version: 1.0.2

# @gutianhuang/gm-cli

A cli tool kit for daily use based on commander.

## Install

```bash
npm i @gutianhuang/gm-cli -g
# Or use yarn
yarn global add @gutianhuang/gm-cli
```

## Commands

### `gm-cli init <projectName>`

Create a new project, `process.cwd()/projectName` must not exist.

### `gm-cli st`

Show all the templates:

- h5

| name              | homepage                                   | author                      |
| ----------------- | ------------------------------------------ | --------------------------- |
| html5-boilerplate | https://github.com/h5bp/html5-boilerplate  | h5bp <https://h5bp.org>     |
| component-maker   | https://github.com/Gu-Miao/component-maker | Gu-Miao <1450206741@qq.com> |

- react

| name                       | homepage                                               | author                                          |
| -------------------------- | ------------------------------------------------------ | ----------------------------------------------- |
| react-template-ejected-cra | https://github.com/Gu-Miao/react-template-ejected-cra  | Gu-Miao <1450206741@qq.com>                     |
| react-template-antd-craco  | https://github.com/Gu-Miao/react-template-antd-craco   | Gu-Miao <1450206741@qq.com>                     |
| react-boilerplate          | https://github.com/react-boilerplate/react-boilerplate | react-boilerplate <http://reactboilerplate.com> |

- vue

There is no vue template yet.

- svelte

There is no svelte template yet.

## Options

### `gm-cli -V --version`

Show version of CLI.

### `gm-cli -h --help`

Display help for CLI.

## License

[MIT](./LICENSE)
npm package: @guuguo/ai-providers
Description: 通用 AI Provider 封装，支持 OpenAI/Claude/Gemini，流式输出、图片生成、JSON 结构化输出
Latest version: 0.1.0

# @guuguo/ai-providers

通用 AI Provider 封装，支持 OpenAI / Claude / Gemini，可在任意 Node.js 项目中复用。

## 特性

- **多 Provider 支持**：OpenAI 兼容（含 DeepSeek、极客智坊等）、Claude、Gemini
- **流式输出**：所有 Provider 统一的 `streamContent` 接口
- **图片生成**：OpenAI (DALL-E / GeekAI) 和 Gemini 图片生成
- **图片分析**：Gemini 视觉模型、OpenAI GPT-4V 多模态
- **JSON 结构化输出**：`generateJSON` + `generateJSONWithImage`
- **代理支持**：自动检测 `HTTPS_PROXY` 环境变量，带重试
- **零耦合**：不依赖 Electron、数据库等业务框架，通过接口注入扩展

## 安装

本包通过 npm workspace 在 monorepo 中使用：

```json
// 根 package.json
{
  "workspaces": ["packages/*"],
  "dependencies": {
    "@guuguo/ai-providers": "*"
  }
}
```

## 使用示例

### 基础文本生成

```typescript
import { OpenAIProvider } from '@guuguo/ai-providers'

const ai = new OpenAIProvider({
  model: 'gpt-4o',
  apiKey: 'sk-xxx'
})

// 非流式
const result = await ai.generateContent('你好')

// 流式
await ai.streamContent('你好', (chunk) => {
  process.stdout.write(chunk)
})
```

### Claude

```typescript
import { ClaudeProvider } from '@guuguo/ai-providers'

const claude = new ClaudeProvider({
  model: 'claude-sonnet-4-20250514',
  apiKey: 'sk-ant-xxx'
})

const result = await claude.streamContent('分析这段代码', (chunk) => {
  process.stdout.write(chunk)
})
```

### Gemini（含图片生成）

```typescript
import { GeminiProvider } from '@guuguo/ai-providers'

const gemini = new GeminiProvider({
  apiKey: 'AIza...',
  modelName: 'gemini-2.0-flash-exp'
})

// 文本生成
const text = await gemini.generateContent('你好')

// 图片生成
const image = await gemini.generateImage({
  prompt: '一只可爱的猫咪',
  aspectRatio: '1:1'
})
```

### 注入自定义图片解析器

```typescript
import { OpenAIProvider, ImageResolver } from '@guuguo/ai-providers'

const myImageResolver: ImageResolver = {
  getBase64Url(imageId) {
    // 从你的存储系统加载图片
    return `data:image/jpeg;base64,${loadFromDB(imageId)}`
  },
  getImageInfo(imageId) {
    return { mimeType: 'image/jpeg', fileSize: 1024 }
  }
}

const ai = new OpenAIProvider(
  { model: 'gpt-4o', apiKey: 'sk-xxx' },
  { imageResolver: myImageResolver }
)
```

### 注入自定义 Logger

```typescript
import { setLoggerFactory, OpenAIProvider } from '@guuguo/ai-providers'
import { createLogger as createElectronLogger } from 'electron-log'

// 全局替换 Logger 工厂
setLoggerFactory((module) => ({
  debug: (msg, data) => electronLog.debug(`[${module}] ${msg}`, data),
  info: (msg, data) => electronLog.info(`[${module}] ${msg}`, data),
  warn: (msg, data) => electronLog.warn(`[${module}] ${msg}`, data),
  error: (msg, data) => electronLog.error(`[${module}] ${msg}`, data),
  start: (op) => { /* ... */ }
}))
```

## API

### 通用接口

```typescript
interface AIProvider {
  name: string
  generateContent(prompt: string, systemInstruction?: string): Promise<string>
  generateJSON<T>(prompt: string, schema?: any, systemInstruction?: string): Promise<T>
  streamContent(prompt: string, onChunk: (chunk: string) => void, systemInstruction?: string): Promise<string>
}
```

### Peer Dependencies

- `@google/genai` - Gemini Provider 需要（可选）
- `undici` - 代理支持需要（可选）
npm package: @guuguo/glass-ui
Description: 微玻璃拟态 React 组件库，支持亮色/暗色主题，基于 TailwindCSS
Latest version: 0.2.0

# Glass UI Library
微玻璃拟态 (Micro Glassmorphism) 风格的 React 组件库，基于 TailwindCSS 构建。

## 设计理念
- **Modern**: 现代、轻量、通透。
- **Dark Mode**: 原生支持深色模式。
- **Atomic**: 基于 Design Tokens 构建。

## 目录结构
| Path | Function | Note |
|------|----------|------|
| `src/` | 源代码 | 包含 components, hooks, tokens。 |
| `dist/` | 构建产物 | library output。 |
| `node_modules/` | 依赖 | npm dependencies。 |

## 开发指南
- 运行 `npm run dev` 启动 storybook 或 playground (如有)。
- 运行 `npm run build` 打包。

> ⚠️ 系统指令：一旦本目录结构、子模块或文件职责发生变化，请务必更新本文件。
npm package: @guulabs/react-native-app-badge
Description: App badge for iOS.
Author: Cristian Gutu
Latest version: 0.4.3

# @guulabs/react-native-app-badge

App badge for iOS.
Compatible with the new architecture.

![image info](./ios-badge-screenshot.png)

## Installation

```sh
yarn add @guulabs/react-native-app-badge
```

## Usage

```js
import { setAppBadgeCount } from '@guulabs/react-native-app-badge';

// ...

// Set badge
setAppBadgeCount(3)

// Clear badge
setAppBadgeCount(0)
```


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @guulabs/react-native-local-notifications
Description: Send local notifications on iOS and Android.
Author: Cristian Gutu
Latest version: 0.4.0

<a href="https://guulabs.com">
  <img src="./docs/cover.png" width="100%" />
</a>

<div align="center">

  <h1>
    @guulabs/react-native-local-notifications <br/> <br/>
  </h1>

  <b>Schedule local notifications from React Native on iOS and Android.</b>
</div>

## Installation

```sh
yarn add @guulabs/react-native-local-notifications
```

## Usage

```js
import {
  scheduleNotification,
  cancelScheduledNotifications,
  cancelAllScheduledNotifications,
} from '@guulabs/react-native-local-notifications';

// ...

const id = await scheduleNotification(
  {
    title: 'Title',
    body: 'This is the body of the local notification.',
  },
  {
    timestamp: Date.now() + 5000,
  }
);

// Cancel a list of notification ids
await cancelScheduledNotifications([id, "another_id1", "another_id2"]);

// Cancel all
await cancelAllScheduledNotifications();
```
## Android

Set a custom icon and set an accent color.
```js
const id = await scheduleNotification(
  {
    title: 'Title',
    body: 'This is the body of the local notification.',
    android: {
      smallIcon: 'ic_launcher',
      color: '#0000ff',
    }
  },
  {
    timestamp: Date.now() + 5000,
  }
);
```

## API

| Param name | Type                                         | Default                        | Description                                                                                              |
|------------|----------------------------------------------|--------------------------------|----------------------------------------------------------------------------------------------------------|
| title      | `string`                                     |    -                           | Title of the local notification.       |
| body       | `string`                                     |    -                           |  The body for the local notification.  |
| android    | ` { smallIcon: string, color: string } `     | `{ smallIcon: 'ic_launcher' }` | Use `smallIcon` to set a custom resource name (drawable or mipmap) for the notification icon on Android. </br> Use `color` to set a hex accent color for the notification on Android. |
| timestamp  | `number`                                     |    -                           | The date in milliseconds when the local notfication should be dispatched. |

## Should I use it?

This library was desinged to minimize the JS footprint, it contains only a few fuctions defined on the JS side. If your use case requires more than sending some simple local notifications, I strongly advive to use [Notifee](https://github.com/invertase/notifee). 

## Show your support

* 🏋️‍♂️ Follow me on Twitter [@GutuCristian](https://twitter.com/GutuCristian) or [LinkedIn](https://www.linkedin.com/in/cristiangutu/) for updates.
* ⭐️ Star this repo.

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)