chesscompuzzle

add chexx com daily puzzle
This commit is contained in:
2025-07-11 11:50:00 +00:00
parent b1c2dcaf9e
commit c900432bfc

View File

@ -1,116 +1,130 @@
- 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: custom-api
title: Steam Specials
cache: 12h
url: https://store.steampowered.com/api/featuredcategories?cc=us
template: |
<ul class="list list-gap-10 collapsible-container" data-collapse-after="5">
{{ range .JSON.Array "specials.items" }}
<li>
<a class="size-h4 color-highlight block text-truncate" href="https://store.steampowered.com/app/{{ .Int "id" }}/">{{ .String "name" }}</a>
<ul class="list-horizontal-text">
<li>{{ div (.Int "final_price" | toFloat) 100 | printf "$%.2f" }}</li>
{{ $discount := .Int "discount_percent" }}
<li{{ if ge $discount 40 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
</ul>
</li>
{{ end }}
</ul>
- type: twitch-channels
channels:
- wipr
- mlle_sunny
- exalts_fr
- mistermv
- chat_
- aleksrakkoon
- terael_png
- size: full
widgets:
- type: group
widgets:
- type: hacker-news
- type: lobsters
- type: videos
channels:
- UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr
- UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier
- UCWedHS9qKebauVIK2J7383g # Underscore
- UCrt_PUTF9LdJyuDfXweHwuQ # Plouf
- UCOoEpLtkM4eFpToj7wXnykg # Ysos
- UCOaAb5oXQ9x2hSmINrffWBQ # FDB
- type: server-stats
servers:
- type: local
name: Services
- size: small
widgets:
- type: weather
location: Apt, France
units: metric # alternatively "imperial"
hour-format: 12h # alternatively "24h"
# Optionally hide the location from being displayed in the widget
# hide-location: true
- type: monitor
cache: 1m
title: Services
sites:
- title: Portainer
url: https://docker.lemarechal.eu/
icon: /assets/pdfportainer.svg
- title: Gitea
url: https://gitea.lemarechal.eu/
icon: /assets/gitea-logo.svg
- title: Komga
url: https://komga.lemarechal.eu/
icon: /assets/manga.png
- title: Whiteboard
url: https://whiteboard.lemarechal.eu/
icon: /assets/excalidraw.svg
- title: pdf
url: https://pdf.lemarechal.eu/
icon: /assets/pdf.svg
- title: n8n
url: https://n8n.lemarechal.eu/
icon: /assets/n8n.svg
- title: qr
url: https://qr.lemarechal.eu/
icon: /assets/qr.lemarechal.eu.png
- type: markets
markets:
- symbol: QVDE
name: S&P 500
- symbol: KO
name: CocaCola
- symbol: NVDA
name: NVIDIA
- symbol: UBI
name: Ubisoft
- symbol: MBG
name: Mercedes
- 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
- portainer/portainer
- 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: custom-api
title: Steam Specials
cache: 12h
url: https://store.steampowered.com/api/featuredcategories?cc=us
template: |
<ul class="list list-gap-10 collapsible-container" data-collapse-after="5">
{{ range .JSON.Array "specials.items" }}
<li>
<a class="size-h4 color-highlight block text-truncate" href="https://store.steampowered.com/app/{{ .Int "id" }}/">{{ .String "name" }}</a>
<ul class="list-horizontal-text">
<li>{{ div (.Int "final_price" | toFloat) 100 | printf "$%.2f" }}</li>
{{ $discount := .Int "discount_percent" }}
<li{{ if ge $discount 40 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
</ul>
</li>
{{ end }}
</ul>
- type: twitch-channels
channels:
- wipr
- mlle_sunny
- exalts_fr
- mistermv
- chat_
- aleksrakkoon
- terael_png
- size: full
widgets:
- type: group
widgets:
- type: hacker-news
- type: lobsters
- type: videos
channels:
- UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr
- UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier
- UCWedHS9qKebauVIK2J7383g # Underscore
- UCrt_PUTF9LdJyuDfXweHwuQ # Plouf
- UCOoEpLtkM4eFpToj7wXnykg # Ysos
- UCOaAb5oXQ9x2hSmINrffWBQ # FDB
- type: server-stats
servers:
- type: local
name: Services
- type: custom-api
title: Daily Chess Puzzle
cache: 6h
url: https://api.chess.com/pub/puzzle
template: |
<div style="text-align: center;">
<h3 style="font-size: 1.5rem; margin: 0 0 8px 0;">
<a href="{{ .JSON.String "url" }}" target="_blank" style="text-decoration: underline;">
{{ .JSON.String "title" }}
</a>
</h3>
<img src="{{ .JSON.String "image" }}" alt="Daily Chess Puzzle" style="max-width:100%; height:auto; border-radius: 3px;">
</div>
- size: small
widgets:
- type: weather
location: Apt, France
units: metric # alternatively "imperial"
hour-format: 12h # alternatively "24h"
# Optionally hide the location from being displayed in the widget
# hide-location: true
- type: monitor
cache: 1m
title: Services
sites:
- title: Portainer
url: https://docker.lemarechal.eu/
icon: /assets/pdfportainer.svg
- title: Gitea
url: https://gitea.lemarechal.eu/
icon: /assets/gitea-logo.svg
- title: Komga
url: https://komga.lemarechal.eu/
icon: /assets/manga.png
- title: Whiteboard
url: https://whiteboard.lemarechal.eu/
icon: /assets/excalidraw.svg
- title: pdf
url: https://pdf.lemarechal.eu/
icon: /assets/pdf.svg
- title: n8n
url: https://n8n.lemarechal.eu/
icon: /assets/n8n.svg
- title: qr
url: https://qr.lemarechal.eu/
icon: /assets/qr.lemarechal.eu.png
- type: markets
markets:
- symbol: QVDE
name: S&P 500
- symbol: KO
name: CocaCola
- symbol: NVDA
name: NVIDIA
- symbol: UBI
name: Ubisoft
- symbol: MBG
name: Mercedes
- 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
- portainer/portainer
- n8n-io/n8n