feat:添加trilium-cn到列表#318

This commit is contained in:
okxlin 2023-11-17 00:51:09 +08:00
parent 9aae3dd70d
commit 5e4d9e9250
9 changed files with 159 additions and 0 deletions

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="trilium-cn"
PANEL_APP_PORT_HTTP="40173"
DATA_PATH="./data"

View File

@ -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

View File

@ -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

47
apps/trilium-cn/README.md Normal file
View File

@ -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, 谢谢 ^_^
如果你是老用户, 使用前最好备份数据以防万一.
<a href="https://github.com/Nriver"><img align="center" src="https://moe-counter--nriver1.repl.co/get/@Nriver_trilium-translation"></a><br>
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 (已满)
<!-- ![qq1](https://user-images.githubusercontent.com/6752679/125550117-ec2a118c-8628-46e4-99f4-7f7e12ba7ba6.png) -->
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

20
apps/trilium-cn/data.yml Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="trilium-cn"
PANEL_APP_PORT_HTTP="40173"
DATA_PATH="./data"

View File

@ -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

View File

@ -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

BIN
apps/trilium-cn/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB