From 8af0478b42225410cb0f31e94d2497e9dcdb7e52 Mon Sep 17 00:00:00 2001 From: okxlin Date: Thu, 8 Aug 2024 23:24:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0glance=E5=88=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/glance/0.5.0/.env.sample | 3 + apps/glance/0.5.0/data.yml | 17 +++++ apps/glance/0.5.0/data/glance.yml | 106 ++++++++++++++++++++++++++ apps/glance/0.5.0/docker-compose.yml | 19 +++++ apps/glance/README.md | 3 + apps/glance/data.yml | 19 +++++ apps/glance/latest/.env.sample | 3 + apps/glance/latest/data.yml | 17 +++++ apps/glance/latest/data/glance.yml | 106 ++++++++++++++++++++++++++ apps/glance/latest/docker-compose.yml | 19 +++++ apps/glance/logo.png | Bin 0 -> 4504 bytes 11 files changed, 312 insertions(+) create mode 100644 apps/glance/0.5.0/.env.sample create mode 100644 apps/glance/0.5.0/data.yml create mode 100644 apps/glance/0.5.0/data/glance.yml create mode 100644 apps/glance/0.5.0/docker-compose.yml create mode 100644 apps/glance/README.md create mode 100644 apps/glance/data.yml create mode 100644 apps/glance/latest/.env.sample create mode 100644 apps/glance/latest/data.yml create mode 100644 apps/glance/latest/data/glance.yml create mode 100644 apps/glance/latest/docker-compose.yml create mode 100644 apps/glance/logo.png diff --git a/apps/glance/0.5.0/.env.sample b/apps/glance/0.5.0/.env.sample new file mode 100644 index 00000000..e8331432 --- /dev/null +++ b/apps/glance/0.5.0/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="glance" +GLANCE_CONFIG_PATH="./data/glance.yml" +PANEL_APP_PORT_HTTP=40281 diff --git a/apps/glance/0.5.0/data.yml b/apps/glance/0.5.0/data.yml new file mode 100644 index 00000000..6624420a --- /dev/null +++ b/apps/glance/0.5.0/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "40281" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/glance.yml" + disabled: true + envKey: GLANCE_CONFIG_PATH + labelEn: Glance Configuration Path + labelZh: Glance 配置文件路径 + required: true + type: text diff --git a/apps/glance/0.5.0/data/glance.yml b/apps/glance/0.5.0/data/glance.yml new file mode 100644 index 00000000..7cde96e9 --- /dev/null +++ b/apps/glance/0.5.0/data/glance.yml @@ -0,0 +1,106 @@ +theme: + background-color: 225 14 15 + primary-color: 157 47 65 + contrast-multiplier: 1.1 + +pages: + - name: Home + columns: + - size: small + widgets: + - type: clock + hour-format: 24h + timezones: + - timezone: Etc/UTC + label: MapleStory Game Time + - timezone: Asia/Shanghai + label: Shanghai + - timezone: America/New_York + label: New York + + - type: calendar + + - type: twitch-channels + channels: + - theprimeagen + - cohhcarnage + - christitustech + - blurbs + - asmongold + - jembawls + + - size: full + widgets: + - type: hacker-news + + - type: rss + limit: 10 + collapse-after: 3 + cache: 3h + style: detailed-list + feeds: + - url: https://supertechfans.com/cn/index.xml + title: HackerNews + + - type: videos + channels: + - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling + - UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome + - UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim + limit: 25 + collapse-after-rows: 2 + style: grid-cards + + - type: reddit + subreddit: selfhosted + + - size: small + widgets: + - type: weather + location: Beijing, China + + - type: bookmarks + groups: + - links: + - title: Google + url: https://google.com/ + - title: Github + url: https://github.com/ + - title: Hostloc + url: https://hostloc.com/ + - title: Nodeseek + url: https://www.nodeseek.com/ + - title: Linuxdo + url: https://linux.do/ + - title: V2ex + url: https://www.v2ex.com/ + - title: Entertainment + color: 10 70 50 + links: + - title: Bilibli + url: https://www.bilibili.com/ + - title: YouTube + url: https://www.youtube.com/ + - title: Netflix + url: https://www.netflix.com/ + - title: Disney+ + url: https://www.disneyplus.com/ + + - type: markets + markets: + - symbol: SPY + name: S&P 500 + - symbol: BTC-USD + name: Bitcoin + - symbol: NVDA + name: NVIDIA + - symbol: AAPL + name: Apple + - symbol: MSFT + name: Microsoft + - symbol: GOOGL + name: Google + - symbol: AMD + name: AMD + - symbol: RDDT + name: Reddit \ No newline at end of file diff --git a/apps/glance/0.5.0/docker-compose.yml b/apps/glance/0.5.0/docker-compose.yml new file mode 100644 index 00000000..2c3d9e6a --- /dev/null +++ b/apps/glance/0.5.0/docker-compose.yml @@ -0,0 +1,19 @@ +services: + glance: + image: "glanceapp/glance:v0.5.0" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ${GLANCE_CONFIG_PATH}:/app/glance.yml + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/glance/README.md b/apps/glance/README.md new file mode 100644 index 00000000..09a5eb89 --- /dev/null +++ b/apps/glance/README.md @@ -0,0 +1,3 @@ +

What if you could see everything at a...

+

Glance

+

InstallConfigurationThemes

diff --git a/apps/glance/data.yml b/apps/glance/data.yml new file mode 100644 index 00000000..81d56bc0 --- /dev/null +++ b/apps/glance/data.yml @@ -0,0 +1,19 @@ +name: Glance +tags: + - 建站 +title: 一个自托管仪表板 +description: 一个自托管仪表板 +additionalProperties: + key: glance + name: Glance + tags: + - WebSite + shortDescZh: 一个自托管仪表板 + shortDescEn: A self-hosted dashboard + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/glanceapp/glance + github: https://github.com/glanceapp/glance + document: https://github.com/glanceapp/glance diff --git a/apps/glance/latest/.env.sample b/apps/glance/latest/.env.sample new file mode 100644 index 00000000..e8331432 --- /dev/null +++ b/apps/glance/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="glance" +GLANCE_CONFIG_PATH="./data/glance.yml" +PANEL_APP_PORT_HTTP=40281 diff --git a/apps/glance/latest/data.yml b/apps/glance/latest/data.yml new file mode 100644 index 00000000..6624420a --- /dev/null +++ b/apps/glance/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "40281" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/glance.yml" + disabled: true + envKey: GLANCE_CONFIG_PATH + labelEn: Glance Configuration Path + labelZh: Glance 配置文件路径 + required: true + type: text diff --git a/apps/glance/latest/data/glance.yml b/apps/glance/latest/data/glance.yml new file mode 100644 index 00000000..7cde96e9 --- /dev/null +++ b/apps/glance/latest/data/glance.yml @@ -0,0 +1,106 @@ +theme: + background-color: 225 14 15 + primary-color: 157 47 65 + contrast-multiplier: 1.1 + +pages: + - name: Home + columns: + - size: small + widgets: + - type: clock + hour-format: 24h + timezones: + - timezone: Etc/UTC + label: MapleStory Game Time + - timezone: Asia/Shanghai + label: Shanghai + - timezone: America/New_York + label: New York + + - type: calendar + + - type: twitch-channels + channels: + - theprimeagen + - cohhcarnage + - christitustech + - blurbs + - asmongold + - jembawls + + - size: full + widgets: + - type: hacker-news + + - type: rss + limit: 10 + collapse-after: 3 + cache: 3h + style: detailed-list + feeds: + - url: https://supertechfans.com/cn/index.xml + title: HackerNews + + - type: videos + channels: + - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling + - UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome + - UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim + limit: 25 + collapse-after-rows: 2 + style: grid-cards + + - type: reddit + subreddit: selfhosted + + - size: small + widgets: + - type: weather + location: Beijing, China + + - type: bookmarks + groups: + - links: + - title: Google + url: https://google.com/ + - title: Github + url: https://github.com/ + - title: Hostloc + url: https://hostloc.com/ + - title: Nodeseek + url: https://www.nodeseek.com/ + - title: Linuxdo + url: https://linux.do/ + - title: V2ex + url: https://www.v2ex.com/ + - title: Entertainment + color: 10 70 50 + links: + - title: Bilibli + url: https://www.bilibili.com/ + - title: YouTube + url: https://www.youtube.com/ + - title: Netflix + url: https://www.netflix.com/ + - title: Disney+ + url: https://www.disneyplus.com/ + + - type: markets + markets: + - symbol: SPY + name: S&P 500 + - symbol: BTC-USD + name: Bitcoin + - symbol: NVDA + name: NVIDIA + - symbol: AAPL + name: Apple + - symbol: MSFT + name: Microsoft + - symbol: GOOGL + name: Google + - symbol: AMD + name: AMD + - symbol: RDDT + name: Reddit \ No newline at end of file diff --git a/apps/glance/latest/docker-compose.yml b/apps/glance/latest/docker-compose.yml new file mode 100644 index 00000000..1dceda5b --- /dev/null +++ b/apps/glance/latest/docker-compose.yml @@ -0,0 +1,19 @@ +services: + glance: + image: "glanceapp/glance:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ${GLANCE_CONFIG_PATH}:/app/glance.yml + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/glance/logo.png b/apps/glance/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..a7a77370791af0a624ab8ff80e0aee4ec32a89b1 GIT binary patch literal 4504 zcmcgvb%$Iv6L0eOqjF^EK3k!=(RYg(vpEmt(2yy-~G1cWie&VOCt`GjV zF#rGJ@$r#?fq|Z$o`#0z*|TSNcXzC;tir;=va+&cV`Bye277yZBO@blIDB_^mxqT3 z3Wb)JmxqLe@bU3oTwDkV39+-YgTY`Cb95)!ksv+C;VIXO8hDk|FA z+Qr4iot>Qs1j5+ZxVgDGA|k@m)6>DhVP$1yYHF&ovT}cazrMb{u&_{GUf#vUWny9? zE-p?=N-8rmGbku%adEMyr>Cv0&Bw=Qb8|B~Iyx^e&%(mO-`~HxySuu&x~8TkIXM{y zgK^?nX8enu(_2?l59{z^X5{l8xjFt0U=8dKL-8`Ur+8hjgln|5P-pbm99PSWvA}OE zeX+18s#O)`^!=Cie_6OivC_w)h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