First Comment
This commit is contained in:
commit
66bf8385b3
7 changed files with 724 additions and 0 deletions
105
config/glance.old
Executable file
105
config/glance.old
Executable file
|
|
@ -0,0 +1,105 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||||
|
# hide-desktop-navigation: true
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
- type: rss
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 3
|
||||||
|
cache: 12h
|
||||||
|
feeds:
|
||||||
|
- url: https://selfh.st/rss/
|
||||||
|
title: selfh.st
|
||||||
|
limit: 4
|
||||||
|
- url: https://ciechanow.ski/atom.xml
|
||||||
|
- url: https://www.joshwcomeau.com/rss.xml
|
||||||
|
title: Josh Comeau
|
||||||
|
- url: https://samwho.dev/rss.xml
|
||||||
|
- url: https://ishadeed.com/feed.xml
|
||||||
|
title: Ahmad Shadeed
|
||||||
|
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- j_blow
|
||||||
|
- piratesoftware
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- EJ_SA
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
- type: lobsters
|
||||||
|
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips
|
||||||
|
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||||
|
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||||
|
- UCBJycsmduvYEL83R_U4JriQ # Marques Brownlee
|
||||||
|
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||||
|
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: reddit
|
||||||
|
subreddit: technology
|
||||||
|
show-thumbnails: true
|
||||||
|
- type: reddit
|
||||||
|
subreddit: selfhosted
|
||||||
|
show-thumbnails: true
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: London, United Kingdom
|
||||||
|
units: metric # alternatively "imperial"
|
||||||
|
hour-format: 12h # alternatively "24h"
|
||||||
|
# Optionally hide the location from being displayed in the widget
|
||||||
|
# hide-location: true
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- type: releases
|
||||||
|
cache: 1d
|
||||||
|
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
||||||
|
# read-only token from your Github account settings and use it here to increase the limit.
|
||||||
|
# token: ...
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- go-gitea/gitea
|
||||||
|
- immich-app/immich
|
||||||
|
- syncthing/syncthing
|
||||||
|
|
||||||
|
# Add more pages here:
|
||||||
|
# - name: Your page name
|
||||||
|
# columns:
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: full
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
77
config/glance.phil
Executable file
77
config/glance.phil
Executable file
|
|
@ -0,0 +1,77 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
# Left: keep your "utilities"
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: "Chicago, Illinois, United States"
|
||||||
|
units: imperial
|
||||||
|
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
# Keep your releases widget (repos are examples; keep yours)
|
||||||
|
- type: releases
|
||||||
|
show-source-icon: true
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 5
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- dockerhub:containrrr/watchtower
|
||||||
|
|
||||||
|
# Middle: comics + feeds + communities
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
# Daily xkcd
|
||||||
|
- type: rss
|
||||||
|
title: "Daily XKCD"
|
||||||
|
style: horizontal-cards
|
||||||
|
limit: 1
|
||||||
|
collapse-after: -1
|
||||||
|
feeds:
|
||||||
|
- title: xkcd
|
||||||
|
url: "https://xkcd.com/rss.xml"
|
||||||
|
|
||||||
|
- type: hacker-news
|
||||||
|
limit: 20
|
||||||
|
collapse-after: 8
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: hot
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted: “self hosted”"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: new
|
||||||
|
search: "self hosted"
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
# Right: news (RSS)
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "News"
|
||||||
|
style: vertical-list
|
||||||
|
single-line-titles: true
|
||||||
|
limit: 30
|
||||||
|
collapse-after: 10
|
||||||
|
feeds:
|
||||||
|
- title: "Ars Technica"
|
||||||
|
url: "https://feeds.arstechnica.com/arstechnica/index/"
|
||||||
|
- title: "The Register"
|
||||||
|
url: "https://www.theregister.com/headlines.atom"
|
||||||
|
- title: "BBC (Front Page - UK)"
|
||||||
|
url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
|
||||||
|
- title: "Fox News (Latest)"
|
||||||
|
url: "https://moxie.foxnews.com/google-publisher/latest.xml"
|
||||||
|
- title: "ABC News (Top Stories)"
|
||||||
|
url: "https://feeds.abcnews.com/abcnews/topstories"
|
||||||
|
|
||||||
105
config/glance.yml
Executable file
105
config/glance.yml
Executable file
|
|
@ -0,0 +1,105 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||||
|
# hide-desktop-navigation: true
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
- type: rss
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 3
|
||||||
|
cache: 12h
|
||||||
|
feeds:
|
||||||
|
- url: https://selfh.st/rss/
|
||||||
|
title: selfh.st
|
||||||
|
limit: 4
|
||||||
|
- url: https://ciechanow.ski/atom.xml
|
||||||
|
- url: https://www.joshwcomeau.com/rss.xml
|
||||||
|
title: Josh Comeau
|
||||||
|
- url: https://samwho.dev/rss.xml
|
||||||
|
- url: https://ishadeed.com/feed.xml
|
||||||
|
title: Ahmad Shadeed
|
||||||
|
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- j_blow
|
||||||
|
- piratesoftware
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- EJ_SA
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
- type: lobsters
|
||||||
|
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips
|
||||||
|
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||||
|
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||||
|
- UCBJycsmduvYEL83R_U4JriQ # Marques Brownlee
|
||||||
|
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||||
|
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: reddit
|
||||||
|
subreddit: technology
|
||||||
|
show-thumbnails: true
|
||||||
|
- type: reddit
|
||||||
|
subreddit: selfhosted
|
||||||
|
show-thumbnails: true
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: London, United Kingdom
|
||||||
|
units: metric # alternatively "imperial"
|
||||||
|
hour-format: 12h # alternatively "24h"
|
||||||
|
# Optionally hide the location from being displayed in the widget
|
||||||
|
# hide-location: true
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- type: releases
|
||||||
|
cache: 1d
|
||||||
|
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
||||||
|
# read-only token from your Github account settings and use it here to increase the limit.
|
||||||
|
# token: ...
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- go-gitea/gitea
|
||||||
|
- immich-app/immich
|
||||||
|
- syncthing/syncthing
|
||||||
|
|
||||||
|
# Add more pages here:
|
||||||
|
# - name: Your page name
|
||||||
|
# columns:
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: full
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
136
glance.last
Executable file
136
glance.last
Executable file
|
|
@ -0,0 +1,136 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
# LEFT: utilities + alerts
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
latitude: 30.4102
|
||||||
|
longitude: -86.6652
|
||||||
|
location: "Mary Esther, Florida, United States"
|
||||||
|
units: imperial
|
||||||
|
|
||||||
|
- type: calendar
|
||||||
|
title: "My Calendar"
|
||||||
|
first-day-of-week: monday
|
||||||
|
calendars:
|
||||||
|
- name: "Google Calendar"
|
||||||
|
url: "https://calendar.google.com/calendar/ical/45ffju8vmrv8dhlrpik4l8gra0%40group.calendar.google.com/private-62a0078e0e810c53843cf7fbb9aab287/basic.ics"
|
||||||
|
|
||||||
|
|
||||||
|
- type: custom-api
|
||||||
|
title: "Upcoming (Google)"
|
||||||
|
cache: 15m
|
||||||
|
url: https://cal.netgrimoire.com/events
|
||||||
|
parameters:
|
||||||
|
url: "https://calendar.google.com/calendar/ical/45ffju8vmrv8dhlrpik4l8gra0%40group.calendar.google.com/private-62a0078e0e810c53843cf7fbb9aab287/basic.ics"
|
||||||
|
limit: 10
|
||||||
|
template: |
|
||||||
|
{{ $events := .JSON.Array "events" }}
|
||||||
|
{{ if eq (len $events) 0 }}
|
||||||
|
<div style="padding:10px; border-radius:10px; background:var(--surface-2);">
|
||||||
|
No upcoming events.
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
<ul class="list list-gap-10 collapsible-container" data-collapse-after="6">
|
||||||
|
{{ range $i, $e := $events }}
|
||||||
|
{{ $name := $e.String "name" }}
|
||||||
|
{{ $start := $e.String "start" | parseTime "rfc3339" }}
|
||||||
|
<li {{ if ge $i 6 }}class="collapsible-item"{{ end }}>
|
||||||
|
<div class="flex items-center justify-between gap-10">
|
||||||
|
<div class="size-h3 color-highlight block text-truncate" title="{{ $name }}">{{ $name }}</div>
|
||||||
|
<div class="size-h3 color-primary" style="white-space:nowrap;" {{ $start | toRelativeTime }}></div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
- type: releases
|
||||||
|
title: "Releases"
|
||||||
|
show-source-icon: true
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 5
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- dockerhub:containrrr/watchtower
|
||||||
|
|
||||||
|
|
||||||
|
# MIDDLE: comics + communities
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "Daily Comics"
|
||||||
|
style: horizontal-cards
|
||||||
|
limit: 2
|
||||||
|
collapse-after: -1
|
||||||
|
feeds:
|
||||||
|
- title: xkcd
|
||||||
|
url: "https://xkcd.com/rss.xml"
|
||||||
|
- title: SMBC
|
||||||
|
url: "https://www.smbc-comics.com/rss.php"
|
||||||
|
|
||||||
|
- type: hacker-news
|
||||||
|
title: "Hacker News"
|
||||||
|
limit: 20
|
||||||
|
collapse-after: 8
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: hot
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: 'r/selfhosted — "self hosted"'
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: new
|
||||||
|
search: "self hosted"
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
# RIGHT: news
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "News"
|
||||||
|
style: vertical-list
|
||||||
|
single-line-titles: true
|
||||||
|
limit: 40
|
||||||
|
collapse-after: 12
|
||||||
|
feeds:
|
||||||
|
- title: "Ars Technica"
|
||||||
|
url: "https://feeds.arstechnica.com/arstechnica/index/"
|
||||||
|
- title: "The Register"
|
||||||
|
url: "https://www.theregister.com/headlines.atom"
|
||||||
|
- title: "BBC (Front Page)"
|
||||||
|
url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
|
||||||
|
- title: "Fox News (Latest)"
|
||||||
|
url: "https://moxie.foxnews.com/google-publisher/latest.xml"
|
||||||
|
- title: "ABC News (Top Stories)"
|
||||||
|
url: "https://feeds.abcnews.com/abcnews/topstories"
|
||||||
|
|
||||||
|
- name: Calendar
|
||||||
|
columns:
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: iframe
|
||||||
|
title: "Google Calendar"
|
||||||
|
# source: "https://calendar.google.com/calendar/embed?src=you%40gmail.com&ctz=America/Chicago&mode=AGENDA&showTitle=0&showNav=0&showPrint=0&showTabs=0"
|
||||||
|
source: "https://calendar.google.com/calendar/embed?src=45ffju8vmrv8dhlrpik4l8gra0%40group.calendar.google.com&ctz=America%2FChicago"
|
||||||
|
|
||||||
|
height: 900
|
||||||
|
|
||||||
|
- name: Radar
|
||||||
|
columns:
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: iframe
|
||||||
|
title: "Live Weather Radar (Windy)"
|
||||||
|
source: "https://embed.windy.com/embed2.html?lat=30.41&lon=-86.66&zoom=7&level=surface&overlay=radar&menu=false"
|
||||||
|
height: 900
|
||||||
|
|
||||||
105
glance.old
Executable file
105
glance.old
Executable file
|
|
@ -0,0 +1,105 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||||
|
# hide-desktop-navigation: true
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
- type: rss
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 3
|
||||||
|
cache: 12h
|
||||||
|
feeds:
|
||||||
|
- url: https://selfh.st/rss/
|
||||||
|
title: selfh.st
|
||||||
|
limit: 4
|
||||||
|
- url: https://ciechanow.ski/atom.xml
|
||||||
|
- url: https://www.joshwcomeau.com/rss.xml
|
||||||
|
title: Josh Comeau
|
||||||
|
- url: https://samwho.dev/rss.xml
|
||||||
|
- url: https://ishadeed.com/feed.xml
|
||||||
|
title: Ahmad Shadeed
|
||||||
|
|
||||||
|
- type: twitch-channels
|
||||||
|
channels:
|
||||||
|
- theprimeagen
|
||||||
|
- j_blow
|
||||||
|
- piratesoftware
|
||||||
|
- cohhcarnage
|
||||||
|
- christitustech
|
||||||
|
- EJ_SA
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: hacker-news
|
||||||
|
- type: lobsters
|
||||||
|
|
||||||
|
- type: videos
|
||||||
|
channels:
|
||||||
|
- UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips
|
||||||
|
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
|
||||||
|
- UCsBjURrPoezykLs9EqgamOA # Fireship
|
||||||
|
- UCBJycsmduvYEL83R_U4JriQ # Marques Brownlee
|
||||||
|
- UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium
|
||||||
|
|
||||||
|
- type: group
|
||||||
|
widgets:
|
||||||
|
- type: reddit
|
||||||
|
subreddit: technology
|
||||||
|
show-thumbnails: true
|
||||||
|
- type: reddit
|
||||||
|
subreddit: selfhosted
|
||||||
|
show-thumbnails: true
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: Mary Esther, Fl, United States
|
||||||
|
units: metric # alternatively "imperial"
|
||||||
|
hour-format: 12h # alternatively "24h"
|
||||||
|
# Optionally hide the location from being displayed in the widget
|
||||||
|
# hide-location: true
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- type: releases
|
||||||
|
cache: 1d
|
||||||
|
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
||||||
|
# read-only token from your Github account settings and use it here to increase the limit.
|
||||||
|
# token: ...
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- go-gitea/gitea
|
||||||
|
- immich-app/immich
|
||||||
|
- syncthing/syncthing
|
||||||
|
|
||||||
|
# Add more pages here:
|
||||||
|
# - name: Your page name
|
||||||
|
# columns:
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: full
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
|
|
||||||
|
# - size: small
|
||||||
|
# widgets:
|
||||||
|
# # Add widgets here
|
||||||
77
glance.phil
Executable file
77
glance.phil
Executable file
|
|
@ -0,0 +1,77 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
# Left: keep your "utilities"
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: "Chicago, Illinois, United States"
|
||||||
|
units: imperial
|
||||||
|
|
||||||
|
- type: calendar
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
# Keep your releases widget (repos are examples; keep yours)
|
||||||
|
- type: releases
|
||||||
|
show-source-icon: true
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 5
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- dockerhub:containrrr/watchtower
|
||||||
|
|
||||||
|
# Middle: comics + feeds + communities
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
# Daily xkcd
|
||||||
|
- type: rss
|
||||||
|
title: "Daily XKCD"
|
||||||
|
style: horizontal-cards
|
||||||
|
limit: 1
|
||||||
|
collapse-after: -1
|
||||||
|
feeds:
|
||||||
|
- title: xkcd
|
||||||
|
url: "https://xkcd.com/rss.xml"
|
||||||
|
|
||||||
|
- type: hacker-news
|
||||||
|
limit: 20
|
||||||
|
collapse-after: 8
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: hot
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted: “self hosted”"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: new
|
||||||
|
search: "self hosted"
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
# Right: news (RSS)
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "News"
|
||||||
|
style: vertical-list
|
||||||
|
single-line-titles: true
|
||||||
|
limit: 30
|
||||||
|
collapse-after: 10
|
||||||
|
feeds:
|
||||||
|
- title: "Ars Technica"
|
||||||
|
url: "https://feeds.arstechnica.com/arstechnica/index/"
|
||||||
|
- title: "The Register"
|
||||||
|
url: "https://www.theregister.com/headlines.atom"
|
||||||
|
- title: "BBC (Front Page - UK)"
|
||||||
|
url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
|
||||||
|
- title: "Fox News (Latest)"
|
||||||
|
url: "https://moxie.foxnews.com/google-publisher/latest.xml"
|
||||||
|
- title: "ABC News (Top Stories)"
|
||||||
|
url: "https://feeds.abcnews.com/abcnews/topstories"
|
||||||
|
|
||||||
119
glance.yml
Executable file
119
glance.yml
Executable file
|
|
@ -0,0 +1,119 @@
|
||||||
|
pages:
|
||||||
|
- name: Home
|
||||||
|
columns:
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: weather
|
||||||
|
location: "Mary Esther, Florida, United States"
|
||||||
|
latitude: 30.4102
|
||||||
|
longitude: -86.6652
|
||||||
|
units: imperial
|
||||||
|
|
||||||
|
# Glance's built-in calendar widget does NOT ingest Google ICS.
|
||||||
|
# Keep it if you want the month grid only.
|
||||||
|
- type: calendar
|
||||||
|
title: "Calendar"
|
||||||
|
first-day-of-week: monday
|
||||||
|
|
||||||
|
# Google Calendar events via your cal.netgrimoire.com bridge
|
||||||
|
- type: custom-api
|
||||||
|
title: "Upcoming (Google)"
|
||||||
|
cache: 15m
|
||||||
|
url: "https://cal.netgrimoire.com/events"
|
||||||
|
parameters:
|
||||||
|
url: "https://calendar.google.com/calendar/ical/45ffju8vmrv8dhlrpik4l8gra0%40group.calendar.google.com/private-62a0078e0e810c53843cf7fbb9aab287/basic.ics"
|
||||||
|
limit: 10
|
||||||
|
template: |
|
||||||
|
{{ $events := .JSON.Array "events" }}
|
||||||
|
{{ if eq (len $events) 0 }}
|
||||||
|
<div style="padding:10px; border-radius:10px; background:var(--surface-2);">
|
||||||
|
No upcoming events.
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
<ul class="list list-gap-10 collapsible-container" data-collapse-after="6">
|
||||||
|
{{ range $i, $e := $events }}
|
||||||
|
{{ $name := $e.String "name" }}
|
||||||
|
{{ $start := $e.String "start" | parseTime "rfc3339" }}
|
||||||
|
<li {{ if ge $i 6 }}class="collapsible-item"{{ end }}>
|
||||||
|
<div class="flex items-center justify-between gap-10">
|
||||||
|
<div class="size-h3 color-highlight block text-truncate" title="{{ $name }}">{{ $name }}</div>
|
||||||
|
<div class="size-h3 color-primary" style="white-space:nowrap;" {{ $start | toRelativeTime }}></div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
- type: releases
|
||||||
|
title: "Releases"
|
||||||
|
show-source-icon: true
|
||||||
|
limit: 10
|
||||||
|
collapse-after: 5
|
||||||
|
repositories:
|
||||||
|
- glanceapp/glance
|
||||||
|
- dockerhub:containrrr/watchtower
|
||||||
|
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "Daily Comics"
|
||||||
|
style: horizontal-cards
|
||||||
|
limit: 2
|
||||||
|
collapse-after: -1
|
||||||
|
feeds:
|
||||||
|
- title: xkcd
|
||||||
|
url: "https://xkcd.com/rss.xml"
|
||||||
|
- title: SMBC
|
||||||
|
url: "https://www.smbc-comics.com/rss.php"
|
||||||
|
|
||||||
|
- type: hacker-news
|
||||||
|
title: "Hacker News"
|
||||||
|
limit: 20
|
||||||
|
collapse-after: 8
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: "r/selfhosted"
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: hot
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
- type: reddit
|
||||||
|
title: 'r/selfhosted — "self hosted"'
|
||||||
|
subreddit: selfhosted
|
||||||
|
sort-by: new
|
||||||
|
search: "self hosted"
|
||||||
|
show-thumbnails: true
|
||||||
|
limit: 15
|
||||||
|
collapse-after: 7
|
||||||
|
|
||||||
|
- size: small
|
||||||
|
widgets:
|
||||||
|
- type: rss
|
||||||
|
title: "News"
|
||||||
|
style: vertical-list
|
||||||
|
single-line-titles: true
|
||||||
|
limit: 40
|
||||||
|
collapse-after: 12
|
||||||
|
feeds:
|
||||||
|
- title: "Ars Technica"
|
||||||
|
url: "https://feeds.arstechnica.com/arstechnica/index/"
|
||||||
|
- title: "The Register"
|
||||||
|
url: "https://www.theregister.com/headlines.atom"
|
||||||
|
- title: "BBC (Front Page)"
|
||||||
|
url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
|
||||||
|
- title: "Fox News (Latest)"
|
||||||
|
url: "https://moxie.foxnews.com/google-publisher/latest.xml"
|
||||||
|
- title: "ABC News (Top Stories)"
|
||||||
|
url: "https://feeds.abcnews.com/abcnews/topstories"
|
||||||
|
|
||||||
|
- name: Radar
|
||||||
|
columns:
|
||||||
|
- size: full
|
||||||
|
widgets:
|
||||||
|
- type: iframe
|
||||||
|
title: "Live Weather Radar (Windy)"
|
||||||
|
source: "https://embed.windy.com/embed2.html?lat=30.41&lon=-86.66&zoom=7&level=surface&overlay=radar&menu=false"
|
||||||
|
height: 900
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue