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