Website: one page in six languages, downloads via the server, download statistics
Rust server (axum) with server-side translations, OS-aware download buttons, /download/<platform> redirecting to the latest GitHub release asset and logging platform, version and geolocated region (no IP stored), password-protected /stats and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cb55ddea29
commit
265d9d794b
90 changed files with 5073 additions and 4 deletions
17
website/.env.example
Normal file
17
website/.env.example
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Copy to .env and fill in. .env is not committed.
|
||||
|
||||
# Public address of the site (canonical links, sitemap, link previews).
|
||||
SITE_URL=https://chesspenguin.example.org
|
||||
# Port on 127.0.0.1 that nginx proxies to.
|
||||
HOST_PORT=8080
|
||||
# Time zone for "today" on /stats.
|
||||
TZ=Europe/Moscow
|
||||
|
||||
# /stats and /stats.csv: basic auth. An empty password turns /stats off.
|
||||
STATS_USER=admin
|
||||
STATS_PASSWORD=
|
||||
|
||||
# Releases are taken from this GitHub repository.
|
||||
GITHUB_REPO=vrubelroman/chessPenguin
|
||||
# Take the visitor address from X-Forwarded-For / X-Real-IP (set by nginx).
|
||||
TRUST_PROXY=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue