mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 09:26:57 +08:00
发布应用 Shiori 应用
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
bfc4f45eb9
commit
df20a8849c
1
.github/README.md
vendored
1
.github/README.md
vendored
@ -144,6 +144,7 @@
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/redis/logo.png" width="22"/> | Redis | https://redis.io/ | 从世界上最快的内存数据库创建者那里获取该数据库 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/rsshub/logo.png" width="22"/> | RssHub | https://rsshub.app/ | 从任何内容生成 RSS/Atom/JSON 订阅源 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sentinel/logo.png" width="22"/> | Sentinel | https://sentinelguard.io/ | 面向分布式、多语言异构化服务架构的流量治理组件 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/shiori/logo.png" width="22"/> | Shiori | https://www.kimai.org/ | 简单书签管理器,旨在作为 Pocket 的简单克隆 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/siyuan/logo.png" width="22"/> | 思源笔记 | https://b3log.org/siyuan/ | 【思源笔记】一款隐私优先、自托管、完全开源的个人知识管理软件 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/slink/logo.png" width="22"/> | Slink | https://github.com/andrii-kryvoviaz/slink/ | 图片分享平台 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sonarr/logo.png" width="22"/> | sonarr | https://sonarr.tv/ | 智能 PVR 适用于新闻组和 BT 用户。 | |
|
||||
|
@ -127,6 +127,7 @@
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/redis/logo.png" width="22"/> | Redis | https://redis.io/ | 从世界上最快的内存数据库创建者那里获取该数据库 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/rsshub/logo.png" width="22"/> | RssHub | https://rsshub.app/ | 从任何内容生成 RSS/Atom/JSON 订阅源 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sentinel/logo.png" width="22"/> | Sentinel | https://sentinelguard.io/ | 面向分布式、多语言异构化服务架构的流量治理组件 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/shiori/logo.png" width="22"/> | Shiori | https://www.kimai.org/ | 简单书签管理器,旨在作为 Pocket 的简单克隆 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/siyuan/logo.png" width="22"/> | 思源笔记 | https://b3log.org/siyuan/ | 【思源笔记】一款隐私优先、自托管、完全开源的个人知识管理软件 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/slink/logo.png" width="22"/> | Slink | https://github.com/andrii-kryvoviaz/slink/ | 图片分享平台 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sonarr/logo.png" width="22"/> | sonarr | https://sonarr.tv/ | 智能 PVR 适用于新闻组和 BT 用户。 | |
|
||||
|
44
apps/shiori/1.7.1/data.yml
Normal file
44
apps/shiori/1.7.1/data.yml
Normal file
@ -0,0 +1,44 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
required: true
|
||||
type: service
|
||||
default: postgresql
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelZh: 数据库服务 (前置检查)
|
||||
labelEn: Database Service
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- label: Percona
|
||||
value: percona
|
||||
- default: "/home/shiori"
|
||||
edit: true
|
||||
envKey: SHIORI_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 访问端口
|
||||
labelEn: Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SHIORI_DATABASE_URL
|
||||
labelZh: 数据库链接 URL
|
||||
labelEn: Database URL
|
||||
required: true
|
||||
type: text
|
23
apps/shiori/1.7.1/docker-compose.yml
Normal file
23
apps/shiori/1.7.1/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
shiori:
|
||||
image: ghcr.io/go-shiori/shiori:v1.7.1
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${SHIORI_ROOT_PATH}/dev-data:/srv/shiori
|
||||
- ${SHIORI_ROOT_PATH}/data:/src/shiori
|
||||
environment:
|
||||
- SHIORI_DIR=/srv/shiori
|
15
apps/shiori/1.7.1/scripts/init.sh
Normal file
15
apps/shiori/1.7.1/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/shiori/1.7.1/scripts/uninstall.sh
Normal file
10
apps/shiori/1.7.1/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
15
apps/shiori/1.7.1/scripts/upgrade.sh
Normal file
15
apps/shiori/1.7.1/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
49
apps/shiori/README.md
Normal file
49
apps/shiori/README.md
Normal file
@ -0,0 +1,49 @@
|
||||
# Shiori
|
||||
|
||||
Shiori 是一款用 Go 语言编写的简单书签管理器,旨在作为 Pocket 的简单克隆。
|
||||
|
||||
![Shiori](https://file.lifebus.top/imgs/shiori_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)
|
||||
|
||||
## 特性
|
||||
|
||||
+ 基础书签管理,即添加、编辑、删除和搜索。
|
||||
+ 从 Netscape 书签文件导入和导出书签。
|
||||
+ 从 Pocket 导入书签。
|
||||
+ 简洁明了的命令行界面。
|
||||
+ 简洁美观的网页界面,专为那些不想使用命令行应用程序的用户设计。
|
||||
+ 轻便便携,得益于其单一的二进制格式。
|
||||
+ 数据库支持 sqlite3、PostgreSQL 和 MySQL。
|
||||
+ 默认情况下,尽可能的, shiori 将解析可读内容并创建网页的离线存档。
|
||||
+ [测试版] 支持 Firefox 和 Chrome 浏览器的 Web 扩展程序。
|
||||
|
||||
## 安装说明
|
||||
|
||||
### `数据库链接 URL` 配置
|
||||
|
||||
> 名词解释
|
||||
>
|
||||
> `username` 数据库用户名
|
||||
>
|
||||
> `password` 数据库密码
|
||||
>
|
||||
> `localhost` 数据库地址
|
||||
>
|
||||
> `port` 数据库端口
|
||||
>
|
||||
> `database` 数据库名称
|
||||
|
||||
+ `mysql` 数据库链接 URL 配置
|
||||
|
||||
模板:`mysql://username:password@tcp(localhost:port)/database?charset=utf8mb4`
|
||||
示例:`mysql://shiori:shiori@(mariadb)/shiori?charset=utf8mb4`
|
||||
|
||||
+ `postgresql` 数据库链接 URL 配置
|
||||
|
||||
模板:`postgres://username:password@localhost:port/database?sslmode=disable`
|
||||
示例:`postgres://shiori:shiori@postgres/shiori?sslmode=disable`
|
||||
|
||||
---
|
||||
|
||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
14
apps/shiori/data.yml
Normal file
14
apps/shiori/data.yml
Normal file
@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: shiori
|
||||
name: Shiori
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 简单书签管理器,旨在作为 Pocket 的简单克隆
|
||||
shortDescEn: Simple bookmark manager, aiming to be a simple clone of Pocket
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://www.kimai.org/
|
||||
github: https://github.com/kimai/kimai/
|
||||
document: https://www.kimai.org/documentation/
|
BIN
apps/shiori/logo.png
Normal file
BIN
apps/shiori/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue
Block a user