What Glance Does
Glance provides configurable widgets for:
- RSS Feeds: Any RSS/Atom feed with thumbnails and summaries
- Reddit: Subreddit posts with thumbnails and engagement metrics
- Hacker News: Top stories, new, best, ask, and show
- YouTube: Channel videos with thumbnails
- Weather: Current conditions and forecast (via Open-Meteo)
- Stocks/Crypto: Real-time market data for any ticker
- GitHub Releases: Latest releases from any repository
- Twitch: Live streams and channel status
- Calendar: iCal/webcal integration
- Bookmarks: Quick link collections
- Search: Custom search widget with multiple engines
- Clock: Multiple time zones
- Custom Iframe: Embed any web page or service
- Monitor: HTTP endpoint health checks
Configuration
Everything in a single YAML file:
# glance.yml
pages:
- name: Home
columns:
- size: small
widgets:
- type: weather
location: Shanghai, China
units: metric
- type: bookmarks
groups:
- title: Dev Tools
links:
- title: GitHub
url: https://github.com
- title: GitLab
url: https://gitlab.com
- type: stocks
stocks:
- symbol: AAPL
- symbol: GOOG
- symbol: BTC-USD
- size: full
widgets:
- type: rss
title: Tech News
style: horizontal-cards
feeds:
- url: https://hnrss.org/frontpage
title: Hacker News
- url: https://www.theverge.com/rss/index.xml
title: The Verge
- type: reddit
subreddit: selfhosted
show-thumbnails: true
- size: small
widgets:
- type: releases
repositories:
- immich-app/immich
- jellyfin/jellyfin
- glanceapp/glance
- type: youtube
channels:
- UCHnyfMqiRRG1u-2MsSQLbXA # VeritasiumSelf-Hosting
Docker Compose
services:
glance:
image: glanceapp/glance:latest
ports:
- "8080:8080"
volumes:
- ./glance.yml:/app/glance.yml:ro
restart: unless-stoppedBinary (No Docker)
# Download single binary
curl -L https://github.com/glanceapp/glance/releases/latest/download/glance-linux-amd64 -o glance
chmod +x glance
./glance --config glance.ymlKey Features
Themes & Customization
Built-in themes with full CSS customization:
theme:
background-color: 20 20 30
primary-color: 200 170 110
contrast-multiplier: 1.2
font-size-base: 16Multiple Pages
Organize widgets across multiple pages:
pages:
- name: Home
# main dashboard widgets...
- name: Development
# dev-focused widgets...
- name: Finance
# stock & crypto widgets...Responsive Layout
Glance automatically adjusts layout for mobile, tablet, and desktop viewports.
Resource Usage
- RAM: ~15MB idle
- CPU: Negligible
- Docker image: ~15MB
- Startup time: <1 second
Glance vs Alternatives
| Feature | Glance | Homer | Dashy | Heimdall |
|---|---|---|---|---|
| Config | YAML file | YAML | YAML/UI | Web UI |
| RSS Feeds | Built-in | No | Plugin | No |
| Reddit/HN | Built-in | No | No | No |
| Weather | Built-in | No | Widget | No |
| Stocks | Built-in | No | Widget | No |
| Themes | CSS + built-in | Limited | 50+ | Limited |
| RAM usage | ~15MB | ~5MB | ~150MB | ~100MB |
| Docker size | ~15MB | ~10MB | ~200MB | ~150MB |
常见问题
Q: Glance 和 Homer/Dashy 有什么区别? A: Homer 和 Dashy 主要是应用链接仪表盘(书签页面)。Glance 是信息聚合仪表盘,内置 RSS、Reddit、天气、股票等实时内容 widget。如果你只需要应用链接,Homer 更简单。如果你想看新闻、动态和数据,Glance 更合适。
Q: 可以自定义 CSS 吗? A: 可以。Glance 支持通过 YAML 配置颜色主题,也支持自定义 CSS 文件进行深度定制。
Q: 支持认证保护吗? A: Glance 本身不内置认证。推荐使用反向代理(Nginx、Caddy、Traefik)的基本认证或 OAuth 代理(如 Authelia、Authentik)保护访问。
来源与致谢
- GitHub: glanceapp/glance — 33.2K+ ⭐ | AGPL-3.0
- 文档: github.com/glanceapp/glance/blob/main/docs