feat(api): publish OpenAPI contract and refresh Go server docs Serve the embedded OpenAPI 3.1 document publicly with GET and HEAD. Add route, DTO and response contract regression checks. Refresh bilingual API, deployment, configuration and bot documentation. Fix documentation language navigation and record sync batch limitations.
feat(api): publish OpenAPI contract and refresh Go server docs
Serve the embedded OpenAPI 3.1 document publicly with GET and HEAD. Add route, DTO and response contract regression checks. Refresh bilingual API, deployment, configuration and bot documentation. Fix documentation language navigation and record sync batch limitations.
English | 简体中文
“整合自己散落的碎片”
一款结合笔记与情感可视化的数字第二大脑,帮助你记录思绪、追踪情绪、整合琐碎的生活碎片
我发现即使每天我都有一些让我印象深刻的时刻,但是在一段时间后都会渐渐忘记,于是我希望开发一个APP,用来整理我琐碎的生活碎片,让我在之后看到会回想起当时的情景和心情,于是Mosaic就诞生了
智能笔记系统
情绪日记
跨平台支持
iOS 已完成适配测试,待加入 Apple Developer Program 后发布。Will do.
https://github.com/user-attachments/assets/982fb136-55f1-4412-96c6-8d2d3e9937e2
Mosaic/ ├── mobile/ # Expo 移动应用 ├── server-go/ # Go 后端服务(生产环境) ├── server/ # Rust 后端(参考实现)+ 共享管理后台 ├── packages/ # 共享包 │ ├── api/ # API 类型定义 │ └── utils/ # 工具函数 └── docs/ # 文档
server-go/
server/
mkdir mosaic-server
cd mosaic-server
.env
docker-compose.yml
docker-compose up -d
chown -R 1000:1000 ~/mosaic-server/storage ~/mosaic-server/logs
生产后端位于 server-go/。接口说明见 API 文档, 机器可读契约见 OpenAPI 3.1 规范。 更新后的 Go 二进制通过公开的 /openapi.json 提供规范(GET 和 HEAD)。
/openapi.json
本项目基于 AGPL-3.0 license 开源
A digital second brain that combines note-taking with deep emotional visualization.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
Mosaic
English | 简体中文
一款结合笔记与情感可视化的数字第二大脑,帮助你记录思绪、追踪情绪、整合琐碎的生活碎片
项目来源
我发现即使每天我都有一些让我印象深刻的时刻,但是在一段时间后都会渐渐忘记,于是我希望开发一个APP,用来整理我琐碎的生活碎片,让我在之后看到会回想起当时的情景和心情,于是Mosaic就诞生了
核心功能
智能笔记系统
情绪日记
跨平台支持
演示
https://github.com/user-attachments/assets/982fb136-55f1-4412-96c6-8d2d3e9937e2
目录结构
技术架构
server-go/为生产后端server/中的 Rust + Actix Web + SQLx,读取同一套数据库结构、遵循同一份接口契约;该目录同时存放 Go 镜像构建时复用的共享管理后台使用方法
mkdir mosaic-servercd mosaic-server.env文件,内容参考 .env.example,并根据你的需要修改其中的配置项(记得修改账号名称和密码)docker-compose.yml文件,直接复制 docker-compose.yml 即可docker-compose up -d启动即可chown -R 1000:1000 ~/mosaic-server/storage ~/mosaic-server/logs修复目录权限API 文档
生产后端位于
server-go/。接口说明见 API 文档, 机器可读契约见 OpenAPI 3.1 规范。 更新后的 Go 二进制通过公开的/openapi.json提供规范(GET 和 HEAD)。开源协议
本项目基于 AGPL-3.0 license 开源