发布 Twikoo

This commit is contained in:
ms
2025-12-01 18:59:56 +08:00
parent 5c937b63d0
commit cabc820b8a
12 changed files with 168 additions and 1 deletions

3
.github/README.md vendored
View File

@@ -15,7 +15,7 @@
> 即将支持应用商店: [CasaOS](https://casaos.io/) > 即将支持应用商店: [CasaOS](https://casaos.io/)
> >
> 欢迎投稿,我们会根据您的需求,上架更多的应用。 > 欢迎投稿,我们会根据您的需求,上架更多的应用。
> > t
> 🥰 [新疆萌森软件开发工作室](https://blog.lifebus.top/) 祝您生活愉快! > 🥰 [新疆萌森软件开发工作室](https://blog.lifebus.top/) 祝您生活愉快!
@@ -190,6 +190,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/topiam-ce/logo.png" width="22"/> | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/topiam-ce/logo.png" width="22"/> | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/traccar/logo.png" width="22"/> | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/traccar/logo.png" width="22"/> | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/twikoo/logo.png" width="22"/> | Twikoo | http://twikoo.js.org/ | 静态网站评论系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/v2raya/logo.png" width="22"/> | v2rayA | https://v2raya.org/ | 一个易用而强大的,跨平台的 V2Ray 客户端 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/v2raya/logo.png" width="22"/> | v2rayA | https://v2raya.org/ | 一个易用而强大的,跨平台的 V2Ray 客户端 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/vertex/logo.png" width="22"/> | Vertex | https://github.com/vertex-app/vertex/ | 追剧刷流一体化综合管理工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/vertex/logo.png" width="22"/> | Vertex | https://github.com/vertex-app/vertex/ | 追剧刷流一体化综合管理工具 | |

View File

@@ -185,6 +185,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/topiam-ce/logo.png" width="22"/> | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/topiam-ce/logo.png" width="22"/> | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/traccar/logo.png" width="22"/> | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/traccar/logo.png" width="22"/> | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/twikoo/logo.png" width="22"/> | Twikoo | http://twikoo.js.org/ | 静态网站评论系统 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/v2raya/logo.png" width="22"/> | v2rayA | https://v2raya.org/ | 一个易用而强大的,跨平台的 V2Ray 客户端 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/v2raya/logo.png" width="22"/> | v2rayA | https://v2raya.org/ | 一个易用而强大的,跨平台的 V2Ray 客户端 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/vertex/logo.png" width="22"/> | Vertex | https://github.com/vertex-app/vertex/ | 追剧刷流一体化综合管理工具 | | | 🟢 | <img height="22" src="https://file.lifebus.top/apps/vertex/logo.png" width="22"/> | Vertex | https://github.com/vertex-app/vertex/ | 追剧刷流一体化综合管理工具 | |

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "/home/twikoo"
edit: true
envKey: TWIKOO_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 1000
edit: true
envKey: TWIKOO_THROTTLE
labelZh: 请求限制
labelEn: Request limit
required: true
type: number

View File

@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
twikoo:
image: imaegoo/twikoo:1.6.44
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${TWIKOO_ROOT_PATH}/data:/app/data
environment:
- TZ=Asia/Shanghai
- TWIKOO_PORT=8080

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

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

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

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

56
apps/twikoo/README.md Normal file
View File

@@ -0,0 +1,56 @@
# Twikoo
静态网站评论系统
![Twikoo](https://file.lifebus.top/imgs/twikoo_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)
## 特性
### 易用
+ 支持回复、点赞
+ 无需额外适配,支持搭配浅色主题与深色主题使用
+ 支持 API 调用,批量获取文章评论数、最新评论
+ 访客在昵称栏输入 QQ 号,会自动补全 QQ 昵称和 QQ 邮箱
+ 访客填写数字 QQ 邮箱,会使用 QQ 头像作为评论头像
+ 支持评论框粘贴图片(可禁用)
+ 支持插入图片(可禁用)
+ 支持去不图床、云开发图床
+ 支持插入表情(可禁用)
+ 支持 Ctrl + Enter 快捷回复
+ 评论框内容实时保存草稿,刷新不会丢失
+ 支持 Katex 公式
+ 支持按语言的代码高亮
### 安全
+ 隐私信息安全通过云函数控制敏感字段邮箱、IP、环境配置等不会泄露
+ 支持 Akismet 垃圾评论检测(需自行注册 akismet.com
+ 支持腾讯云内容安全垃圾评论检测(需自行注册 腾讯云内容安全)
+ 支持人工审核模式
+ 防 XSS 注入
+ 支持限制每个 IP 每 10 分钟最多发表多少条评论
### 即时
+ 支持邮件提醒(访客和博主)
+ 支持微信提醒(仅针对博主,基于 Server酱需自行注册
+ 支持 QQ 提醒(仅针对博主,基于 Qmsg酱需自行注册
+ 支持 QQ 提醒针对博主QQ或者群基于 go-cqhttp需自己有服务器
### 个性
+ 支持自定义评论框背景图片
+ 支持自定义“博主”标识文字
+ 支持自定义通知邮件模板
+ 支持自定义评论框提示信息placeholder
+ 支持自定义表情列表(兼容 OwO 的数据格式)
+ 支持自定义【昵称】【邮箱】【网址】必填 / 选填
+ 支持自定义代码高亮主题
### 管理
+ 内嵌式管理面板,通过密码登录,可方便地查看评论、隐藏评论、删除评论、修改配置
+ 支持隐藏管理入口,通过输入暗号显示
+ 支持从 Valine、Artalk、Disqus 导入评论
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

14
apps/twikoo/data.yml Normal file
View File

@@ -0,0 +1,14 @@
additionalProperties:
key: twikoo
name: Twikoo
tags:
- WebSite
- Local
shortDescZh: 静态网站评论系统
shortDescEn: Static website comment system
type: website
crossVersionUpdate: true
limit: 0
website: http://twikoo.js.org/
github: https://github.com/twikoojs/twikoo/
document: http://twikoo.js.org/

BIN
apps/twikoo/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB