Compare commits

..

10 Commits

Author SHA1 Message Date
Tanmay Karande
c8b7322f13 fix: use channel_id feed URL instead of broken playlist_id prefix
YouTube's UULF and UU playlist prefixes for filtering Shorts are no
longer working (returning 404/500 errors). Fall back to the standard
channel_id= feed URL which works reliably. Shorts may appear in the
feed but the widget will no longer error out.
2026-03-05 01:25:57 -05:00
Svilen Markov
6c5b7a3f4c Update docs 2025-12-10 09:44:00 +00:00
Svilen Markov
36d5ae023f Merge pull request #848 from fullmetalsheep/main
feat(themes): Add theme 'Neon Pink'
2025-10-17 14:18:26 +01:00
fullmetalsheep
478c08f6a7 feat(themes): Add theme 'Neon Pink' 2025-10-17 10:53:25 +08:00
Svilen Markov
cae90d16ba Update theme preview 2025-09-28 12:40:33 +01:00
Svilen Markov
fbc07bd142 Merge pull request #833 from nicolasluckie/feat/add-shades-of-purple-theme
feat: Add Shades of Purple theme with screenshot
2025-09-28 12:36:36 +01:00
Svilen Markov
4a4d3e1755 Add contrast-multiplier to shades of purple 2025-09-28 12:34:41 +01:00
Svilen Markov
f243a4938f Update readme 2025-09-28 12:21:12 +01:00
Svilen Markov
9416de1497 Fix indentation 2025-09-28 11:43:11 +01:00
Nic Luckie
283a5fcfd0 feat: add Shades of Purple theme with screenshot 2025-09-27 22:34:21 -04:00
10 changed files with 120 additions and 89 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/playground /playground
/.idea /.idea
/glance*.yml /glance*.yml
glance-bin

View File

@@ -1,7 +1,18 @@
<p align="center"><em>What if you could see everything at a...</em></p> <p align="center"><img src="docs/logo.png"></p>
<h1 align="center">Glance</h1> <h1 align="center">Glance</h1>
<p align="center"><a href="#installation">Install</a> • <a href="docs/configuration.md#configuring-glance">Configuration</a> • <a href="https://discord.com/invite/7KQ7Xa9kJd">Discord</a> • <a href="https://github.com/sponsors/glanceapp">Sponsor</a></p> <p align="center">
<p align="center"><a href="https://github.com/glanceapp/community-widgets">Community widgets</a> • <a href="docs/preconfigured-pages.md">Preconfigured pages</a> • <a href="docs/themes.md">Themes</a></p> <a href="#installation">Install</a> •
<a href="docs/configuration.md#configuring-glance">Configuration</a> •
<a href="https://discord.com/invite/7KQ7Xa9kJd">Discord</a> •
<a href="https://github.com/sponsors/glanceapp">Sponsor</a>
</p>
<p align="center">
<a href="https://github.com/glanceapp/community-widgets">Community widgets</a> •
<a href="docs/preconfigured-pages.md">Preconfigured pages</a> •
<a href="docs/themes.md">Themes</a>
</p>
<p align="center">A lightweight, highly customizable dashboard that displays<br> your feeds in a beautiful, streamlined interface</p>
![](docs/images/readme-main-image.png) ![](docs/images/readme-main-image.png)

View File

@@ -149,14 +149,14 @@ pages:
columns: columns:
- size: full - size: full
widgets: widgets:
$include: rss.yml - $include: rss.yml
- name: News - name: News
columns: columns:
- size: full - size: full
widgets: widgets:
- type: group - type: group
widgets: widgets:
$include: rss.yml - $include: rss.yml
- type: reddit - type: reddit
subreddit: news subreddit: news
``` ```

View File

@@ -27,7 +27,7 @@ pages:
channels: channels:
- theprimeagen - theprimeagen
- j_blow - j_blow
- piratesoftware - giantwaffle
- cohhcarnage - cohhcarnage
- christitustech - christitustech
- EJ_SA - EJ_SA

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -86,92 +86,92 @@ Pull requests with your page configurations are welcome!
<summary>View config (requires Glance <code>v0.6.0</code> or higher)</summary> <summary>View config (requires Glance <code>v0.6.0</code> or higher)</summary>
```yaml ```yaml
- name: Markets - name: Markets
columns: columns:
- size: small - size: small
widgets: widgets:
- type: markets - type: markets
title: Indices title: Indices
markets: markets:
- symbol: SPY - symbol: SPY
name: S&P 500 name: S&P 500
- symbol: DX-Y.NYB - symbol: DX-Y.NYB
name: Dollar Index name: Dollar Index
- type: markets - type: markets
title: Crypto title: Crypto
markets: markets:
- symbol: BTC-USD - symbol: BTC-USD
name: Bitcoin name: Bitcoin
- symbol: ETH-USD - symbol: ETH-USD
name: Ethereum name: Ethereum
- type: markets - type: markets
title: Stocks title: Stocks
sort-by: absolute-change sort-by: absolute-change
markets: markets:
- symbol: NVDA - symbol: NVDA
name: NVIDIA name: NVIDIA
- symbol: AAPL - symbol: AAPL
name: Apple name: Apple
- symbol: MSFT - symbol: MSFT
name: Microsoft name: Microsoft
- symbol: GOOGL - symbol: GOOGL
name: Google name: Google
- symbol: AMD - symbol: AMD
name: AMD name: AMD
- symbol: RDDT - symbol: RDDT
name: Reddit name: Reddit
- symbol: AMZN - symbol: AMZN
name: Amazon name: Amazon
- symbol: TSLA - symbol: TSLA
name: Tesla name: Tesla
- symbol: INTC - symbol: INTC
name: Intel name: Intel
- symbol: META - symbol: META
name: Meta name: Meta
- size: full - size: full
widgets: widgets:
- type: rss - type: rss
title: News title: News
style: horizontal-cards style: horizontal-cards
feeds: feeds:
- url: https://feeds.bloomberg.com/markets/news.rss - url: https://feeds.bloomberg.com/markets/news.rss
title: Bloomberg title: Bloomberg
- url: https://moxie.foxbusiness.com/google-publisher/markets.xml - url: https://moxie.foxbusiness.com/google-publisher/markets.xml
title: Fox Business title: Fox Business
- url: https://moxie.foxbusiness.com/google-publisher/technology.xml - url: https://moxie.foxbusiness.com/google-publisher/technology.xml
title: Fox Business title: Fox Business
- type: group - type: group
widgets: widgets:
- type: reddit - type: reddit
show-thumbnails: true show-thumbnails: true
subreddit: technology subreddit: technology
- type: reddit - type: reddit
show-thumbnails: true show-thumbnails: true
subreddit: wallstreetbets subreddit: wallstreetbets
- type: videos - type: videos
style: grid-cards style: grid-cards
collapse-after-rows: 3 collapse-after-rows: 3
channels: channels:
- UCvSXMi2LebwJEM1s4bz5IBA # New Money - UCvSXMi2LebwJEM1s4bz5IBA # New Money
- UCV6KDgJskWaEckne5aPA0aQ # Graham Stephan - UCV6KDgJskWaEckne5aPA0aQ # Graham Stephan
- UCAzhpt9DmG6PnHXjmJTvRGQ # Federal Reserve - UCAzhpt9DmG6PnHXjmJTvRGQ # Federal Reserve
- size: small - size: small
widgets: widgets:
- type: rss - type: rss
title: News title: News
limit: 30 limit: 30
collapse-after: 13 collapse-after: 13
feeds: feeds:
- url: https://www.ft.com/technology?format=rss - url: https://www.ft.com/technology?format=rss
title: Financial Times title: Financial Times
- url: https://feeds.a.dj.com/rss/RSSMarketsMain.xml - url: https://feeds.a.dj.com/rss/RSSMarketsMain.xml
title: Wall Street Journal title: Wall Street Journal
``` ```
</details> </details>

View File

@@ -93,6 +93,28 @@ theme:
negative-color: 0 100 67 negative-color: 0 100 67
``` ```
### Shades of Purple
![screenshot](images/themes/shades-of-purple.png)
```yaml
theme:
background-color: 243 33 25
contrast-multiplier: 1.2
primary-color: 50 100 49
positive-color: 98 82 71
negative-color: 12 77 52
```
### Neon Pink
![screenshot](images/themes/neon-pink.png)
```yaml
theme:
background-color: 240 27 11
contrast-multiplier: 1.5
primary-color: 321 100 71
positive-color: 165 78 51
negative-color: 360 100 71
```
## Light ## Light
### Catppuccin Latte ### Catppuccin Latte

View File

@@ -146,9 +146,6 @@ func fetchYoutubeChannelUploads(channelOrPlaylistIDs []string, videoUrlTemplate
if strings.HasPrefix(channelOrPlaylistIDs[i], videosWidgetPlaylistPrefix) { if strings.HasPrefix(channelOrPlaylistIDs[i], videosWidgetPlaylistPrefix) {
feedUrl = "https://www.youtube.com/feeds/videos.xml?playlist_id=" + feedUrl = "https://www.youtube.com/feeds/videos.xml?playlist_id=" +
strings.TrimPrefix(channelOrPlaylistIDs[i], videosWidgetPlaylistPrefix) strings.TrimPrefix(channelOrPlaylistIDs[i], videosWidgetPlaylistPrefix)
} else if !includeShorts && strings.HasPrefix(channelOrPlaylistIDs[i], "UC") {
playlistId := strings.Replace(channelOrPlaylistIDs[i], "UC", "UULF", 1)
feedUrl = "https://www.youtube.com/feeds/videos.xml?playlist_id=" + playlistId
} else { } else {
feedUrl = "https://www.youtube.com/feeds/videos.xml?channel_id=" + channelOrPlaylistIDs[i] feedUrl = "https://www.youtube.com/feeds/videos.xml?channel_id=" + channelOrPlaylistIDs[i]
} }