Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-04 03:08:24 +00:00
parent c472f6b912
commit e8d6cc738d
1394 changed files with 42558 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
# Postgres 服务 (前置检查) [必填]
PANEL_POSTGRES_TYPE=postgresql
# 数据持久化路径 [必填]
LINKDING_ROOT_PATH=/home/linkding
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=9090
# 管理员 用户名 [必填]
LD_SUPERUSER_NAME=
# 管理员 密码 [必填]
LD_SUPERUSER_PASSWORD=
# 禁用后台任务 [必填]
LD_DISABLE_BACKGROUND_TASKS=False
# 禁用 URL 验证 [必填]
LD_DISABLE_URL_VALIDATION=False
# 请求超时时间 (秒) [必填]
LD_REQUEST_TIMEOUT=60
# 网站路径
LD_CONTEXT_PATH=
# 记录真实 IP [必填]
LD_LOG_X_FORWARDED_FOR=false
# 网站图标提供商 [必填]
LD_FAVICON_PROVIDER=https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={url}&size=32
# 数据库 主机 [必填]
LD_DB_HOST=localhost
# 数据库 端口 [必填]
LD_DB_PORT=5432
# 数据库 用户名 [必填]
LD_DB_USER=linkding
# 数据库 密码 [必填]
LD_DB_PASSWORD=
# 数据库名称 [必填]
LD_DB_DATABASE=linkding
# 数据库选项 (JSON) [必填]
LD_DB_OPTIONS={}
# CSRF 可信来源
LD_CSRF_TRUSTED_ORIGINS=
# 代理地址
ALL_PROXY=
# 代理白名单
NO_PROXY=localhost,127.0.0.1,::1
+168
View File
@@ -0,0 +1,168 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_POSTGRES_SERVICE
required: true
type: service
default: postgresql
envKey: PANEL_POSTGRES_TYPE
labelZh: Postgres 服务 (前置检查)
labelEn: Postgres Service (Pre-check)
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: "/home/linkding"
edit: true
envKey: LINKDING_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 9090
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: LD_SUPERUSER_NAME
labelZh: 管理员 用户名
labelEn: Superuser name
required: true
type: text
- default: ""
edit: true
envKey: LD_SUPERUSER_PASSWORD
labelZh: 管理员 密码
labelEn: Superuser password
required: true
rule: paramComplexity
type: password
- default: "False"
edit: true
envKey: LD_DISABLE_BACKGROUND_TASKS
labelZh: 禁用后台任务
labelEn: Disable background tasks
required: true
type: select
values:
- label: 禁用
value: "False"
- label: 启用
value: "True"
- default: "False"
edit: true
envKey: LD_DISABLE_URL_VALIDATION
labelZh: 禁用 URL 验证
labelEn: Disable URL validation
required: true
type: select
values:
- label: 禁用
value: "False"
- label: 启用
value: "True"
- default: 60
edit: true
envKey: LD_REQUEST_TIMEOUT
labelZh: 请求超时时间 (秒)
labelEn: Request timeout (seconds)
required: true
type: number
- default: ""
edit: true
envKey: LD_CONTEXT_PATH
labelZh: 网站路径
labelEn: Context path
required: false
type: text
- default: "false"
edit: true
envKey: LD_LOG_X_FORWARDED_FOR
labelZh: 记录真实 IP
labelEn: Log real IP
required: true
type: select
values:
- label: 禁用
value: "false"
- label: 启用
value: "true"
- default: "https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={url}&size=32"
edit: true
envKey: LD_FAVICON_PROVIDER
labelZh: 网站图标提供商
labelEn: Favicon provider
required: true
type: text
- default: "localhost"
edit: true
envKey: LD_DB_HOST
labelZh: 数据库 主机
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: LD_DB_PORT
labelEn: Database Port
labelZh: 数据库 端口
required: true
rule: paramPort
type: number
- default: "linkding"
edit: true
envKey: LD_DB_USER
labelZh: 数据库 用户名
labelEn: Database User
required: true
type: text
- default: ""
edit: true
envKey: LD_DB_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
required: true
type: password
- default: "linkding"
edit: true
envKey: LD_DB_DATABASE
labelZh: 数据库名称
labelEn: Database Name
required: true
type: text
- default: "{}"
edit: true
envKey: LD_DB_OPTIONS
labelZh: 数据库选项 (JSON)
labelEn: Database Options (JSON)
required: true
type: text
- default: ""
edit: true
envKey: LD_CSRF_TRUSTED_ORIGINS
labelZh: CSRF 可信来源
labelEn: CSRF trusted origins
required: false
type: text
- default: ""
edit: true
envKey: ALL_PROXY
labelZh: 代理地址
labelEn: Proxy address
required: false
rule: paramExtUrl
type: text
- default: "localhost,127.0.0.1,::1"
edit: true
envKey: NO_PROXY
labelZh: 代理白名单
labelEn: Proxy whitelist
required: false
type: text
+29
View File
@@ -0,0 +1,29 @@
networks:
1panel-network:
external: true
services:
linkding:
container_name: linkding
env_file:
- ./envs/global.env
- .env
environment:
- LD_SERVER_PORT=9090
- LD_DB_ENGINE=postgres
- HTTP_PROXY=${ALL_PROXY}
- HTTPS_PROXY=${ALL_PROXY}
image: sissbruecker/linkding:1.36.0-plus
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:9090
restart: always
ulimits:
nofile:
hard: 40000
soft: 20000
nproc: 65535
volumes:
- ${LINKDING_ROOT_PATH}/data:/etc/linkding/data
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+50
View File
@@ -0,0 +1,50 @@
# linkding
链接是一个简单的书签服务,您可以自己托管。
![linkding](https://file.lifebus.top/imgs/linkding_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 特性
+ 用于组织书签的标签
+ 按文本或标签搜索
+ 批量编辑
+ 书签存档
+ 深色模式
+ 在 Internet Archive Wayback Machine 上自动创建已添加书签的网站的快照
+ 自动提供已添加书签的网站的标题和描述
+ 以 Netscape HTML 格式导入和导出书签
+ Firefox 和 Chrome 的扩展程序,以及应该在大多数浏览器中工作的书签
+ 用于开发第三方应用程序的 REST API
+ 用于用户自助服务和原始数据访问的管理面板
+ 使用Docker易于设置,使用SQLite作为数据库
## 安装说明
### 网站图标提供商
+ 默认供应商 Google
`https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={url}&size=32`
+ 可选供应商 DuckDuckGo
`https://icons.duckduckgo.com/ip3/{domain}.ico`
> 自定义供应商规则
+ 参数 `{url}`
包括网站的方案和主机名,例如 https://example.com
+ 参数 `{domain}`
仅包含网站的主机名,例如 example.com
## 插件应用
+ [Firefox 书签同步](https://addons.mozilla.org/de/firefox/addon/linkding-extension/)
+ [Chrome 书签同步](https://chrome.google.com/webstore/detail/linkding-extension/beakmhbijpdhipnjhnclmhgjlddhidpe)
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+15
View File
@@ -0,0 +1,15 @@
additionalProperties:
key: linkding
name: Linkding
tags:
- WebSite
- Storage
- Local
shortDescZh: 自己托管的书签管理器
shortDescEn: Self-hosted bookmark manager
type: website
crossVersionUpdate: true
limit: 0
website: https://demo.linkding.link/
github: https://github.com/sissbruecker/linkding/
document: https://github.com/sissbruecker/linkding/
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB