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 00000000..1846fa0f Binary files /dev/null and b/apps/trilium-cn/logo.png differ