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 00000000..a7a77370 Binary files /dev/null and b/apps/glance/logo.png differ