diff --git a/apps/dailyhot-web/README.md b/apps/dailyhot-web/README.md new file mode 100644 index 00000000..652ab1e6 --- /dev/null +++ b/apps/dailyhot-web/README.md @@ -0,0 +1,5 @@ +## DailyHot Web + +- 需要配合 `今日热榜 DailyHot API` 一起使用 + +- 修改刚刚搭建的`api`地址以及备案号,访问`ip:端口`即可看到热榜 \ No newline at end of file diff --git a/apps/dailyhot-web/data.yml b/apps/dailyhot-web/data.yml new file mode 100644 index 00000000..124464ff --- /dev/null +++ b/apps/dailyhot-web/data.yml @@ -0,0 +1,20 @@ +name: 今日热榜 DailyHot Web +tags: + - 工具 +title: 一个聚合了中文热门站点数据的项目(前端) +type: 工具 +description: 一个聚合了中文热门站点数据的项目(前端) +additionalProperties: + key: dailyhot-web + name: 今日热榜 DailyHot Web + tags: + - Tool + shortDescZh: 一个聚合了中文热门站点数据的项目(前端) + shortDescEn: A project that aggregates data for Chinese popular sites (web) + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://hot.imsyy.top + github: https://github.com/imsyy/DailyHot + document: https://github.com/imsyy/DailyHot diff --git a/apps/dailyhot-web/latest/.env.sample b/apps/dailyhot-web/latest/.env.sample new file mode 100644 index 00000000..c29ac6bb --- /dev/null +++ b/apps/dailyhot-web/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="dailyhot-web" +PANEL_APP_PORT_HTTP="40142" +API_URL="https://hot-api.bbit.fun" +ICP_TEXT="没有备案,这里填写备案ICP" diff --git a/apps/dailyhot-web/latest/data.yml b/apps/dailyhot-web/latest/data.yml new file mode 100644 index 00000000..5b620f1a --- /dev/null +++ b/apps/dailyhot-web/latest/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40142 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "https://hot-api.bbit.fun" + edit: true + envKey: API_URL + labelEn: API interface address (please build your own) + labelZh: API接口地址 (请自行搭建) + required: true + type: text + - default: "没有备案,这里填写备案ICP" + edit: true + envKey: ICP_TEXT + labelEn: ICP address + labelZh: ICP地址 (自行填写) + required: true + type: text diff --git a/apps/dailyhot-web/latest/docker-compose.yml b/apps/dailyhot-web/latest/docker-compose.yml new file mode 100644 index 00000000..845d7596 --- /dev/null +++ b/apps/dailyhot-web/latest/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3' +services: + dailyhot-web: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + environment: + - "API=${API_URL}" + - "ICP=${ICP_TEXT}" + image: liwangsheng/dailyhot-web:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/dailyhot-web/logo.png b/apps/dailyhot-web/logo.png new file mode 100644 index 00000000..4729a6ef Binary files /dev/null and b/apps/dailyhot-web/logo.png differ