open-index/open-npm huggingface dataset:
npm package: @hlsitech/memorify-setup
Description: One-command MCP setup for MemorifY - connects Claude Code to your memory server
Author: MemorifY
Latest version: 1.0.1

# memorify-setup

One-command MCP installer for MemorifY. Connects Claude Code to your MemorifY memory server in seconds.

## Usage

```bash
npx memorify-setup
```

That's it! The installer will:

1. **Generate a secure access token** - Creates a unique token for your device
2. **Open your browser** - Redirects to the authorization page
3. **Wait for approval** - Polls until you approve the connection
4. **Configure Claude Code** - Automatically adds the MCP server to your config

## What happens

When you run `npx memorify-setup`:

```
╔════════════════════════════════════════════╗
║     MemorifY - Claude Code Setup           ║
╚════════════════════════════════════════════╝

[1/4] Generating secure access token...
   Token ID: ABC123XY456Z

[2/4] Opening browser for authorization...
   Browser opened! Please approve the connection.

[3/4] Waiting for approval...
   ⠋ Waiting for approval in browser...
   Approved!

[4/4] Configuring Claude Code...

✓ Setup complete!
  Restart Claude Code to start using MemorifY.

  You can now use memory tools in Claude Code:
  • memory_create - Save new memories
  • memory_search - Search your memories
  • memory_list   - List all memories
```

## Requirements

- Node.js 18 or later
- Claude Code installed
- A MemorifY account

## Manual Setup

If automatic configuration fails, the installer will display the JSON configuration to add manually to `~/.claude.json`.

## Security

- Tokens are generated server-side with cryptographic randomness
- The raw token is never stored on the server (only a hash)
- Each token is tied to a specific session that requires your approval
- Tokens can be revoked at any time from the MemorifY dashboard

## Troubleshooting

### Browser doesn't open

If the browser doesn't open automatically, copy the URL shown in the terminal and open it manually.

### Claude CLI not found

The installer will fall back to directly writing the config file at `~/.claude.json`. Make sure this file is readable by Claude Code.

### Authorization timeout

The installer waits up to 5 minutes for approval. If you need more time, run the command again.

## License

MIT
npm package: @hlsrules-test/aws-lambda-brotli-unpacker
Description: Unpacks large Lambda binaries to /tmp
Author: Vlad Holubiev
Latest version: 1.0.1

# aws-lambda-brotli-unpacker [![CircleCI](https://circleci.com/gh/shelfio/aws-lambda-brotli-unpacker/tree/master.svg?style=svg&circle-token=a31c3d7699a00ad54a4a8c3fce9e8636973c81f3)](https://circleci.com/gh/shelfio/aws-lambda-brotli-unpacker/tree/master) ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)

> Unpacks large Lambda binaries to /tmp, such as Tesseract, LibreOffice, Google Chrome, etc

Inspired by [chrome-aws-lambda](https://github.com/alixaxel/chrome-aws-lambda)

Used in projects: [aws-lambda-tesseract](https://github.com/shelfio/aws-lambda-tesseract)

## Install

```
$ yarn add @shelf/aws-lambda-brotli-unpacker
```

Version 1.x works with Node 10.x & 12.x only. For Node 8.10 use v0.0.2

## Test

Needs Docker installed.

```
$ npm test
```

## Usage

> Q: Why do I need this package?

A: It helps if you want to deploy pre-compiled software to use in Lambda. See list of projects where it is used above.

> Q: Why bother?

A: Lambda environment has limited software installed. This package helps ship large binaries compiled for Lambda
which unpack to `/tmp` folder when Lambda starts.

> Q: Why `/tmp`?

A: Lambda has [500 MB of storage](https://docs.aws.amazon.com/lambda/latest/dg/running-lambda-code.html) in `/tmp`

> Q: Why brotli?

A: This compression algorithm is known for great speed/size ration. Perfect for scarce Lambda resources.

## Example

```js
const {unpack} = require('@shelf/aws-lambda-brotli-unpacker');
const {execSync} = require('child_process');

const inputPath = path.join(__dirname, '..', 'bin', 'tt.tar.br'); // for example, tesseract
const outputPath = '/tmp/tesseract/tesseract';

module.exports.handler = async event => {
  await unpack({inputPath, outputPath});

  execSync(`${outputPath} -l eng image.png`);
};
```

## License

MIT © [Shelf](https://shelf.io)
npm package: @hlw-uni/mp-cli
Description: uniapp 小程序脚手架生成器
Author: hlw2326
Latest version: 1.0.6

# @hlw-uni/mp-cli

UniApp 小程序脚手架生成器，通过交互式命令行快速创建基于 `@hlw-uni/*` 的 UniApp 项目。

## 安装

```bash
# 全局安装
npm install -g @hlw-uni/mp-cli

# 或直接使用 npx
npx @hlw-uni/mp-cli create my-project
```

## 命令

| 命令 | 说明 |
|------|------|
| `hlw-uni-mp create [name]` | 创建新项目（交互式引导） |
| `hlw-uni-mp create [name] --ci` | 非交互模式创建，使用默认选项 |
| `hlw-uni-mp add page <name>` | 添加新页面（自动注册到 pages.json） |
| `hlw-uni-mp add component <name>` | 添加新组件 |
| `hlw-uni-mp list` | 列出所有可用平台和模板 |
| `hlw-uni-mp --help` | 显示帮助信息 |

### create 命令选项

| 选项 | 说明 |
|------|------|
| `-p, --platform <platform>` | 指定平台 (`mp-weixin` / `mp-toutiao`) |
| `-t, --template <template>` | 指定模板 ID |
| `-d, --description <description>` | 项目描述 |
| `-a, --author <author>` | 作者名称 |
| `--ci` | 非交互模式，自动使用默认选项 |

## 使用示例

```bash
# 交互式创建（需在支持上下箭头选择的终端中运行）
hlw-uni-mp create

# 指定名称创建（非交互，自动使用默认平台和模板）
hlw-uni-mp create my-project

# 指定全部参数（非交互，自动使用指定选项）
hlw-uni-mp create -p mp-weixin -t template1 -d "我的项目" -a "作者名" my-project

# 非交互模式显式指定
hlw-uni-mp create --ci my-project

# 添加页面
hlw-uni-mp add page user

# 添加组件
hlw-uni-mp add component my-component

# 列出可用平台
hlw-uni-mp list
```

## 支持的平台

| 平台 | ID | 描述 |
|------|-----|------|
| 微信小程序 | `mp-weixin` | 微信小程序模板 |
| 抖音小程序 | `mp-toutiao` | 抖音小程序模板 |

## 模板

每个平台提供多种风格模板，创建项目时可选择。

生成的模板预配置：

- **Vite + uni-app** — 快速构建
- **Pinia** — 状态管理
- **@hlw-uni/mp-core** — HTTP 请求、Loading、Msg composables
- **@hlw-uni/mp-vite-plugin** — SCSS 主题、Auto-Import、环境变量注入
- **TypeScript** — 类型安全
- **easycom** — 组件自动扫描

## 项目结构

```
src/
├── App.vue
├── main.ts
├── manifest.json
├── pages.json
├── uni.scss
│
├── api/              # API 模块
│   └── index.ts
│
├── components/       # 业务组件
│
├── pages/            # 页面
│   ├── index/        # 首页
│   ├── user/         # 用户页
│   └── tools/        # 工具页
│
├── static/           # 静态资源
│
├── stores/           # Pinia Store
│   ├── user.ts
│   └── app.ts
│
└── styles/           # 全局样式
    ├── variables.scss
    └── common.scss

.env.development      # 开发环境变量
.env.production       # 生产环境变量
vite.config.ts        # Vite 配置（已集成 hlw-uni-plugin）
```

## 环境变量

```bash
# .env.development
VITE_API_BASE_URL=http://localhost:3000/api

# .env.production
VITE_API_BASE_URL=https://api.example.com/api
```

> `VITE_API_BASE_URL` 会被 `@hlw-uni/mp-vite-plugin` 注入到 `@hlw-uni/mp-core` 的 HTTP 请求中，作为 API 请求的基础地址。

## 快速开始

```bash
# 进入项目目录
cd my-project

# 安装依赖
npm install

# 开发微信小程序
npm run dev:mp-weixin

# 开发抖音小程序
npm run dev:mp-toutiao

# 构建微信小程序
npm run build:mp-weixin

# 构建抖音小程序
npm run build:mp-toutiao
```

## 依赖

```json
{
  "dependencies": {
    "chalk": "^4.1.2",
    "commander": "^11.1.0",
    "fs-extra": "^11.2.0",
    "inquirer": "^8.2.7",
    "ora": "^5.4.1"
  }
}
```