- /edit/theme-settings now lists user-defined presets with preview
swatches, edit and delete actions
- Add/edit preset form at /edit/theme-settings/presets/new and /{key}
- Built-in catalog (14 themes from docs/themes.md) with one-click import
- docker-compose.yml using ghcr.io/uhlwoogi/modern-glance:latest
- Dockerfile gains OCI source label for GHCR repo linking
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
80 lines
2.2 KiB
YAML
80 lines
2.2 KiB
YAML
# --- Edit access ---
|
|
# /edit is locked down by default. Pick ONE of the two blocks below.
|
|
#
|
|
# Option A (recommended): require login.
|
|
# Generate values with:
|
|
# go run . secret:make
|
|
# go run . password:hash <your-password>
|
|
#
|
|
# auth:
|
|
# secret-key: <paste base64 secret here>
|
|
# users:
|
|
# yourname:
|
|
# password-hash: <paste bcrypt hash here>
|
|
#
|
|
# Option B: open /edit without authentication. ONLY on a trusted network —
|
|
# anyone who can reach this server can rewrite your config.
|
|
# (The config key is still named `admin` for backward compatibility.)
|
|
#
|
|
admin:
|
|
allow-without-auth: true
|
|
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: group
|
|
widgets:
|
|
- type: hacker-news
|
|
- size: full
|
|
widgets:
|
|
- type: rss
|
|
limit: 10
|
|
collapse-after: 3
|
|
cache: 12h
|
|
feeds:
|
|
- url: https://www.techmeme.com/feed.xml
|
|
title: TechMeme
|
|
- size: small
|
|
widgets:
|
|
- type: markets
|
|
markets:
|
|
- symbol: AMZN
|
|
name: Amazon.com, Inc.
|
|
- type: weather
|
|
location: Houston, US
|
|
units: imperial
|
|
hour-format: 12h
|
|
# Optionally hide the location from being displayed in the widget
|
|
# hide-location: true
|
|
|
|
hide-location: true
|
|
show-area-name: false
|
|
- type: group
|
|
widgets:
|
|
- type: reddit
|
|
subreddit: technology
|
|
show-thumbnails: true
|
|
- type: reddit
|
|
subreddit: selfhosted
|
|
show-thumbnails: true
|
|
|
|
# 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
|