open-index/open-npm huggingface dataset:
npm package: @mygulamali/hijri_date
Description: NodeJS module to encapsulate Hijri date.
Author: Murtaza Gulamali
Latest version: 0.0.2

# hijri_date

## Introduction

A JavaScript (ES6) class to encapsulate the Hijri date.

## Development

### Testing

[Jest] is used to test this codebase.

Use `npm run test` to run the test suite.

[Jest]: https://jestjs.io "Jest"

### Linting

[Standard] is used to lint and format this codebase according to the
[default rules].

Use `npm run lint` to lint and format the code.

[standard]: https://standardjs.com "Standard"
[default rules]: https://standardjs.com/rules "Standard's default rules"

### Documentation

[JSDoc] based documentation is embedded in the source code. The
[jsdoc-to-markdown] processor is used to generate [Markdown] in the
[`DOCUMENTATION.md`](./DOCUMENTATION.md) file from the [JSDoc].

Use `npm run docs` to generate the documentation.

[JSDoc]: https://jsdoc.app "JSDoc"
[jsdoc-to-markdown]: https://github.com/jsdoc2md/jsdoc-to-markdown "jsdoc-to-markdown"
[Markdown]: https://www.markdownguide.org "Markdown guide"

## License

This software is released under the terms and conditions of [The MIT License].
Please see the `LICENSE` file for more details.

[The MIT License]: http://www.opensource.org/licenses/mit-license.php "MIT License"
npm package: @mygzb/openclaw-gzb
Description: OpenClaw GZB IM channel plugin - GZB企业即时通讯平台集成
Author: Mai
Latest version: 1.0.0

# OpenClaw GZB Channel Plugin

将GZB企业即时通讯平台集成到OpenClaw的Channel插件。

## 功能特性

- ✅ 支持多种密码加密算法（MD5、HmacSHA256、GZB_ENCRYPTION）
- ✅ WebSocket长连接管理
- ✅ 消息收发（私聊、群聊）
- ✅ 媒体文件上传/下载
- ✅ 健康检查
- ✅ 用户/群组目录服务
- ✅ Token自动刷新
- ✅ RPC Header认证支持

## 安装

请参阅 **[安装指南](./INSTALL.md)** 获取详细的安装和配置说明。

### 快速开始

1. **复制到OpenClaw扩展目录**
```bash
cp -r openclaw-gzb ~/.nvm/versions/node/v24.11.0/lib/node_modules/openclaw/extensions/gzb
cd ~/.nvm/versions/node/v24.11.0/lib/node_modules/openclaw/extensions/gzb
pnpm install
```

2. **配置 `~/.openclaw/openclaw.json`**
```json
{
  "channels": {
    "gzb": {
      "enabled": true,
      "domain": "your-gzb-server.com",
      "account": "your-account",
      "password": "your-password",
      "algorithm": "MD5",
      "clientType": "AI"
    }
  }
}
```

3. **重启Gateway**
```bash
openclaw gateway restart
```

## 模块结构

```
src/
├── types.ts       # 类型定义
├── config.ts      # 配置解析
├── crypto.ts      # 密码加密工具
├── jsonrpc.ts     # JSON-RPC客户端（支持x-rpc-method/x-rpc-scope Header）
├── connection.ts  # 连接管理器
├── monitor.ts     # WebSocket连接监控
├── send.ts        # 消息发送
├── media.ts       # 媒体文件处理
├── probe.ts       # 健康检查
├── directory.ts   # 目录服务
└── channel.ts     # Channel插件定义
```

## 开发

### 编译

```bash
pnpm run build
```

### 测试

```bash
# 基础功能测试
pnpm exec tsx test.ts

# 连接测试
pnpm exec tsx test-connection.ts
```

## 使用示例

### 发送消息

```typescript
// 发送给指定用户
await message.send({
  channel: "gzb",
  target: "user:13800138000",
  message: "Hello!"
});

// 发送到群组
await message.send({
  channel: "gzb",
  target: "chat:group123",
  message: "Hello Group!"
});
```

### 发送媒体

```typescript
// 发送图片
await message.send({
  channel: "gzb",
  target: "user:13800138000",
  media: "/path/to/image.jpg"
});
```

## 认证说明

GZB RPC接口需要额外的HTTP Header进行授权：
- `x-rpc-method`: 调用的方法名（如 `org.user.auth`）
- `x-rpc-scope`: 权限范围（从方法名提取，如 `org.user`）

这些Header已自动在 `jsonrpc.ts` 中处理。

## 注意事项

1. **WebSocket连接**：消息发送需要活跃的WebSocket连接，确保Gateway已启动
2. **Token刷新**：Token过期后会自动重新认证
3. **密码安全**：建议使用`encryptedPassword`而非明文`password`
4. **RPC Header**：所有RPC请求会自动添加 `x-rpc-method` 和 `x-rpc-scope` Header

## 测试状态

✅ 已通过实际连接测试：
- RPC认证 ✅
- WebSocket连接 ✅
- 会话建立 ✅
- Ping保活 ✅
- 消息收发 ✅

## 许可证

MIT
npm package: @myhealth-belgium/design-kit
Description: The MyHealth belgium.be design kit is used for developing web components to integrate with MyHealth.belgium.be.
Author: My Health
Latest version: 4.1.4

# MyHealth - Angular design kit

The MyHealth design kit is used for developing web components to integrate with MyHealth.belgium.be.

In this current version, the design kit only works with SCSS and Angular. The design kit is meant to be used with Angular Material and will modify the Angular Material system to fit MyHealth's style.

## **Installation**

```bash
npm install @myhealth-belgium/design-kit @angular/material
```

## **Importing the Design Kit in SCSS**

In your project's main SCSS file, include MH's core like so:

```scss
@use '@myhealth-belgium/design-kit' as mh;

@include mh.core($use-material: true, $symbols-font-url: url('assets/fonts/MatSymbols-Rounded.ttf'));
```

The options passed to `mh.core()` are `$use-material` and `$symbols-font-url`, which are defaulted to `$use-material: true` and a default font path for the symbols if not specified.

If `$use-material: true` is added, the mixin will initialize Angular Material with MH's house style.
Make sure to **not** import Angular Material into your application when this option is enabled. Including the mixin will include Angular Material for you.

For `$symbols-font-url`, specificy the url path to your local fonts **TrueType Font** file, f.e.: `url('assets/fonts/MatSymbols-Rounded.ttf')`.

### Mixins & optimization

To optimize the Design Kit and make packages as small as possible, you can choose to include a select amount of mixins to suit your application's needs.

For a full description on all the utilized mixins, please visit our [Storybook mixins & optimization page](https://smals-belgium.github.io/myhealth-storybook-design-kit/?path=/docs/foundations-mixins-optimization--docs).

### MyHealth component overrides

You can override each component with MyHealth's styling individually. Or you can also import **all** these components **at once** with this SCSS mixin:

```scss
...

@include mh.override-all-mat-components();
```

For a full guide on how to add these components individually, please visit our [Storybook components page](https://smals-belgium.github.io/myhealth-storybook-design-kit/?path=/docs/angular-components).

### MyHealth variables

For more information about how to use the MH design kit, please visit our [Storybook](https://smals-belgium.github.io/myhealth-storybook-design-kit/).