From 9ba0e8092899e7d3dfd5489ac5431ff8a80def42 Mon Sep 17 00:00:00 2001 From: okxlin <61420215+okxlin@users.noreply.github.com> Date: Sun, 19 Jul 2026 01:51:21 +0800 Subject: [PATCH] Use available GoTab 2.0.1.6 image --- apps/gotab/{2.0.1.1 => 2.0.1.6}/.env.sample | 0 apps/gotab/{2.0.1.1 => 2.0.1.6}/data.yml | 0 .../{2.0.1.1 => 2.0.1.6}/data/config.toml | 0 .../{2.0.1.1 => 2.0.1.6}/docker-compose.yml | 2 +- .../{2.0.1.1 => 2.0.1.6}/scripts/init.sh | 0 .../{2.0.1.1 => 2.0.1.6}/scripts/uninstall.sh | 0 .../{2.0.1.1 => 2.0.1.6}/scripts/upgrade.sh | 0 apps/gotab/README.md | 62 ++++++++++++------- 8 files changed, 39 insertions(+), 25 deletions(-) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/.env.sample (100%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/data.yml (100%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/data/config.toml (100%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/docker-compose.yml (92%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/scripts/init.sh (100%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/scripts/uninstall.sh (100%) rename apps/gotab/{2.0.1.1 => 2.0.1.6}/scripts/upgrade.sh (100%) diff --git a/apps/gotab/2.0.1.1/.env.sample b/apps/gotab/2.0.1.6/.env.sample similarity index 100% rename from apps/gotab/2.0.1.1/.env.sample rename to apps/gotab/2.0.1.6/.env.sample diff --git a/apps/gotab/2.0.1.1/data.yml b/apps/gotab/2.0.1.6/data.yml similarity index 100% rename from apps/gotab/2.0.1.1/data.yml rename to apps/gotab/2.0.1.6/data.yml diff --git a/apps/gotab/2.0.1.1/data/config.toml b/apps/gotab/2.0.1.6/data/config.toml similarity index 100% rename from apps/gotab/2.0.1.1/data/config.toml rename to apps/gotab/2.0.1.6/data/config.toml diff --git a/apps/gotab/2.0.1.1/docker-compose.yml b/apps/gotab/2.0.1.6/docker-compose.yml similarity index 92% rename from apps/gotab/2.0.1.1/docker-compose.yml rename to apps/gotab/2.0.1.6/docker-compose.yml index 9eff284d9..40a8f1389 100644 --- a/apps/gotab/2.0.1.1/docker-compose.yml +++ b/apps/gotab/2.0.1.6/docker-compose.yml @@ -1,6 +1,6 @@ services: gotab-server: - image: "doxwant/gotab:2.0.1.1" + image: "doxwant/gotab:2.0.1.6" container_name: ${CONTAINER_NAME} ports: - ${PANEL_APP_PORT_HTTP}:8080 diff --git a/apps/gotab/2.0.1.1/scripts/init.sh b/apps/gotab/2.0.1.6/scripts/init.sh similarity index 100% rename from apps/gotab/2.0.1.1/scripts/init.sh rename to apps/gotab/2.0.1.6/scripts/init.sh diff --git a/apps/gotab/2.0.1.1/scripts/uninstall.sh b/apps/gotab/2.0.1.6/scripts/uninstall.sh similarity index 100% rename from apps/gotab/2.0.1.1/scripts/uninstall.sh rename to apps/gotab/2.0.1.6/scripts/uninstall.sh diff --git a/apps/gotab/2.0.1.1/scripts/upgrade.sh b/apps/gotab/2.0.1.6/scripts/upgrade.sh similarity index 100% rename from apps/gotab/2.0.1.1/scripts/upgrade.sh rename to apps/gotab/2.0.1.6/scripts/upgrade.sh diff --git a/apps/gotab/README.md b/apps/gotab/README.md index 9d6588642..b14b62047 100644 --- a/apps/gotab/README.md +++ b/apps/gotab/README.md @@ -1,43 +1,57 @@ # GoTab -## 应用简介 -GoTab 是一个个性化浏览器新标签页、起始页、个人主页。 +## 产品介绍 -英文说明:Personalized browser new tab, start page, and personal homepage. +GoTab 是一个个性化浏览器新标签页、起始页和个人主页,支持登录后同步个人配置与页面数据。 + +## 主要功能 + +- 自定义浏览器新标签页、起始页和个人主页。 +- 管理默认主页数据和用户个人数据。 +- 通过管理后台调整站点功能开关。 + +## 访问说明 + +安装完成后,使用 1Panel 应用详情中配置的 Web 端口访问 GoTab。 + +管理后台入口位于“管理员 -> 我的 -> 管理端”,也可以在登录后直接访问 `/console`。 ## 部署说明 -- 本应用使用 Docker Compose 在 1Panel 中部署。 -- 应用分类:网站。 -- 支持架构:amd64。 -- 可选版本:`1.6.1.6`。 -- 安装后按应用表单中的端口访问 Web UI、SSH 或对应服务。 -## 端口 -| 变量 | 说明 | 默认值 | 必填 | -| --- | --- | --- | --- | -| PANEL_APP_PORT_HTTP | Web 端口 | 43009 | 是 | +- 本应用使用 Docker Compose 在 1Panel 中部署。 +- 支持 `amd64` 架构。 +- `PANEL_APP_PORT_HTTP`:Web 访问端口,默认 `43009`。 +- `TIME_ZONE`:应用时区,默认 `Asia/Shanghai`。 ## 数据持久化 + - `./data/uploads:/app/uploads` - `./data/sourceStore:/app/sourceStore` - `./data/config.toml:/app/config.toml` 升级或迁移前,请在 1Panel 中备份上述数据目录。 -## 配置项 -| 变量 | 说明 | 默认值 | 必填 | -| --- | --- | --- | --- | -| TIME_ZONE | 时区 | Asia/Shanghai | 是 | - ## 使用说明 -#### 注意事项 -(1)管理后台路径:管理员 - 我的 - 管理端,或者登陆后直接访问 /console 路径; +后台设置中的部分功能开关会写入 `/web/siteConfig.js`。如果配置变更没有立即生效,请检查浏览器或服务缓存;HTML 文件、`/background.js` 和 `/api/*` 路径也可能受到缓存影响。 -(2)后台设置的一些功能性开关,对应着/web/siteConfig.js 文件,已经做了版本缓存控制,如变更配置无效请检查服务缓存,其他需要注意缓存的文件为:html 结尾的,/background.js,以及/api/\*路径开头的; - -(3)数据是跟着用户走的,不登录的情况下默认的只是在本地进行缓存。数据分为两类,一类是默认主页数据(管理员可以在个人中心右上角编辑默认主页数据,也可以在管理后台的功能开关中调整默认主页数据策略),另一类是用户数据; +未登录时,页面数据默认只保存在浏览器本地。登录后,默认主页数据由管理员策略控制,个人数据随用户账号保存。 ## 参考资料 -- 官网: -- 文档: + +- 官网: +- 项目文档: + +## Introduction + +GoTab is a personalized browser new tab page, start page, and personal homepage. Signed-in users can keep their personal configuration and page data with their account. + +## Features + +- Custom browser new tab, start, and personal home pages. +- Separate default homepage data from account-specific user data. +- Manage site feature switches from the administration console. + +## Access + +Open GoTab through the Web port configured in the 1Panel app details. Administrators can use "Administrator -> My -> Admin" or open `/console` after signing in.