npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openclaw-life-mirror

v2.0.0-alpha.1

Published

Personal Digital Twin System - Your AI-powered life assistant for time redemption

Readme

OpenClaw Life Mirror

个人数字孪生系统 - 时间赎买的革命性技术

从单一的视频生成工具,进化为全能的个人 AI 助理

Version License Node


核心价值主张

时间赎买(Time Redemption): 将被 500+ 条消息、20+ 个应用撕裂的碎片化时间,重新整块化。

2035 年的人类每天面临严重的注意力碎片化,OpenClaw Life Mirror 是唯一能够:

  • 理解你的真实意图
  • 代表你处理重复任务
  • 保护你的专注时间
  • 学习你的个人偏好
  • 完全本地化保护隐私

四大核心场景

1. 视频生成(已完成)

自动化短视频生成:TTS + Whisper + Remotion

  • 成本:$0.003/15秒视频
  • 时间:30-80秒完成

2. 消息智能处理(开发中)

处理邮件、聊天、通知的洪流

  • 自动分类:urgent / important / normal / spam
  • 智能回复生成
  • 信息提取并自动执行

3. 日程智能管理(开发中)

时间块优化,减少碎片化

  • 会议冲突解决
  • 专注时间保护
  • 智能日程安排

4. 决策辅助系统(开发中)

代理交易与信息收集

  • 自动比价
  • 订阅优化
  • 谈判砍价

快速开始

安装

# 克隆项目
git clone https://github.com/ZhenRobotics/openclaw-life-mirror.git
cd openclaw-life-mirror

# 安装依赖
npm install

# 设置环境变量
cp .env.example .env
# 编辑 .env 文件,填入你的 OPENAI_API_KEY

基本使用

# 显示帮助
node cli.ts help

# 生成视频(使用现有功能)
node cli.ts process "生成视频:AI 改变世界,三个工具让效率提升十倍"

# 列出所有技能
node cli.ts skills

# 系统健康检查
node cli.ts health

# 查看统计
node cli.ts stats

视频生成示例

# 方式 1: 使用新的 CLI(推荐)
node cli.ts process "生成视频:微软说 Copilot 能写 90% 的代码。OpenAI 说 GPT-5 能替代程序员。但真相是什么?"

# 方式 2: 使用原有的脚本(向后兼容)
./generate-for-openclaw.sh "你的脚本内容"

# 查看生成的视频
mpv out/generated.mp4

系统架构

┌─────────────────────────────────────────────┐
│       OpenClaw Life Mirror Core             │
├─────────────────────────────────────────────┤
│  Intent Engine    │  Memory Store           │
│  Skill Registry   │  Privacy Layer          │
└─────────────────────────────────────────────┘
                    ↓
┌─────────────────────────────────────────────┐
│              Skill Modules                  │
├─────────────────────────────────────────────┤
│  ✅ Video Generation                        │
│  🚧 Message Handling                        │
│  🚧 Calendar Management                     │
│  🚧 Decision Support                        │
└─────────────────────────────────────────────┘
                    ↓
┌─────────────────────────────────────────────┐
│            External Services                │
├─────────────────────────────────────────────┤
│  OpenAI (TTS, Whisper, GPT)                │
│  Google Calendar / Gmail                    │
│  Telegram / Slack                           │
└─────────────────────────────────────────────┘

技术栈

核心:

  • TypeScript / Node.js
  • LLM: OpenAI GPT / Claude
  • 向量数据库: Qdrant / ChromaDB(规划中)

视频生成:

  • OpenAI TTS / Whisper
  • Remotion (React-based video rendering)

集成:

  • Gmail / Google Calendar
  • Telegram Bot
  • Slack API

项目状态

  • Phase 1: 基础架构设计(完成)
  • Phase 2: 视频生成技能(完成)
  • 🚧 Phase 3: 消息处理技能(进行中)
  • 📋 Phase 4: 日程管理技能(规划中)
  • 📋 Phase 5: 决策辅助技能(规划中)

当前版本: v2.0.0-alpha.1


核心特性

已实现

  • ✅ 意图理解引擎(基于规则 + LLM)
  • ✅ 技能插件系统
  • ✅ 视频生成技能(完整流水线)
  • ✅ CLI 命令行界面
  • ✅ 技能注册和匹配
  • ✅ 执行历史和反馈

开发中

  • 🚧 记忆系统(向量数据库)
  • 🚧 LLM Provider 实现
  • 🚧 消息处理技能
  • 🚧 日程管理技能
  • 🚧 隐私保护层

商业模式

订阅制

  • 免费版: 本地运行,基础功能
  • 个人版: $19/月 - 云端同步
  • 专业版: $49/月 - 无限使用

数据资产化

用户可选择出售脱敏数据,预计年收入 $500-2000

代理交易

砍价、比价、谈判,抽成 10%


开发指南

目录结构

openclaw-life-mirror/
├── core/                   # 核心引擎
│   ├── types.ts           # 类型定义
│   ├── intent/            # 意图理解
│   ├── memory/            # 记忆系统(TODO)
│   ├── decision/          # 决策引擎(TODO)
│   └── skills/            # 技能注册
├── skills/                 # 技能模块
│   └── video-generation/  # 视频生成技能
├── integrations/          # 第三方集成(TODO)
├── cli.ts                 # CLI 主程序
├── scripts/               # 工具脚本
└── docs/                  # 文档

添加新技能

  1. 创建技能文件:skills/your-skill/skill.ts
  2. 实现 ISkill 接口
  3. cli.ts 中注册技能

示例:

import { ISkill, IntentType, SkillResult } from '../../core/types'

export class YourSkill implements ISkill {
  name = 'your-skill'
  description = 'Your skill description'
  version = '1.0.0'

  trigger = {
    keywords: ['your', 'keywords'],
    intentTypes: [IntentType.QUERY],
  }

  capabilities = [/* ... */]

  async execute(context, params): Promise<SkillResult> {
    // 你的实现
  }
}

文档


贡献

欢迎贡献!请查看 RECONSTRUCTION_PLAN.md 了解项目规划。

开发流程

# Fork 项目
git clone https://github.com/your-username/openclaw-life-mirror.git

# 创建分支
git checkout -b feature/your-feature

# 开发和测试
npm run dev

# 提交 PR

路线图

Q1 2026 (当前)

  • [x] 基础架构设计
  • [x] 视频生成技能迁移
  • [ ] 消息处理技能(Gmail)
  • [ ] 记忆系统实现

Q2 2026

  • [ ] 日程管理技能
  • [ ] Telegram Bot 集成
  • [ ] 决策辅助原型
  • [ ] Web 界面

Q3-Q4 2026

  • [ ] 跨设备同步
  • [ ] 移动端应用
  • [ ] 数据资产化市场
  • [ ] 代理交易系统

许可证

MIT License - 详见 LICENSE


联系方式

  • GitHub: https://github.com/ZhenRobotics/openclaw-life-mirror
  • Issues: https://github.com/ZhenRobotics/openclaw-life-mirror/issues

致谢

本项目基于 openclaw-video 进化而来。

特别感谢:

  • OpenAI (TTS, Whisper, GPT)
  • Remotion (视频渲染)
  • 所有开源贡献者

让我们一起赎回被碎片化撕裂的时间!