Skip to content

Commit

Permalink
chore: sync repo v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 22, 2023
1 parent 6754af4 commit 3a990b3
Show file tree
Hide file tree
Showing 96 changed files with 4,694 additions and 1,130 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
# Changelog

## [1.8.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.7.0...v1.8.0) (2023-08-14)
## [1.9.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.8.0...v1.9.0) (2023-08-21)
### Features
* hexo 平台支持修改自定义 yaml ([e9ce0da](https://github.com/terwer/siyuan-plugin-publisher/commit/e9ce0daa43d990762715a918527f218c6863cb21))
* 优化部分交互 ([fea1af2](https://github.com/terwer/siyuan-plugin-publisher/commit/fea1af27ccff2d6f75aed174a984de9ec861b3ea))
* 属性以yaml格式存储到文档自定义属性 ([9e8b17b](https://github.com/terwer/siyuan-plugin-publisher/commit/9e8b17b2f367090f70f6ecebef2184b0a376eef2))
* 批量分发支持标签与分类合并 ([2e29bb4](https://github.com/terwer/siyuan-plugin-publisher/commit/2e29bb40afd48f5370b0630fc76f4c7de72a6773))
* 支持发布视图 ([c286a64](https://github.com/terwer/siyuan-plugin-publisher/commit/c286a64586a5d3f9e0bb22cfbc14eb2fee0c2e13))
* 支持文章分类 ([782f4fb](https://github.com/terwer/siyuan-plugin-publisher/commit/782f4fb05cb8494be91f64b06028be6e5e2225a9))
* 支持文章分类-公共分类 ([66d3b54](https://github.com/terwer/siyuan-plugin-publisher/commit/66d3b54913f3dc3a26dd398b74396a290b273d81))
* 支持文章分类-单选分类 ([4ca3ecd](https://github.com/terwer/siyuan-plugin-publisher/commit/4ca3ecddcd2b0eeb0378f633168d83afa6a408e6))
* 支持文章分类-多选分类 ([3d031b9](https://github.com/terwer/siyuan-plugin-publisher/commit/3d031b9e652cccb6cc5f7945bd00bc5d177914cc))
* 支持文章分类-树形单选分类 ([17538ca](https://github.com/terwer/siyuan-plugin-publisher/commit/17538ca93458bc3164e34296c5ec6dc5280311bf))
* 支持文章标签 ([37833d1](https://github.com/terwer/siyuan-plugin-publisher/commit/37833d1d3ebee9042d90369b8612df0657079c3f))
* 支持生成摘要 ([9aa12fa](https://github.com/terwer/siyuan-plugin-publisher/commit/9aa12fab3b64faa6b0d42df3586085701eed9db1))
* 支持知识空间-树形单选知识空间 ([eb9c56c](https://github.com/terwer/siyuan-plugin-publisher/commit/eb9c56cb0e58966da22eb23023d389ec7dd18ff6))
* 支持细粒度控制发布属性-支持修改发布时间和更新时间 ([f866652](https://github.com/terwer/siyuan-plugin-publisher/commit/f8666523dbfbb43a517da490882b4041972f04c0))
* 新 logo ,新征程 ([49c2d7c](https://github.com/terwer/siyuan-plugin-publisher/commit/49c2d7cfec28cf24dc8f7277db3576b611d779b6))
* 新增人工智能开关 ([6bbd3c8](https://github.com/terwer/siyuan-plugin-publisher/commit/6bbd3c8f8fcc3f53cae124313bb62e19638bb0ab))
* 源码模式支持替换图片 ([09583e4](https://github.com/terwer/siyuan-plugin-publisher/commit/09583e4026441c686193784612d125f0da68afe8))
### Bug Fixes
* **deps:** bump siyuan from 0.7.9 to 0.8.0 ([5c01104](https://github.com/terwer/siyuan-plugin-publisher/commit/5c01104ca46d1da06dc4c51a9d227f67b6257b21))
* **deps:** bump zhi-github-middleware from 0.2.2 to 0.3.4 ([c9ed18b](https://github.com/terwer/siyuan-plugin-publisher/commit/c9ed18b8fcbd65ae8ff64d5ea7c58f11aecb06f5))
* **deps:** bump zhi-xmlrpc-middleware from 0.4.15 to 0.5.4 ([56931da](https://github.com/terwer/siyuan-plugin-publisher/commit/56931da69614b111d3b78e835bfd7d472a08d6ad))
* 移除错误引用 ([a7e5d39](https://github.com/terwer/siyuan-plugin-publisher/commit/a7e5d3913f80fd4a668a5730bcb76bb5c3741c7e))
## [1.8.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.7.0...v1.8.0) (2023-08-14)
* 底部新增发布配置快捷入口 ([e2eec4c](https://github.com/terwer/siyuan-plugin-publisher/commit/e2eec4c493b1e1dece965f8c87e573a772583fcc))
* 所有平台迁移到官方的正向代理 ([c4de13f](https://github.com/terwer/siyuan-plugin-publisher/commit/c4de13f77c65b74b7db3284729cf4434a6ec6d47))
* 支持接入平台自有能力进行图片上传 ([efccca6](https://github.com/terwer/siyuan-plugin-publisher/commit/efccca6e2c03d2affcc912ec657a2f0ea1822324))
* 新增思源配置 ([202c2ce](https://github.com/terwer/siyuan-plugin-publisher/commit/202c2ce861489da1da4ce48b91bb73dac774c96e))
### Bug Fixes
* 修复思源配置 ([75712b8](https://github.com/terwer/siyuan-plugin-publisher/commit/75712b84b7e743d3dcb2b741aaab5c441405c834))
* 兼容平台图片上传 ([47472af](https://github.com/terwer/siyuan-plugin-publisher/commit/47472af2259592e2929cf14edc168e59ae3c65ab))
* 兼容平台图片上传-picgo 插件检测 ([090425c](https://github.com/terwer/siyuan-plugin-publisher/commit/090425ccec393ef0f582b89e91f846d35c850b80))
Expand Down
54 changes: 28 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@

![](./icon.png)

Publish articles from Siyuan Notes to platforms such as Yuque, Notion, Cnblogs, WordPress, Typecho, Hexo, Zhihu and more.
Publish articles from siyuan-note to platforms such as Yuque, Notion, Cnblogs, WordPress, Typecho, Hexo, Zhihu and more.

Support features such as fast publishing, image bed management, platform expansion, smart labels, etc.

> **Front Announcement 1: Release Tool's first platform-wide version `1.8.0` using the forward agent of Siyuan Note!**
> **Front Announcement 1: The first version `1.9.0` for Publish Tools that supports release view and AI beta early adopter is released!**
>
> **Front Announcement 2: The first version of the release tool that fully supports image upload `1.8.0` is released!**
> **Front Announcement 2: Version `1.8.0` released with full support for image upload in the Publish Tools!**
Tips: Zhihu uses the image upload of the Zhihu platform, Yuque, Notion, and Hexo need Picgo plugin support, and the Metaweblog series platform supports both Picgo plugin and self-contained image upload (install Picgo plugin to use Picgo plugin, otherwise use their own platform)

We recommend that you use the `uninstall->install` method to update. If the configuration is abnormal, please back up `[workspace]/data/storage/syp/sy-p-plus-cfg.json` , and then delete it, this configuration file will be automatically initialized the first time it is used.
We recommend that you use the `uninstall->install` method to update. If the configuration is abnormal, please backup `[workspace]/data/storage/syp/sy-p-plus-cfg.json` , and then delete it, this configuration file will be automatically initialized the first time it is used.

In later releases, the release configuration will only be backward compatible to `1.6.0+`.

## Recent critical updates and bug fixes

- Support multiple publishing views, simple mode, detailed mode and source mode
- Support to modify summary, tags, classification, knowledge space
- The Hexo platform supports custom modification of YAML
- Yuque, Notion, and Hexo support image links, and automatic upload requires Picgo plugin support
- Zhihu platform supports automatic image upload
- When the Picgo plugin is not installed, some platforms can use the built-in image upload, such as Cnblogs, Typecho, WordPress
Expand All @@ -28,36 +31,22 @@ In later releases, the release configuration will only be backward compatible to
- Support publishing to Zhihu
- Support for publishing to Hexo
- Support for publishing to Notion
- Support for Yuque,Cnblogs, Metaweblog, Typecho, WordPress
- Support for Yuque, Cnblogs, Metaweblog, Typecho, WordPress
- Support automatic generation of article aliases
- Support for changing the default knowledge base

## Compatibility of Origin notes

This plugin supports almost all devices and platforms of Siyuan Note, and the specific compatibility is as follows:

- [X] Siyuan Note Client (zero configuration) <sup>is highly recommended</sup>
- [X] Servo environment (Zero configuration, cross-domain request proxy built-in)
- [X] CentSource Note Browser Servo
- [X] Siyuan Note Client Servo
- [X] Siyuan Notemaker mobile servo
- [X] Siyuan Note docker version (Zero configuration, cross-domain request proxy built-in)

🎉 **All platforms have been migrated to the official forward proxy, achieving zero user configuration and supporting cross-domain request proxies by default 🎉**


## Platform List

Names not listed in order

- [X] Yuque
- [X] Notion
- [X] Github
- [X] Hexo
- [X] Metaweblog
- [X] Cnblogs
- [X] Typecho
- [X] WordPress
- [X] Github
- [X] Hexo
- [X] Notion
- [X] Zhihu

## Core Features
Expand All @@ -69,12 +58,12 @@ Names not listed in order
- [X] **Platform switch**: All platforms support enabling and disabling, the blog garden is enabled by default, and can be
disabled at any time
- [X] **Dynamic Newly Added**: Support custom adding platform
- [ ] **Smart Classification**: Support smart tags, smart slug aliases, smart summaries, and continue to improve
- [X] **Article Binding**: Support linking existing platform articles to Siyuan Notes to facilitate follow-up management,
- [X] **Smart Classification**: Support smart tags, smart slug aliases, smart summaries, and continue to improve.Smart tags and smart summaries is currently in the invitation experience stage, if you want to experience, you can email youweics@163.com, I will send you a plugin experience package containing AI.
- [X] **Article Binding**: Support linking existing platform articles to siyuan-note to facilitate follow-up management,
support Siyuan->platform one-way synchronization
- [X] **Adapt to Theme**: Automatically adapt to dark mode and light mode
- [X] **Language support**: multi-language support, support Chinese version and English version
- [ ] **Release view**: Support multiple release views, simple mode, detailed mode and source code mode
- [X] **Release view**: Support multiple release views, simple mode, detailed mode and source code mode
- [X] **Multiple deployments**: support Siyuan notes plugin<sup>Highly recommended</sup>, Chrome browser extension, self-deployment

This plugin promises that the basic functions will be free forever, and the follow-up related to intelligent AI may be charged, and the closed beta stage is completely free. If you want to support developers, please [feel free to support](https://github.com/terwer/siyuan-plugin-publisher/blob/main/README_zh_CN.md#Donate) here.
Expand All @@ -83,6 +72,19 @@ This plugin promises that the basic functions will be free forever, and the foll
>
> In addition to [Extended Functions], **Other functions do not require any dependencies** , and there is no need to download the previous widget, which is already built-in in the plugin.
## Compatibility of Origin notes

This plugin is fully compatible with `siyuan-note PC Client` , due to limited personal energy, other devices are no longer supported.

## Supported taxonomy

- [X] Classification
- [X] Multi-select classification

- [X] Knowledge space
- [X] Single-choice knowledge space
- [X] Tree-shaped radio knowledge space

## Platform Adaptation Plan

If you have a platform you want to use, but this tool has not yet been implemented, you can submit
Expand Down Expand Up @@ -171,4 +173,4 @@ more useful tools~
|Svelte|3.57+|Rich Harris|
|TypeScript|5.0+|Microsoft|
|siyuan-note|2.9.0+|D,V|
- Thanks to [leolee9086](https://github.com/leolee9086) for the icon resource
- Thanks to [leolee9086](https://github.com/leolee9086) and [ciwoyipang]() for the icon resource
47 changes: 25 additions & 22 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

将思源笔记的文章发布到语雀、Notion、Cnblogs、WordPress、Typecho、Hexo、知乎 等平台,支持极速发布、图床管理、平台扩展、智能标签等特色功能。

> **前排公告1:发布工具首个全平台使用思源笔记正向代理的版本 `1.8.0` 发布!**
> **前排公告1:发布工具首个支持发布视图以及AI公测尝鲜的版本 `1.9.0` 发布!**
>
> **前排公告2:发布工具首个完整支持图片上传的版本 `1.8.0` 发布!**
> **前排公告2:发布工具完整支持图片上传的版本 `1.8.0` 发布!**
温馨提示:知乎使用知乎平台的图片上传,语雀、Notion、Hexo需要Picgo插件支持,Metaweblog系列平台同时支持Picgo插件和自带图片上传(安装了Picgo插件使用Picgo插件,否则使用自带)

Expand All @@ -18,6 +18,9 @@

## 最近的关键更新与 Bug 修复

- 支持多种发布视图,简单模式、详细模式和源码模式
- 支持修改摘要、标签、分类、知识空间
- Hexo 平台支持自定义修改 YAML
- 语雀、Notion、Hexo支持图片链接,自动上传需要Picgo插件支持
- 知乎平台支持图片自动上传
- 未安装Picgo插件时,部分平台可使用自带的图片上传,例如博客园、Typecho、WordPress
Expand All @@ -28,35 +31,22 @@
- 支持发布到知乎
- 支持发布到 Hexo
- 支持发布到 Notion
- 支持语雀、博客园、metaweblog、typecho、wordpress
- 支持语雀、博客园、Metaweblog、Typecho、WordPress
- 支持自动生成文章别名
- 语雀支持更改默认知识库

## 思源笔记兼容情况

本插件支持思源笔记几乎所有设备和平台,具体兼容情况如下:

- [X] 思源笔记客户端(零配置)<sup>强烈推荐</sup>
- [X] 伺服环境(零配置,跨域请求代理已内置)
- [X] 思源笔记浏览器伺服
- [X] 思源笔记客户端伺服
- [X] 思源笔记客移动端伺服
- [X] 思源笔记docker版(零配置,跨域请求代理已内置)

**🎉 所有平台均已迁移到官方的正向代理,实现了用户零配置,默认支持跨域请求代理 🎉**

## 平台列表

排名不分先后

- [X] 语雀
- [X] 博客园
- [X] Notion
- [X] Github
- [X] Hexo
- [X] Metaweblog
- [X] 博客园
- [X] Typecho
- [X] WordPress
- [X] Github
- [X] Hexo
- [X] Notion
- [X] 知乎

## 核心特色
Expand All @@ -66,11 +56,11 @@
- [X] **支持扩展**:基于统一的博客 API 规范,内置 metaweblogAPI 、 WordPress 、Wechatsync 和 Github 支持,并提供了统一的适配器,理论上可支持扩展到任何平台
- [X] **平台开关**:所有平台均支持启用禁用,默认开启博客园,可随时禁用
- [X] **动态新增**:支持自定义添加平台
- [ ] **智能分类**:支持智能标签、智能 slug 别名、智能摘要,并持续完善中
- [X] **智能分类**:支持智能标签、智能 slug 别名、智能摘要,并持续完善中。智能标签和智能摘要目前处于邀请体验阶段,如果您想体验,可发邮件到 youweics@163.com ,我会发给您一个包含AI的插件体验包。
- [X] **文章绑定**:支持关联已有的平台文章到思源笔记,方便后续管理,支持思源-> 平台单向同步
- [X] **适应主题**:自动适配暗黑模式与浅色模式
- [X] **语言支持**:多语言支持,支持中文版和英文版
- [ ] **发布视图**:支持多种发布视图,简单模式、详细模式和源码模式
- [X] **发布视图**:支持多种发布视图,简单模式、详细模式和源码模式
- [X] **多种部署**:支持思源笔记插件<sup>强烈推荐</sup>、Chrome 浏览器扩展、自部署

本插件承诺,基础功能永久免费,智能AI相关的后续可能会收费,内测阶段完全免费。如果您想支持开发者,请在这里 [随意打赏](https://github.com/terwer/siyuan-plugin-publisher/blob/main/README_zh_CN.md#捐赠)
Expand All @@ -79,6 +69,19 @@
>
> [扩展功能] 外,**其他功能无需任何依赖** ,也无需下载之前的挂件,挂件在插件中已经内置。
## 思源笔记兼容情况

本插件完全兼容 `思源笔记PC客户端` ,由于个人精力有限,其他设备不再支持。

## 支持的分类体系

- [X] 分类
- [X] 多选分类

- [X] 知识空间
- [X] 单选知识空间
- [X] 树形单选知识空间

## 平台适配计划

如果你有想使用的平台,但是此工具目前还没实现,可在这里提交 [思源笔记发布工具插件平台适配跟踪表](https://terwergreen.feishu.cn/share/base/form/shrcnGRdThUiqnhBg15xgclMM0c)
Expand Down
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "siyuan-plugin-publisher",
"version": "1.8.0",
"version": "1.9.0",
"description": "Publish articles from Siyuan Notes to platforms such as Yuque, Notion, Cnblogs, WordPress, Typecho, Hexo, Zhihu and more",
"repository": "terwer/siyuan-plugin-publisher",
"homepage": "https://github.com/terwer/siyuan-plugin-publisher",
Expand Down Expand Up @@ -30,9 +30,9 @@
"@terwer/esbuild-config-custom": "^1.2.0",
"@terwer/eslint-config-custom": "^1.3.6",
"@types/crypto-js": "^4.1.1",
"@types/node": "^18.17.5",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-v8": "^0.34.1",
"@types/node": "^18.17.7",
"@vitejs/plugin-vue": "^4.3.3",
"@vitest/coverage-v8": "^0.34.2",
"@vue/test-utils": "^2.4.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.2",
Expand All @@ -44,40 +44,42 @@
"typescript": "^5.1.6",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"vercel": "^31.2.3",
"vercel": "^31.4.0",
"vite": "^4.4.9",
"vite-plugin-html": "^3.2.0",
"vite-plugin-node-polyfills": "^0.11.1",
"vitest": "^0.34.1",
"vite-plugin-node-polyfills": "^0.11.3",
"vitest": "^0.34.2",
"vue-tsc": "^1.8.8"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@vueuse/components": "^10.3.0",
"@vueuse/core": "^10.3.0",
"chatgpt": "^5.2.5",
"cheerio": "1.0.0-rc.12",
"cross-fetch": "^3.1.8",
"crypto-js": "^4.1.1",
"element-plus": "^2.3.9",
"js-base64": "^3.7.5",
"lodash": "^4.17.21",
"pinia": "^2.1.6",
"shorthash2": "^1.0.3",
"simple-xmlrpc": "^1.4.2",
"siyuan": "^0.7.9",
"siyuan": "^0.8.1",
"siyuan-plugin-picgo": "^1.4.4",
"uuid": "^9.0.0",
"vue": "^3.3.4",
"vue-i18n": "^9.2.2",
"vue-router": "^4.2.4",
"xmlbuilder2": "^3.1.1",
"zhi-blog-api": "^1.20.22",
"zhi-common": "^1.14.2",
"zhi-device": "^2.3.0",
"zhi-fetch-middleware": "^0.2.21",
"zhi-github-middleware": "^0.2.2",
"zhi-blog-api": "^1.33.1",
"zhi-common": "^1.23.1",
"zhi-device": "^2.3.1",
"zhi-fetch-middleware": "^0.3.5",
"zhi-github-middleware": "^0.3.5",
"zhi-lib-base": "^0.4.4",
"zhi-notion-markdown": "^0.1.4",
"zhi-siyuan-api": "^2.0.27",
"zhi-xmlrpc-middleware": "^0.4.15"
"zhi-siyuan-api": "^2.5.2",
"zhi-xmlrpc-middleware": "^0.5.5"
}
}
5 changes: 2 additions & 3 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"name": "siyuan-plugin-publisher",
"author": "terwer",
"url": "https://github.com/terwer/siyuan-plugin-publisher",
"version": "1.8.0",
"version": "1.9.0",
"minAppVersion": "2.9.0",
"backends": [
"windows",
"linux",
"darwin",
"docker"
"darwin"
],
"frontends": [
"desktop",
Expand Down
Loading

0 comments on commit 3a990b3

Please sign in to comment.