diff --git a/glance/0.6.4/data.yml b/glance/0.6.4/data.yml new file mode 100644 index 000000000..02d12e260 --- /dev/null +++ b/glance/0.6.4/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: WebUI Port + labelZh: 网页端口 + required: true + rule: paramPort + type: number \ No newline at end of file diff --git a/glance/0.6.4/data/glance.yml b/glance/0.6.4/data/glance.yml new file mode 100644 index 000000000..609f9c59b --- /dev/null +++ b/glance/0.6.4/data/glance.yml @@ -0,0 +1,65 @@ +pages: + - name: Home + columns: + - size: small + widgets: + - type: calendar + + - type: rss + limit: 10 + collapse-after: 3 + cache: 3h + feeds: + - url: https://ciechanow.ski/atom.xml + - url: https://www.joshwcomeau.com/rss.xml + title: Josh Comeau + - url: https://samwho.dev/rss.xml + - url: https://awesomekling.github.io/feed.xml + - url: https://ishadeed.com/feed.xml + title: Ahmad Shadeed + + - type: twitch-channels + channels: + - theprimeagen + - cohhcarnage + - christitustech + - blurbs + - asmongold + - jembawls + + - size: full + widgets: + - type: hacker-news + + - type: videos + channels: + - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling + - UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome + - UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim + + - type: reddit + subreddit: selfhosted + + - size: small + widgets: + - type: weather + location: London, United Kingdom + + - 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/glance/0.6.4/docker-compose.yml b/glance/0.6.4/docker-compose.yml new file mode 100644 index 000000000..f2b43926e --- /dev/null +++ b/glance/0.6.4/docker-compose.yml @@ -0,0 +1,18 @@ +services: + glance: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ./data/glance.yml:/app/glance.yml + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + image: glanceapp/glance:v0.6.4 + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/glance/README.md b/glance/README.md new file mode 100644 index 000000000..50acd81aa --- /dev/null +++ b/glance/README.md @@ -0,0 +1,15 @@ +# Glance + +Glance 是一个自托管的仪表板,它可以将所有的订阅源整合到一个界面中,让你一目了然地查看所有信息。 + + +## 说明 + +安装后默认包含一个示例配置文件,其中包含了一些小部件的示例。你可以根据自己的需求修改配置文件,添加或删除小部件。具体的配置方法请参考[配置文件说明](https://github.com/glanceapp/glance/blob/main/docs/configuration.md)、[预配置页面](https://github.com/glanceapp/glance/blob/main/docs/preconfigured-pages.md)。 + +## 主要功能: + +- **多样化的小部件**:Glance 提供了多种小部件,包括 RSS 订阅、Subreddit 帖子、天气、书签、Hacker News、Lobsters、特定频道的最新 YouTube 视频、时钟、日历、股票、iframe、Twitch 频道和顶级游戏、GitHub 发布、代码库概览、网站监控、搜索框等。 +- **主题化**:Glance 支持主题化,用户可以根据个人喜好自定义仪表板的外观。 +- **移动设备优化**:Glance 针对移动设备进行了优化,无论是手机还是平板,都能提供良好的用户体验。 +- **快速且轻量级**:Glance 使用最少的 JavaScript,不依赖臃肿的框架,依赖极少,单一的、易于分发的小于15MB的二进制文件,以及同样大小的 Docker 容器。所有请求都是并行化的,未缓存的页面通常在大约1秒内加载完成(取决于互联网速度和部件数量)。 \ No newline at end of file diff --git a/glance/data.yml b/glance/data.yml new file mode 100644 index 000000000..bc1e32615 --- /dev/null +++ b/glance/data.yml @@ -0,0 +1,13 @@ +additionalProperties: + crossVersionUpdate: true + document: https://github.com/glanceapp/glance + github: https://github.com/glanceapp/glance + key: glance + limit: 0 + name: Glance + shortDescEn: A self-hosted dashboard that puts all your feeds in one place + shortDescZh: 一个将所有您的源订阅集中在一个地方的托管仪表板 + tags: + - Tool + type: tool + website: https://github.com/glanceapp/glance diff --git a/glance/logo.png b/glance/logo.png new file mode 100644 index 000000000..8323483bf Binary files /dev/null and b/glance/logo.png differ