First Comment
This commit is contained in:
commit
66bf8385b3
7 changed files with 724 additions and 0 deletions
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue