Skip to content

Commit

Permalink
feat: 更新图标与项目说明
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 13, 2023
1 parent bc7b5cb commit c05d92f
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 29 deletions.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Publishing articles from siyuan-note to platforms such as Yuque, cnblogs, WordPress, Typecho, HUGO, HEXO, etc.

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

This plugin promises that all functions will be free forever. If you want to support the developer, please [Donate freely](https://github.com/terwer/siyuan-plugin-publisher#Donate).

> 🌹Reminder: This plugin is an upgraded version of the original `Siyuan Notes Publishing Tool` widget. Its functions
> include all the functions provided by the original widget. It also provides a convenient menu operation entry, and has
> carried out a series of bug fixes and experience optimization.
Expand Down Expand Up @@ -42,7 +46,7 @@ Names not listed in order
## Platform Adaptation Plan

If you have a platform you want to use, but this tool has not yet been implemented, you can submit
the [Siyuan Note Publishing Tool Plugin Platform Adaptation Tracking Form](https://terwergreen.feishu.cn/share/base/form/shrcnGRdThUiqnhBg15xgclMM0c )
the [Siyuan Note Publishing Tool Plugin Platform Adaptation Tracking Form](https://terwergreen.feishu.cn/share/base/form/shrcnGRdThUiqnhBg15xgclMM0c%20)
, the developer will consider including it in the development plan.

For platform adaptation, please refer
Expand All @@ -55,22 +59,27 @@ more useful tools~

### Wechat

<div>
<img src="https://static-rs-terwer.oss-cn-beijing.aliyuncs.com/donate/wechat.jpg" alt="wechat" style="width:280px;height:375px;" />
</div>

### Alipay

<div>
<img src="https://static-rs-terwer.oss-cn-beijing.aliyuncs.com/donate/alipay.jpg" alt="alipay" style="width:280px;height:375px;" />
</div>

# 感谢
# Thanks

Thanks to the third-party framework for supporting the bottom layer of this project
- Thanks to the third-party framework for supporting the bottom layer of this project

Names not listed in order
Names not listed in order

| Name | version | vendor |
|:-----------:|:-------:|:-----------:|
| turbo | 1.9+ | Vercel |
| vite | 4.2+ | Evan You |
| Svelte | 3.57+ | Rich Harris |
| TypeScript | 5.0+ | Microsoft |
| siyuan-note | 2.9.0+ | D,V |
|Name|version|vendor|
| :---------: | :-----: | :---------: |
|turbo|1.9+|Vercel|
|vite|4.2+|Evan You|
|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
38 changes: 23 additions & 15 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@

# 发布工具

将思源笔记的文章发布到语雀、cnblogs、WordPress、Typecho、HUGO、HEXO等支持的开放平台
将思源笔记的文章发布到语雀、cnblogs、WordPress、Typecho、HUGO、HEXO 等支持的开放平台,支持极速发布、图床管理、平台扩展、智能标签等特色功能

> 🌹温馨提示:这个插件是原 `思源笔记发布工具` 挂件的插件升级版,功能包含原有挂件提供的所有功能,同时提供了方便的菜单操作入口,并进行了一系列问题修复和体验优化。
本插件承诺,所有功能永久免费。如果您想支持开发者,请在这里 [随意打赏](https://github.com/terwer/siyuan-plugin-publisher/blob/dev/README_zh_CN.md#捐赠)

> 🌹 温馨提示:这个插件是原 `思源笔记发布工具` 挂件的插件升级版,功能包含原有挂件提供的所有功能,同时提供了方便的菜单操作入口,并进行了一系列问题修复和体验优化。
> 如果想看 `0.8.0`
> 之前的版本,请参考我之前写的的挂件:[sy-post-publisher](https://github.com/terwer/src-sy-post-publisher)
## 核心特色

- **极速发布**:一次配置,一键发布
- **图床管理**集成PicGO图床,支持 s3、minio、水印插件
- **支持扩展**基于统一的博客API规范,内置 metaweblogAPI 、 WordPress 和 Github 支持,并提供了统一的适配器,理论上可支持扩展到任何平台
- **图床管理**集成 PicGO 图床,支持 s3、minio、水印插件
- **支持扩展**基于统一的博客 API 规范,内置 metaweblogAPI 、 WordPress 和 Github 支持,并提供了统一的适配器,理论上可支持扩展到任何平台
- **平台开关**:所有平台均支持启用禁用,默认开启博客园,可随时禁用
- **动态新增**:支持自定义添加平台
- **智能分类**:支持智能标签、智能slug别名、智能摘要,并持续完善中
- **文章绑定**:支持关联已有的平台文章到思源笔记,方便后续管理,支持思源->平台单向同步
- **智能分类**:支持智能标签、智能 slug 别名、智能摘要,并持续完善中
- **文章绑定**:支持关联已有的平台文章到思源笔记,方便后续管理,支持思源-> 平台单向同步
- **适应主题**:自动适配暗黑模式与浅色模式
- **语言支持**:多语言支持,支持中文版和英文版
- **发布视图**:支持多种发布视图,简单模式、详细模式和源码模式
Expand Down Expand Up @@ -47,22 +49,28 @@

### 微信

<div>
<img src="https://static-rs-terwer.oss-cn-beijing.aliyuncs.com/donate/wechat.jpg" alt="wechat" style="width:280px;height:375px;" />
</div>

### 支付宝

<div>
<img src="https://static-rs-terwer.oss-cn-beijing.aliyuncs.com/donate/alipay.jpg" alt="alipay" style="width:280px;height:375px;" />
</div>

# 感谢

感谢第三方框架对本项目底层的支持
* 感谢第三方框架对本项目底层的支持

排名不分先后
排名不分先后

|Name|version|vendor|
| :---------: | :-----: | :---------: |
|turbo|1.9+|Vercel|
|vite|4.2+|Evan You|
|Svelte|3.57+|Rich Harris|
|TypeScript|5.0+|Microsoft|
|siyuan-note|2.9.0+|D,V|

| Name | version | vendor |
|:-----------:|:-------:|:-----------:|
| turbo | 1.9+ | Vercel |
| vite | 4.2+ | Evan You |
| Svelte | 3.57+ | Rich Harris |
| TypeScript | 5.0+ | Microsoft |
| siyuan-note | 2.9.0+ | D,V |
* 感谢 [leolee9086](https://github.com/leolee9086) 提供的图标资源
Binary file added apps/publisher-app/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dependency-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plugins/publisher-main/public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion plugins/publisher-main/public/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"description": {
"default": "Publishing articles from siyuan-note to platforms such as Yuque, cnblogs, WordPress, Typecho, HUGO, HEXO, etc.",
"zh_CN": "将思源笔记的文章发布到语雀、博客园、WordPress、Typecho、HUGO、HEXO等平台"
"zh_CN": "将思源笔记的文章发布到语雀、博客园、WordPress、Typecho、HUGO、HEXO等平台,支持极速发布、图床管理、平台扩展、智能标签等特色功能"
},
"readme": {
"default": "README.md",
Expand Down
8 changes: 6 additions & 2 deletions plugins/publisher-main/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { Plugin } from "siyuan"

export default class PluginSample extends Plugin {
export default class PublishTool extends Plugin {
onload() {
console.log("Publish Tool loaded2333")
console.log("Publish Tool loaded")
}

onunload() {
console.log("Publish Tool unloaded")
}
}
12 changes: 12 additions & 0 deletions plugins/publisher-main/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { resolve } from "path"
import { defineConfig } from "vite"
import minimist from "minimist"
import { viteStaticCopy } from "vite-plugin-static-copy"
import livereload from "rollup-plugin-livereload"

const args = minimist(process.argv.slice(2))
Expand All @@ -14,6 +15,17 @@ console.log("isWatch=>", isWatch)
console.log("distDir=>", distDir)

export default defineConfig({
plugins: [
viteStaticCopy({
targets: [
{
src: "../../README*.md",
dest: "./",
},
],
}),
],

// 项目根目录
// root: "./",

Expand Down

0 comments on commit c05d92f

Please sign in to comment.