From 5e4d9e92502bdb83c15f40af5969eaddc35af8ca Mon Sep 17 00:00:00 2001 From: okxlin Date: Fri, 17 Nov 2023 00:51:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0trilium-cn=E5=88=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8#318?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/trilium-cn/0.60.4/.env.sample | 3 ++ apps/trilium-cn/0.60.4/data.yml | 17 ++++++++ apps/trilium-cn/0.60.4/docker-compose.yml | 26 ++++++++++++ apps/trilium-cn/README.md | 47 ++++++++++++++++++++++ apps/trilium-cn/data.yml | 20 +++++++++ apps/trilium-cn/latest/.env.sample | 3 ++ apps/trilium-cn/latest/data.yml | 17 ++++++++ apps/trilium-cn/latest/docker-compose.yml | 26 ++++++++++++ apps/trilium-cn/logo.png | Bin 0 -> 4890 bytes 9 files changed, 159 insertions(+) create mode 100644 apps/trilium-cn/0.60.4/.env.sample create mode 100644 apps/trilium-cn/0.60.4/data.yml create mode 100644 apps/trilium-cn/0.60.4/docker-compose.yml create mode 100644 apps/trilium-cn/README.md create mode 100644 apps/trilium-cn/data.yml create mode 100644 apps/trilium-cn/latest/.env.sample create mode 100644 apps/trilium-cn/latest/data.yml create mode 100644 apps/trilium-cn/latest/docker-compose.yml create mode 100644 apps/trilium-cn/logo.png diff --git a/apps/trilium-cn/0.60.4/.env.sample b/apps/trilium-cn/0.60.4/.env.sample new file mode 100644 index 00000000..c3d33f92 --- /dev/null +++ b/apps/trilium-cn/0.60.4/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="trilium-cn" +PANEL_APP_PORT_HTTP="40173" +DATA_PATH="./data" diff --git a/apps/trilium-cn/0.60.4/data.yml b/apps/trilium-cn/0.60.4/data.yml new file mode 100644 index 00000000..a29b9e3d --- /dev/null +++ b/apps/trilium-cn/0.60.4/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40173 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/trilium-cn/0.60.4/docker-compose.yml b/apps/trilium-cn/0.60.4/docker-compose.yml new file mode 100644 index 00000000..dacdeff3 --- /dev/null +++ b/apps/trilium-cn/0.60.4/docker-compose.yml @@ -0,0 +1,26 @@ +version: '3' +services: + trilium-cn: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - "${DATA_PATH}:/root/trilium-data" + environment: + - TRILIUM_DATA_DIR=/root/trilium-data + # 可选功能: 健康检查。需要启用的话,把下面的注释去掉 + #healthcheck: + # test: ["CMD-SHELL", "curl --fail http://localhost:8080/api/health-check | jq -e '.status == "ok"' || exit 1"] + # interval: 30s + # timeout: 10s + # retries: 3 + image: nriver/trilium-cn:0.60.4 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/trilium-cn/README.md b/apps/trilium-cn/README.md new file mode 100644 index 00000000..7d8e22b0 --- /dev/null +++ b/apps/trilium-cn/README.md @@ -0,0 +1,47 @@ +# 🌏 Trilium Translation + +[![Github all releases](https://img.shields.io/github/downloads/nriver/trilium-translation/total.svg)](https://GitHub.com/nriver/trilium-translation/releases/) +[![GitHub license](https://badgen.net/github/license/nriver/trilium-translation)](https://github.com/nriver/trilium-translation/blob/master/LICENSE) +[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/nriver/trilium-translation/graphs/commit-activity) +[![GitHub release](https://img.shields.io/github/v/release/nriver/trilium-translation.svg)](https://github.com/nriver/trilium-translation/releases/) +[![Docker](https://badgen.net/badge/icon/docker?icon=docker&label)](https://hub.docker.com/repository/docker/nriver/trilium-cn/general) + +我把这个牛逼的笔记软件[Trilium Notes](https://github.com/zadam/trilium)做了中文翻译. 翻译会持续跟进Trilium Notes的稳定版. + +如果你想把Trilium翻译成其它语言,可以参考[这里](https://github.com/Nriver/trilium-translation/blob/main/README_CN.md#%E5%A4%AA%E9%95%BF-%E5%88%AB%E7%9C%8B-%E8%87%AA%E5%B7%B1%E7%BC%96%E8%AF%91) + +如果你觉得不错, 可以留下一个star, 谢谢 ^_^ + +如果你是老用户, 使用前最好备份数据以防万一. + +
+ +qq群满了请优先加TG群 + +Trilium Notes 学习交流 TG群 https://t.me/trilium_cn + +![tg](https://user-images.githubusercontent.com/6752679/224602865-44bf8e9c-f31b-4d4c-b22c-2fdf349e8d5e.png) + +Trilium Notes 交流qq群 + +1群 686232370 (已满) + + + +2群 535368955 + +![qq2](https://user-images.githubusercontent.com/6752679/224601193-f1d9eead-731a-4468-8a94-cd954e88efe9.png) + +# 🔔 声明 + +Trilium Notes 汉化版目前只通过以下渠道发布: + +Trilium Notes 汉化版 Github代码仓库 https://github.com/Nriver/trilium-translation + +Trilium Notes 汉化版 Docker镜像 https://hub.docker.com/r/nriver/trilium-cn + +Nriver 的 scoop 仓库 http://github.com/Nriver/Scoop-Nriver + +Archlinux AUR 仓库 客户端 https://aur.archlinux.org/packages/trilium-cn + +Archlinux AUR 仓库 服务端 https://aur.archlinux.org/packages/trilium-server-cn diff --git a/apps/trilium-cn/data.yml b/apps/trilium-cn/data.yml new file mode 100644 index 00000000..06a5d1d0 --- /dev/null +++ b/apps/trilium-cn/data.yml @@ -0,0 +1,20 @@ +name: Trilium Notes 中文 +tags: + - 工具 +title: 一个层次化的笔记应用程序,专注于建立大型个人知识库 +type: 工具 +description: 一个层次化的笔记应用程序,专注于建立大型个人知识库 +additionalProperties: + key: trilium-cn + name: Trilium Notes 中文 + tags: + - Tool + shortDescZh: 一个层次化的笔记应用程序,专注于建立大型个人知识库 + shortDescEn: A hierarchical note taking application with focus on building large personal knowledge bases + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/Nriver/trilium-translation + github: https://github.com/Nriver/trilium-translation + document: https://github.com/Nriver/trilium-translation/blob/main/README_CN.md diff --git a/apps/trilium-cn/latest/.env.sample b/apps/trilium-cn/latest/.env.sample new file mode 100644 index 00000000..c3d33f92 --- /dev/null +++ b/apps/trilium-cn/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="trilium-cn" +PANEL_APP_PORT_HTTP="40173" +DATA_PATH="./data" diff --git a/apps/trilium-cn/latest/data.yml b/apps/trilium-cn/latest/data.yml new file mode 100644 index 00000000..a29b9e3d --- /dev/null +++ b/apps/trilium-cn/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40173 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/trilium-cn/latest/docker-compose.yml b/apps/trilium-cn/latest/docker-compose.yml new file mode 100644 index 00000000..b1c7d833 --- /dev/null +++ b/apps/trilium-cn/latest/docker-compose.yml @@ -0,0 +1,26 @@ +version: '3' +services: + trilium-cn: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - "${DATA_PATH}:/root/trilium-data" + environment: + - TRILIUM_DATA_DIR=/root/trilium-data + # 可选功能: 健康检查。需要启用的话,把下面的注释去掉 + #healthcheck: + # test: ["CMD-SHELL", "curl --fail http://localhost:8080/api/health-check | jq -e '.status == "ok"' || exit 1"] + # interval: 30s + # timeout: 10s + # retries: 3 + image: nriver/trilium-cn:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/trilium-cn/logo.png b/apps/trilium-cn/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..1846fa0f8470a0af28b5ebbb2749b8d61215d991 GIT binary patch literal 4890 zcmYjVbyyRA_a!8xLmcUl7NomtbO-~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