feat: add glance

This commit is contained in:
Luigi Oliveira 2025-06-02 16:59:11 -03:00
parent 2e8d0e4be3
commit b969d174ae
4 changed files with 81 additions and 0 deletions

View file

View file

@ -0,0 +1,12 @@
server:
assets-path: /app/assets
theme:
# Note: assets are cached by the browser, changes to the CSS file
# will not be reflected until the browser cache is cleared (Ctrl+F5)
custom-css-file: /assets/user.css
pages:
# It's not necessary to create a new file for each page and include it, you can simply
# put its contents here, though multiple pages are easier to manage when separated
- $include: home.yml

View file

@ -0,0 +1,56 @@
- 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
- type: twitch-channels
channels:
- luigimarqs
- luigimarqs_dj
- djmozao_
- devMozao
- otzdarva
- mynameispit
- gamesdonequick
- DanielGray10
- Hens333
- size: full
widgets:
- type: group
widgets:
- type: hacker-news
- type: lobsters
- type: videos
channels:
- UCferfyAeOJAjS9GoI4td6gg # Canal peewee
- UCXdXbm5P-8UIQRNjF94uHTA # Derrotando filmes
- UC42ZBFGMKZkg4YaQ_T6pNEw # Cortes do Cescon
- UC2Gu2D6VkeVYwXA8wnLvSwg # Aryun
- UCDO__Z-tZD4bfG9m4AkK_uA # NotOtzarva
- UCI4aITQ3nx1QR_8RxFlPjRQ # Hens333
- UCwhYSrP7BT480a75aFAvIeg # NotHens333
- UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips
- UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling
- size: small
widgets:
- type: weather
location: São Paulo, Brazil
units: metric # alternatively "imperial"
hour-format: 12h # alternatively "24h"
# Optionally hide the location from being displayed in the widget
# hide-location: true

View file

@ -0,0 +1,13 @@
services:
glance:
container_name: glance
image: glanceapp/glance
restart: unless-stopped
volumes:
- ./config:/app/config
- ./assets:/app/assets
# Optionally, also mount docker socket if you want to use the docker containers widget
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080
env_file: .env