Files
Memoh/docs
BBQ 29e6ddd1f9 refactor: replace global channel registry with instance-based Registry and interface-driven adapters
- Replace global channelRegistry singleton with explicit *Registry passed via dependency injection
- Split monolithic manager.go into connection.go (lifecycle), inbound.go (dispatch), outbound.go (pipeline)
- Introduce optional adapter interfaces: ConfigNormalizer, TargetResolver, BindingMatcher
- Move Descriptor() to Adapter interface, remove init()-based registration
- Relocate SessionHub to adapters/local package
- Extract shared UUID/time helpers to internal/db/uuid.go
- Decompose ConfigStore into fine-grained interfaces: ConfigLister, ConfigResolver, BindingStore, SessionStore
2026-02-06 23:47:12 +08:00
..
2026-02-02 23:34:43 +08:00
2026-01-12 19:01:19 +08:00
2026-01-12 18:59:18 +08:00

Memoh 文档

这是 Memoh 项目的官方文档。

本地开发

安装依赖:

pnpm install

启动开发服务器:

pnpm dev

文档将在 http://localhost:5173 运行。

构建

构建生产版本:

pnpm build

预览构建结果:

pnpm preview

部署

文档会在 docs/ 目录发生变化时自动部署到 GitHub Pages。

部署地址:https://memohai.github.io/Memoh/

手动部署

如果需要手动触发部署,可以在 GitHub Actions 页面选择 "Deploy Docs" workflow,然后点击 "Run workflow"。