Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chengzhongxue/plugin-comment-migrate
https://github.com/chengzhongxue/plugin-comment-migrate
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chengzhongxue/plugin-comment-migrate
- Owner: chengzhongxue
- License: gpl-3.0
- Created: 2024-07-28T06:10:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T15:14:42.000Z (about 2 months ago)
- Last Synced: 2024-10-27T17:37:09.229Z (about 2 months ago)
- Language: Vue
- Size: 143 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - plugin-comment-migrate - 评论迁移,支持 Artalk 及 Twikoo 及 Waline 等多种平台的评论迁移插件 (Halo 2.0 / 插件)
README
# plugin-comment-migrate
支持从其他平台的评论迁移数据到 Halo 的插件。
![comment-migrate.png](https://api.minio.yyds.pink/halo-docs/2024/08/comment-migrate.png)
目前已支持以下平台:
1. [Artalk](https://artalk.js.org/)
2. [Twikoo](https://twikoo.js.org/)
3. [Waline](https://waline.js.org/)## 使用方式
1. 下载,目前提供以下两个下载方式:
- GitHub Releases:访问 [Releases](https://github.com/chengzhongxue/plugin-comment-migrate/releases) 下载 Assets 中的 JAR 文件。
2. 安装,插件安装和更新方式可参考:
3. 启动插件之后,即可在 Console 的左侧菜单栏看到 **工具** 的里的 **评论迁移**。> 详细的评论迁移文档请查阅
## 开发环境
插件开发的详细文档请查阅:
所需环境:
1. Java 17
2. Node 20
3. pnpm 9
4. Docker (可选)克隆项目:
```bash
git clone [email protected]:chengzhongxue/plugin-comment-migrate.git# 或者当你 fork 之后
git clone [email protected]:{your_github_id}/plugin-comment-migrate.git
``````bash
cd path/to/plugin-comment-migrate
```### 运行方式 1(推荐)
> 此方式需要本地安装 Docker
```bash
# macOS / Linux
./gradlew pnpmInstall# Windows
./gradlew.bat pnpmInstall
``````bash
# macOS / Linux
./gradlew haloServer# Windows
./gradlew.bat haloServer
```执行此命令后,会自动创建一个 Halo 的 Docker 容器并加载当前的插件,更多文档可查阅:
### 运行方式 2
> 此方式需要使用源码运行 Halo
编译插件:
```bash
# macOS / Linux
./gradlew build# Windows
./gradlew.bat build
```修改 Halo 配置文件:
```yaml
halo:
plugin:
runtime-mode: development
fixedPluginPath:
- "/path/to/plugin-comment-migrate"
```最后重启 Halo 项目即可。