diff --git a/README.md b/README.md index bc9e221..8d08da7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 浪子博客 :link: https://jkjoy.github.io/blog ### :page_facing_up: [2](https://jkjoy.github.io/blog/tag.html) ### :speech_balloon: 0 -### :hibiscus: 586 -### :alarm_clock: 2024-10-18 16:13:52 +### :hibiscus: 896 +### :alarm_clock: 2024-10-18 16:25:04 ### Powered by :heart: [Gmeek](https://github.com/Meekdai/Gmeek) diff --git "a/backup/\344\270\272moments\345\242\236\345\212\240\344\270\200\344\270\252\350\257\204\350\256\272\351\200\232\347\237\245.md" "b/backup/\344\270\272moments\345\242\236\345\212\240\344\270\200\344\270\252\350\257\204\350\256\272\351\200\232\347\237\245.md" index 8b76c49..4fc01ec 100644 --- "a/backup/\344\270\272moments\345\242\236\345\212\240\344\270\200\344\270\252\350\257\204\350\256\272\351\200\232\347\237\245.md" +++ "b/backup/\344\270\272moments\345\242\236\345\212\240\344\270\200\344\270\252\350\257\204\350\256\272\351\200\232\347\237\245.md" @@ -16,4 +16,13 @@ services: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro ``` - + 没有修改原版的数据库,使用系统变量读取, + +`WEBHOOK_URL`为你使用的`webhook`地址, 可以是`飞书webhook`, 也可以是其他的. +`SITE_URL`为你的moments的访问地址, 可以是域名,也可以是ip地址.用来拼接memo的访问地址 + +`QQ_WEBHOOK_URL`为你使用的QQ机器人的API地址,需要自行部署,或者使用公共服务 使用gocqhttp的API接口 + +端点地址`/send_private_msg`时`QQ_USER_ID`为你接收消息的QQ号码. + + 端点`/send_group_msg`时,`QQ_USER_ID`为你接收消息的QQ群号码. diff --git a/blogBase.json b/blogBase.json index 2c166b5..eefe421 100644 --- a/blogBase.json +++ b/blogBase.json @@ -1 +1 @@ -{"singlePage": [], "startSite": "", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "themeMode": "manual", "dayTheme": "light", "nightTheme": "dark", "urlMode": "pinyin", "script": "", "style": "", "head": "", "indexScript": "", "indexStyle": "", "bottomText": "", "showPostSource": 1, "iconList": {}, "UTC": 8, "rssSplit": "sentence", "exlink": {}, "needComment": 1, "allHead": "", "title": "\u6d6a\u5b50\u535a\u5ba2", "subTitle": "\u66fe\u68a6\u60f3\u4ed7\u5251\u8d70\u5929\u6daf", "avatarUrl": "https://img.imsun.org/avatar.jpg", "GMEEK_VERSION": "last", "postListJson": {"P1": {"htmlDir": "docs/post/wo-you-yi-ge-meng-xiang.html", "labels": ["\u65e5\u5e38"], "postTitle": "\u6211\u6709\u4e00\u4e2a\u68a6\u60f3", "postUrl": "post/wo-you-yi-ge-meng-xiang.html", "postSourceUrl": "https://github.com/jkjoy/blog/issues/1", "commentNum": 0, "wordCount": 52, "description": "\u7f8e\u597d\u7684\u4e00\u5929\r\n\r\n\u4ece\u73b0\u5728\u5f00\u59cb\r\n\r\n\u780d\u67f4\u517b\u9a6c\u5468\u6e38\u5217\u56fd\r\n\r\n\u6211\u6709\u4e00\u6240\u623f\u5b50\r\n\r\n\u9762\u671d\u5927\u6d77\r\n\r\n\u51ac\u6696\u590f\u51c9\u3002", "top": 0, "createdAt": 1729232684, "style": "", "script": "", "head": "", "ogImage": "https://img.imsun.org/avatar.jpg", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "P2": {"htmlDir": "docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "labels": ["\u65e5\u5e38"], "postTitle": "\u4e3amoments\u589e\u52a0\u4e00\u4e2a\u8bc4\u8bba\u901a\u77e5", "postUrl": "post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "postSourceUrl": "https://github.com/jkjoy/blog/issues/2", "commentNum": 0, "wordCount": 534, "description": "\u90e8\u7f72\u65b9\u5f0f\r\n```yaml\r\nservices:\r\n moments:\r\n image: jkjoy/moments:latest\r\n environment:\r\n JWT_KEY: 'BbYS93dHHfIC1cQR8rI6'\r\n WEBHOOK_URL: 'https://open.feishu.cn/open-apis/bot/v2/hook/*' #\u98de\u4e66webhook \r\n SITE_URL: 'https://www.moments.cn' #\u8bbf\u95ee\u5730\u5740\r\n QQ_WEBHOOK_URL: 'https://http.asbid.cn/send_private_msg' #QQ\u673a\u5668\u4eba\u7684API\r\n QQ_USER_ID: '123456' #\u63a5\u6536\u6d88\u606f\u7684QQ\u53f7\u7801\r\n ports:\r\n - '3000:3000'\r\n volumes:\r\n - ./data:/app/data\r\n - /etc/localtime:/etc/localtime:ro\r\n - /etc/timezone:/etc/timezone:ro\r\n```\r\n \r\n\u3002", "top": 0, "createdAt": 1729234062, "style": "", "script": "", "head": "", "ogImage": "https://img.imsun.org/avatar.jpg", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}}, "singeListJson": {}, "labelColorDict": {"bug": "#d73a4a", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "question": "#d876e3", "wontfix": "#ffffff", "\u65e5\u5e38": "#53FA11"}, "displayTitle": "\u6d6a\u5b50\u535a\u5ba2", "faviconUrl": "https://img.imsun.org/avatar.jpg", "ogImage": "https://img.imsun.org/avatar.jpg", "primerCSS": "", "homeUrl": "https://jkjoy.github.io/blog", "prevUrl": "disabled", "nextUrl": "disabled"} \ No newline at end of file +{"singlePage": [], "startSite": "", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "themeMode": "manual", "dayTheme": "light", "nightTheme": "dark", "urlMode": "pinyin", "script": "", "style": "", "head": "", "indexScript": "", "indexStyle": "", "bottomText": "", "showPostSource": 1, "iconList": {}, "UTC": 8, "rssSplit": "sentence", "exlink": {}, "needComment": 1, "allHead": "", "title": "\u6d6a\u5b50\u535a\u5ba2", "subTitle": "\u66fe\u68a6\u60f3\u4ed7\u5251\u8d70\u5929\u6daf", "avatarUrl": "https://img.imsun.org/avatar.jpg", "GMEEK_VERSION": "last", "postListJson": {"P1": {"htmlDir": "docs/post/wo-you-yi-ge-meng-xiang.html", "labels": ["\u65e5\u5e38"], "postTitle": "\u6211\u6709\u4e00\u4e2a\u68a6\u60f3", "postUrl": "post/wo-you-yi-ge-meng-xiang.html", "postSourceUrl": "https://github.com/jkjoy/blog/issues/1", "commentNum": 0, "wordCount": 52, "description": "\u7f8e\u597d\u7684\u4e00\u5929\r\n\r\n\u4ece\u73b0\u5728\u5f00\u59cb\r\n\r\n\u780d\u67f4\u517b\u9a6c\u5468\u6e38\u5217\u56fd\r\n\r\n\u6211\u6709\u4e00\u6240\u623f\u5b50\r\n\r\n\u9762\u671d\u5927\u6d77\r\n\r\n\u51ac\u6696\u590f\u51c9\u3002", "top": 0, "createdAt": 1729232684, "style": "", "script": "", "head": "", "ogImage": "https://img.imsun.org/avatar.jpg", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "P2": {"htmlDir": "docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "labels": ["\u5206\u4eab"], "postTitle": "\u4e3amoments\u589e\u52a0\u4e00\u4e2a\u8bc4\u8bba\u901a\u77e5", "postUrl": "post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "postSourceUrl": "https://github.com/jkjoy/blog/issues/2", "commentNum": 0, "wordCount": 844, "description": "\u90e8\u7f72\u65b9\u5f0f\r\n```yaml\r\nservices:\r\n moments:\r\n image: jkjoy/moments:latest\r\n environment:\r\n JWT_KEY: 'BbYS93dHHfIC1cQR8rI6'\r\n WEBHOOK_URL: 'https://open.feishu.cn/open-apis/bot/v2/hook/*' #\u98de\u4e66webhook \r\n SITE_URL: 'https://www.moments.cn' #\u8bbf\u95ee\u5730\u5740\r\n QQ_WEBHOOK_URL: 'https://http.asbid.cn/send_private_msg' #QQ\u673a\u5668\u4eba\u7684API\r\n QQ_USER_ID: '123456' #\u63a5\u6536\u6d88\u606f\u7684QQ\u53f7\u7801\r\n ports:\r\n - '3000:3000'\r\n volumes:\r\n - ./data:/app/data\r\n - /etc/localtime:/etc/localtime:ro\r\n - /etc/timezone:/etc/timezone:ro\r\n```\r\n \u6ca1\u6709\u4fee\u6539\u539f\u7248\u7684\u6570\u636e\u5e93,\u4f7f\u7528\u7cfb\u7edf\u53d8\u91cf\u8bfb\u53d6,\r\n\r\n`WEBHOOK_URL`\u4e3a\u4f60\u4f7f\u7528\u7684`webhook`\u5730\u5740, \u53ef\u4ee5\u662f`\u98de\u4e66webhook`, \u4e5f\u53ef\u4ee5\u662f\u5176\u4ed6\u7684. \r\n`SITE_URL`\u4e3a\u4f60\u7684moments\u7684\u8bbf\u95ee\u5730\u5740, \u53ef\u4ee5\u662f\u57df\u540d,\u4e5f\u53ef\u4ee5\u662fip\u5730\u5740.\u7528\u6765\u62fc\u63a5memo\u7684\u8bbf\u95ee\u5730\u5740\r\n\r\n`QQ_WEBHOOK_URL`\u4e3a\u4f60\u4f7f\u7528\u7684QQ\u673a\u5668\u4eba\u7684API\u5730\u5740,\u9700\u8981\u81ea\u884c\u90e8\u7f72,\u6216\u8005\u4f7f\u7528\u516c\u5171\u670d\u52a1 \u4f7f\u7528gocqhttp\u7684API\u63a5\u53e3 \r\n\r\n\u7aef\u70b9\u5730\u5740`/send_private_msg`\u65f6`QQ_USER_ID`\u4e3a\u4f60\u63a5\u6536\u6d88\u606f\u7684QQ\u53f7\u7801.\r\n\r\n \u7aef\u70b9`/send_group_msg`\u65f6,`QQ_USER_ID`\u4e3a\u4f60\u63a5\u6536\u6d88\u606f\u7684QQ\u7fa4\u53f7\u7801.\r\n\u3002", "top": 0, "createdAt": 1729234062, "style": "", "script": "", "head": "", "ogImage": "https://img.imsun.org/avatar.jpg", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}}, "singeListJson": {}, "labelColorDict": {"bug": "#d73a4a", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "question": "#d876e3", "wontfix": "#ffffff", "\u5206\u4eab": "#FCE98C", "\u65e5\u5e38": "#53FA11"}, "displayTitle": "\u6d6a\u5b50\u535a\u5ba2", "faviconUrl": "https://img.imsun.org/avatar.jpg", "ogImage": "https://img.imsun.org/avatar.jpg", "primerCSS": "", "homeUrl": "https://jkjoy.github.io/blog", "prevUrl": "disabled", "nextUrl": "disabled"} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 4ebecec..d4940b7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -88,7 +88,7 @@

- 日常 + 分享 2024-10-18
diff --git a/docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html b/docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html index 45bc069..1ba92fa 100644 --- a/docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html +++ b/docs/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html @@ -28,7 +28,16 @@ - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro ``` - + 没有修改原版的数据库,使用系统变量读取, + +`WEBHOOK_URL`为你使用的`webhook`地址, 可以是`飞书webhook`, 也可以是其他的. +`SITE_URL`为你的moments的访问地址, 可以是域名,也可以是ip地址.用来拼接memo的访问地址 + +`QQ_WEBHOOK_URL`为你使用的QQ机器人的API地址,需要自行部署,或者使用公共服务 使用gocqhttp的API接口 + +端点地址`/send_private_msg`时`QQ_USER_ID`为你接收消息的QQ号码. + + 端点`/send_group_msg`时,`QQ_USER_ID`为你接收消息的QQ群号码. 。"> @@ -136,7 +154,13 @@

为moments增加一个评论通知

volumes: - ./data:/app/data - /etc/localtime:/etc/localtime:ro - - /etc/timezone:/etc/timezone:ro + - /etc/timezone:/etc/timezone:ro +

没有修改原版的数据库,使用系统变量读取,

+

WEBHOOK_URL为你使用的webhook地址, 可以是飞书webhook, 也可以是其他的.
+SITE_URL为你的moments的访问地址, 可以是域名,也可以是ip地址.用来拼接memo的访问地址

+

QQ_WEBHOOK_URL为你使用的QQ机器人的API地址,需要自行部署,或者使用公共服务 使用gocqhttp的API接口

+

端点地址/send_private_msgQQ_USER_ID为你接收消息的QQ号码.

+

端点/send_group_msg时,QQ_USER_ID为你接收消息的QQ群号码.

diff --git a/docs/postList.json b/docs/postList.json index d4e6247..39c724e 100644 --- a/docs/postList.json +++ b/docs/postList.json @@ -1 +1 @@ -{"P2": {"labels": ["\u65e5\u5e38"], "postTitle": "\u4e3amoments\u589e\u52a0\u4e00\u4e2a\u8bc4\u8bba\u901a\u77e5", "postUrl": "post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "P1": {"labels": ["\u65e5\u5e38"], "postTitle": "\u6211\u6709\u4e00\u4e2a\u68a6\u60f3", "postUrl": "post/wo-you-yi-ge-meng-xiang.html", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "labelColorDict": {"bug": "#d73a4a", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "question": "#d876e3", "wontfix": "#ffffff", "\u65e5\u5e38": "#53FA11"}} \ No newline at end of file +{"P2": {"labels": ["\u5206\u4eab"], "postTitle": "\u4e3amoments\u589e\u52a0\u4e00\u4e2a\u8bc4\u8bba\u901a\u77e5", "postUrl": "post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "P1": {"labels": ["\u65e5\u5e38"], "postTitle": "\u6211\u6709\u4e00\u4e2a\u68a6\u60f3", "postUrl": "post/wo-you-yi-ge-meng-xiang.html", "createdDate": "2024-10-18", "dateLabelColor": "#bc4c00"}, "labelColorDict": {"bug": "#d73a4a", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "question": "#d876e3", "wontfix": "#ffffff", "\u5206\u4eab": "#FCE98C", "\u65e5\u5e38": "#53FA11"}} \ No newline at end of file diff --git a/docs/rss.xml b/docs/rss.xml index 6a8ae27..3d9c37b 100644 --- a/docs/rss.xml +++ b/docs/rss.xml @@ -1,5 +1,5 @@ -浪子博客https://jkjoy.github.io/blog曾梦想仗剑走天涯浪子博客http://www.rssboard.org/rss-specificationpython-feedgenhttps://img.imsun.org/avatar.jpgavatarhttps://jkjoy.github.io/blogFri, 18 Oct 2024 08:13:52 +0000浪子博客60浪子博客为moments增加一个评论通知https://jkjoy.github.io/blog/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html部署方式 +浪子博客https://jkjoy.github.io/blog曾梦想仗剑走天涯浪子博客http://www.rssboard.org/rss-specificationpython-feedgenhttps://img.imsun.org/avatar.jpgavatarhttps://jkjoy.github.io/blogFri, 18 Oct 2024 08:25:04 +0000浪子博客60浪子博客为moments增加一个评论通知https://jkjoy.github.io/blog/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.html部署方式 ```yaml services: moments: @@ -17,7 +17,16 @@ services: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro ``` - + 没有修改原版的数据库,使用系统变量读取, + +`WEBHOOK_URL`为你使用的`webhook`地址, 可以是`飞书webhook`, 也可以是其他的. +`SITE_URL`为你的moments的访问地址, 可以是域名,也可以是ip地址.用来拼接memo的访问地址 + +`QQ_WEBHOOK_URL`为你使用的QQ机器人的API地址,需要自行部署,或者使用公共服务 使用gocqhttp的API接口 + +端点地址`/send_private_msg`时`QQ_USER_ID`为你接收消息的QQ号码. + + 端点`/send_group_msg`时,`QQ_USER_ID`为你接收消息的QQ群号码. 。https://jkjoy.github.io/blog/post/wei-moments-zeng-jia-yi-ge-ping-lun-tong-zhi.htmlFri, 18 Oct 2024 06:47:42 +0000我有一个梦想https://jkjoy.github.io/blog/post/wo-you-yi-ge-meng-xiang.html美好的一天 从现在开始