Compare commits
10 Commits
c88fd526e5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8b7322f13 | ||
|
|
6c5b7a3f4c | ||
|
|
36d5ae023f | ||
|
|
478c08f6a7 | ||
|
|
cae90d16ba | ||
|
|
fbc07bd142 | ||
|
|
4a4d3e1755 | ||
|
|
f243a4938f | ||
|
|
9416de1497 | ||
|
|
283a5fcfd0 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
/playground
|
/playground
|
||||||
/.idea
|
/.idea
|
||||||
/glance*.yml
|
/glance*.yml
|
||||||
|
glance-bin
|
||||||
|
|||||||
17
README.md
17
README.md
@@ -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>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ pages:
|
|||||||
channels:
|
channels:
|
||||||
- theprimeagen
|
- theprimeagen
|
||||||
- j_blow
|
- j_blow
|
||||||
- piratesoftware
|
- giantwaffle
|
||||||
- cohhcarnage
|
- cohhcarnage
|
||||||
- christitustech
|
- christitustech
|
||||||
- EJ_SA
|
- EJ_SA
|
||||||
|
|||||||
BIN
docs/images/themes/neon-pink.png
Normal file
BIN
docs/images/themes/neon-pink.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/images/themes/shades-of-purple.png
Normal file
BIN
docs/images/themes/shades-of-purple.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 367 KiB |
BIN
docs/logo.png
BIN
docs/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -93,6 +93,28 @@ theme:
|
|||||||
negative-color: 0 100 67
|
negative-color: 0 100 67
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Shades of Purple
|
||||||
|

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

|
||||||
|
```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
|
||||||
|
|||||||
@@ -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]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user