1
0
Fork 0

Add glance (#2890)

This commit is contained in:
Anye 2025-01-06 15:41:04 +08:00 committed by GitHub
parent 4f95cd0759
commit ef2fc53385
6 changed files with 121 additions and 0 deletions

10
glance/0.6.4/data.yml Normal file
View File

@ -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

View File

@ -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

View File

@ -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

15
glance/README.md Normal file
View File

@ -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秒内加载完成取决于互联网速度和部件数量

13
glance/data.yml Normal file
View File

@ -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

BIN
glance/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB