{"id":28577048,"url":"https://github.com/biubush/simplenote","last_synced_at":"2026-04-29T15:05:49.023Z","repository":{"id":297219713,"uuid":"987676872","full_name":"Biubush/SimpleNote","owner":"Biubush","description":"SimpleNote是一个基于Qt开发的轻量级便签应用程序，提供简洁易用的界面和强大的文本编辑功能","archived":false,"fork":false,"pushed_at":"2025-06-04T12:42:38.000Z","size":664,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T19:07:40.596Z","etag":null,"topics":["momo","note","qt","sticky-notes"],"latest_commit_sha":null,"homepage":"https://github.com/Biubush/SimpleNote/releases","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Biubush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-21T12:26:55.000Z","updated_at":"2025-06-04T12:42:40.000Z","dependencies_parsed_at":"2025-06-04T19:07:46.933Z","dependency_job_id":"6f706d23-f26e-49b0-9df6-fcb8bf110baf","html_url":"https://github.com/Biubush/SimpleNote","commit_stats":null,"previous_names":["biubush/simplenote"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biubush%2FSimpleNote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biubush%2FSimpleNote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biubush%2FSimpleNote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biubush%2FSimpleNote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Biubush","download_url":"https://codeload.github.com/Biubush/SimpleNote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biubush%2FSimpleNote/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259172982,"owners_count":22816560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["momo","note","qt","sticky-notes"],"created_at":"2025-06-11T00:08:56.434Z","updated_at":"2026-04-29T15:05:43.981Z","avatar_url":"https://github.com/Biubush.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleNote - 简单便签应用程序\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"icons/simplenote.png\" alt=\"SimpleNote 图标\" width=\"120\"\u003e\n\u003c/div\u003e\n\nSimpleNote是一个基于Qt开发的轻量级便签应用程序，提供简洁易用的界面和强大的文本编辑功能。\n\n## 功能特性\n\n- 创建、编辑、保存和删除便签\n- 支持富文本格式（粗体、斜体、下划线）\n- 支持图片插入和查看\n- 便签列表显示，包含标题和更新时间\n- 便签内容自动保存\n- 便签窗口置顶功能\n- 便签搜索功能\n- 支持独立编辑窗口\n- **WebDAV云同步功能**，支持便签数据和图片的云端备份与同步\n\n## 界面展示\n\n### 便签列表\n\n便签列表采用卡片式设计，显示便签标题和更新时间，支持便签搜索功能。\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"imgs/list.png\" alt=\"便签列表界面\" width=\"350\"\u003e\n  \u003cp\u003e\u003ci\u003e便签列表界面\u003c/i\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n### 便签编辑器\n\n编辑界面支持富文本编辑，包括文本格式设置和图片插入功能。\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"imgs/editor.png\" alt=\"便签编辑界面\" width=\"350\"\u003e\n  \u003cp\u003e\u003ci\u003e便签编辑界面\u003c/i\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n### 图片查看\n\n支持点击查看插入的图片，并可调整图片大小。\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"imgs/picture.png\" alt=\"图片查看功能\" width=\"450\"\u003e\n  \u003cp\u003e\u003ci\u003e图片查看功能\u003c/i\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n### WebDAV云同步\n\n支持通过WebDAV协议将便签数据和图片同步到云端服务器，实现多设备数据共享。\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"imgs/sync.png\" alt=\"图片查看功能\" width=\"450\"\u003e\n  \u003cp\u003e\u003ci\u003eWebDAV同步配置界面\u003c/i\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## 技术架构\n\n### 核心组件\n\n1. **MainWindow** - 主窗口类，负责程序启动和界面初始化\n2. **NoteListWidget** - 便签列表组件，显示所有便签并支持搜索\n3. **NoteEditWidget** - 便签编辑组件，支持富文本编辑和图片插入\n4. **NoteDatabase** - 数据库操作类，处理便签的存储和检索\n5. **Note** - 便签数据模型，定义便签的基本结构\n6. **WebDAVSyncManager** - WebDAV同步管理器，处理云端同步逻辑\n7. **WebDAVConfigDialog** - WebDAV配置界面，提供用户友好的同步设置\n\n### 数据存储\n\n- 使用SQLite数据库存储便签数据\n- 图片文件存储在本地文件系统\n- 通过WebDAV协议实现云端数据备份和同步\n\n## 项目结构\n\n```\nSimpleNote/\n├── main.cpp              # 程序入口\n├── SimpleNote.pro        # Qt项目文件\n├── SimpleNote.rc         # Windows资源文件\n├── resources.qrc         # Qt资源文件\n├── mainwindow.h/cpp      # 主窗口实现\n├── notelistwidget.h/cpp  # 便签列表组件\n├── noteeditwidget.h/cpp  # 便签编辑组件\n├── notedatabase.h/cpp    # 数据库操作类\n├── note.h/cpp            # 便签数据模型\n├── webdavsyncmanager.h/cpp # WebDAV同步管理器\n├── webdavconfigdialog.h/cpp # WebDAV配置对话框\n├── mainwindow.ui         # 主窗口UI设计\n├── notelistwidget.ui     # 便签列表UI设计\n├── noteeditwidget.ui     # 便签编辑器UI设计\n├── webdavconfigdialog.ui # WebDAV配置UI设计\n├── QtWebDAV/             # QtWebDAV库\n│   ├── qwebdav.h/cpp     # WebDAV客户端实现\n│   ├── qwebdavdirparser.h/cpp # WebDAV目录解析器\n│   ├── qwebdav_global.h  # WebDAV全局定义\n│   └── QtWebDAV.pri      # WebDAV库项目包含文件\n├── icons/                # 应用图标资源\n│   ├── simplenote.ico    # Windows图标\n│   └── simplenote.png    # 通用图标\n├── imgs/                 # 文档图片资源\n│   ├── editor.png        # 编辑器界面示例\n│   ├── list.png          # 列表界面示例\n│   └── picture.png       # 图片查看示例\n└── .github/              # GitHub相关配置\n    └── workflows/        # GitHub Actions工作流\n        └── release.yml   # 自动构建与发布配置\n```\n\n## 界面设计\n\n- 主窗口采用简洁的卡片式设计\n- 便签列表使用自定义代理绘制美观的便签卡片\n- 编辑窗口支持富文本编辑和图片展示\n- WebDAV配置界面简洁明了，易于设置\n- 统一的视觉风格和交互体验\n\n## 编译与运行\n\n### 环境要求\n\n- Qt 5.15或更高版本\n- 支持C++17的编译器\n- Qt SQL模块支持\n- Qt Network模块支持（用于WebDAV同步）\n\n### 编译步骤\n\n1. 使用Qt Creator打开SimpleNote.pro文件\n2. 配置编译环境\n3. 点击构建按钮编译项目\n4. 运行应用程序\n\n### 自动构建与发布\n\n本项目配置了GitHub Actions自动构建与发布功能，当推送带有`v`前缀的标签（如`v1.0.0`）时，会自动构建Windows和Ubuntu版本并创建Release。\n\n详细说明请参考[GitHub Action自动发布说明](docs/github-action-usage.md)。\n\n## 功能使用说明\n\n### 创建新便签\n\n点击便签列表顶部的\"+\"按钮创建新便签。\n\n### 编辑便签\n\n点击便签列表中的任意便签打开编辑窗口，可以编辑标题和内容。便签内容支持富文本格式，可以使用工具栏按钮设置文本格式。\n\n### 插入图片\n\n可以通过复制图片并在编辑器中粘贴来插入图片。点击图片可以查看原始大小。\n\n### 便签置顶\n\n在编辑窗口右上角点击置顶按钮，可以使便签窗口始终保持在其他窗口之上。\n\n### 搜索便签\n\n在便签列表顶部的搜索框中输入关键词，可以快速查找包含该关键词的便签。\n\n### WebDAV云同步\n\n#### 配置同步\n\n1. 点击主界面中的\"云同步\"按钮打开WebDAV配置对话框\n2. 输入WebDAV服务器地址、端口号、用户名和密码\n3. 设置远程文件夹路径（默认为\"/SimpleNote\"）\n4. 选择同步方向（双向、仅上传、仅下载）\n5. 设置是否启用自动同步及同步间隔\n6. 点击\"测试连接\"按钮验证配置是否正确\n7. 点击\"确定\"保存配置\n\n#### 手动同步\n\n点击主界面中的\"立即同步\"按钮手动触发同步过程。\n\n#### 同步状态\n\n同步过程中会显示进度信息，同步完成后会显示成功或失败状态。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiubush%2Fsimplenote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiubush%2Fsimplenote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiubush%2Fsimplenote/lists"}