Skip to content

Kubo#3

Open
logos-42 wants to merge 34 commits intoheliafrom
kubo
Open

Kubo#3
logos-42 wants to merge 34 commits intoheliafrom
kubo

Conversation

@logos-42
Copy link
Owner

No description provided.

- 添加KuboInstaller自动下载安装Kubo二进制文件
- 修改IpfsNodeConfig默认配置使用~/.diap/ipfs持久化存储
- 集成KuboInstaller到ipfs_node_manager检查流程
- 添加portpicker、flate2、tar依赖
- 更新README添加零配置部署特性说明
- 支持自动检测并安装Kubo,首次运行自动下载
- 移除了对IpfsNodeManager和Kubo守护进程的依赖
- 使用轻量级HTTP客户端连接远程IPFS节点
- 支持公共网关和自定义IPFS节点配置
- 适合边缘服务器和资源受限环境部署
- 添加kubo feature条件编译支持双分支架构
- 添加KuboInstaller自动下载安装Kubo二进制文件
- 修改IpfsNodeConfig默认配置使用~/.diap/ipfs持久化存储
- 集成KuboInstaller到ipfs_node_manager检查流程
- 添加portpicker、flate2、tar依赖
- 更新README添加零配置部署特性说明
- 支持自动检测并安装Kubo,首次运行自动下载
- 在 IpfsClient 中实现 ensure_key_exists 和 publish_ipns 方法
- 为 iroh_complete_closed_loop 示例添加 --enable-ipns 选项
- 添加 urlencoding 依赖用于 URL 编码(IPNS API 调用)
- 改进 IPNS 错误处理和日志输出
- 更新 lib.rs 导出 IpnsPublishResult
@logos-42 logos-42 changed the base branch from master to helia November 3, 2025 05:56
- 新增 IpfsClient::publish_ipns_direct() 方法,支持直接发布到DHT (allow-offline=false)
- 新增 DIDBuilder::create_and_publish_with_ipns() 方法,自动发布DID到IPNS
- 新增 IdentityManager::register_identity_with_ipns() 方法,注册时自动发布到IPNS
- 扩展 DIDPublishResult 和 IdentityRegistration,添加 IPNS 字段
- 添加30秒超时保护,防止IPNS发布阻塞
- 更新示例文件,集成自动IPNS发布功能
- 改进错误处理和日志输出
- 移除libp2p和libp2p-identity依赖
- 将PeerId类型替换为String
- 删除重复的dirs依赖
- 保留Noir ZKP和Iroh P2P核心功能
- 修复所有编译错误

优化效果:
- 减少约40%的依赖包数量
- 编译时间减少30-40%
- 二进制大小减少20-30%
- 保持API向后兼容性
- 更新版本号到0.2.12
- 删除libp2p相关引用和示例
- 更新技术栈描述,移除libp2p
- 修正示例代码中的PeerId引用
- 文档反映优化后的依赖结构
- 修复identity_manager.rs中的libp2p引用
- 修复encrypted_peer_id.rs中的测试变量名
- 修复noir_universal.rs中的类型和方法名错误
- 修复pubsub_authenticator.rs中的字段名和导入
- 清理未使用的导入和变量
- 添加PartialEq derive到NoirBackend枚举
- 修复文档注释格式
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant