mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-21 18:37:41 +08:00
feat:添加twonav到列表 #282
This commit is contained in:
parent
b690ec0062
commit
21fb3ec162
64
apps/twonav/README.md
Normal file
64
apps/twonav/README.md
Normal file
@ -0,0 +1,64 @@
|
||||
# 使用说明
|
||||
|
||||
- 此程序需要外挂源码,原生`docker-compose`运行的话,需要事先在应用数据目录下创建`data`文件夹,然后下载并解压源码到的`data`文件夹里。
|
||||
|
||||
- 默认`v1.7+`版本的`1Panel`部署时会自动调用脚本进行本应用源码下载,假如存在问题则可以手动下载源码或者修改目录下的`init.sh`脚本里的相关下载链接。
|
||||
|
||||
***
|
||||
# 原始相关
|
||||
|
||||
TwoNav 是一款开源的书签(导航)管理程序,界面简洁,安装简单,使用方便,基础功能免费。TwoNav可帮助你将浏览器书签集中式管理,解决跨设备、跨平台、跨浏览器之间同步和访问困难问题,做到一处部署,随处访问。
|
||||
|
||||
- **演示站**: [http://two.lm21.top](http://two.lm21.top)
|
||||
- **仅供体验,定期清理数据** 账号密码`admin`
|
||||
|
||||
### 相关文档
|
||||
* [安装教程](https://gitee.com/tznb/TwoNav/wikis/pages?sort_id=7968668&doc_id=3767990) | [使用说明](https://gitee.com/tznb/TwoNav/wikis) | [下载TwoNav](https://gitee.com/tznb/TwoNav/releases)
|
||||
* [OneNav Extend 升级到 TwoNav](https://gitee.com/tznb/OneNav/wikis/pages?sort_id=7955135&doc_id=2439895)
|
||||
|
||||
### 作者声明
|
||||
* 本程序没有二开版、除了下面的项目地址均为盗版。
|
||||
* 使用盗版软件存在法律风险且没有任何保障。
|
||||
* 未经许可禁止用于商业用途、转载请保留作品出处。
|
||||
|
||||
### 项目由来
|
||||
```
|
||||
起初只是搭建一个自己的书签站、网上找了一圈看中了小z的OneNav。
|
||||
因功能无法满足我,开始基于ONeNav各种魔改、然后就有了OneNav Extend、这个名字还是小z给取的。
|
||||
后来和小z都开始收费后、由于用户容易搞混等各种原因、于是我重写代码并改名为TwoNav。
|
||||
其中一些OneNav的特色依旧是保留下来、并兼容OneNav的一些插件。
|
||||
```
|
||||
|
||||
### 项目地址
|
||||
- [https://gitee.com/tznb/TwoNav](https://gitee.com/tznb/TwoNav)
|
||||
- [https://github.com/tznb1/TwoNav](https://github.com/tznb1/TwoNav)
|
||||
|
||||
### 技术支持
|
||||
- QQ: 271152681
|
||||
- QQ群: 695720839
|
||||
|
||||
### 运行环境
|
||||
* PHP: 7.3 - 8.2
|
||||
* 数据库: SQLite3 或 MySQL > 5.6.0
|
||||
|
||||
### 功能特色
|
||||
* 支持后台管理
|
||||
* 支持私有链接
|
||||
* 支持加密链接
|
||||
* 支持分享链接
|
||||
* 支持二级分类
|
||||
* 支持用户分组/权限管理
|
||||
* 支持Chrome/Firefox/Edge书签批量导入
|
||||
* 支持批量更新链接图标/标题/描述等信息
|
||||
* 支持链接信息自动识别
|
||||
* 支持API
|
||||
* 支持Docker部署
|
||||
* 支持uTools插件
|
||||
* 支持Chromium内核的[浏览器扩展]
|
||||
* 支持简易文章管理
|
||||
* 支持更换各种模板/支持混搭,20+个主题模板
|
||||
* 安全性支持:更换登录入口/二级密码/OTP双重验证
|
||||
|
||||
|
||||

|
||||

|
||||
20
apps/twonav/data.yml
Normal file
20
apps/twonav/data.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: TwoNav
|
||||
tags:
|
||||
- 建站
|
||||
title: 一款开源免费的书签(导航)管理程序
|
||||
type: 建站
|
||||
description: 一款开源免费的书签(导航)管理程序
|
||||
additionalProperties:
|
||||
key: twonav
|
||||
name: TwoNav
|
||||
tags:
|
||||
- WebSite
|
||||
shortDescZh: 一款开源免费的书签(导航)管理程序
|
||||
shortDescEn: An open source free bookmark (navigation) management program
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hub.docker.com/r/tznb/twonav
|
||||
github: https://github.com/tznb1/TwoNav
|
||||
document: https://gitee.com/tznb/TwoNav/wikis
|
||||
2
apps/twonav/latest/.env.sample
Normal file
2
apps/twonav/latest/.env.sample
Normal file
@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="twonav"
|
||||
PANEL_APP_PORT_HTTP="40169"
|
||||
10
apps/twonav/latest/data.yml
Normal file
10
apps/twonav/latest/data.yml
Normal file
@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40169
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
19
apps/twonav/latest/docker-compose.yml
Normal file
19
apps/twonav/latest/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
twonav:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
volumes:
|
||||
- "./data:/www"
|
||||
tty: true
|
||||
image: tznb/twonav:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
20
apps/twonav/latest/scripts/init.sh
Normal file
20
apps/twonav/latest/scripts/init.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 设置下载目录
|
||||
download_dir="./data"
|
||||
|
||||
# 下载文件
|
||||
wget -P "$download_dir" "https://ghproxy.com/https://github.com/tznb1/TwoNav/archive/refs/heads/master.zip"
|
||||
|
||||
# 解压文件
|
||||
unzip -o -d "$download_dir" "$download_dir/master.zip"
|
||||
|
||||
# 复制文件
|
||||
cp -rf "$download_dir/TwoNav-master/"* "$download_dir/"
|
||||
|
||||
# 删除不需要的文件和目录
|
||||
rm -rf "$download_dir/TwoNav-master"
|
||||
rm -rf "$download_dir/master.zip"
|
||||
|
||||
# 更改文件所有者
|
||||
chown -R www-data "$download_dir"
|
||||
BIN
apps/twonav/logo.png
Normal file
BIN
apps/twonav/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
Loading…
Reference in New Issue
Block a user