circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#250 Let a platform show a Support link (SUPPORT_URL)

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#250
  • pull request
  • state:merged

Fixes #249. - **`SUPPORT_URL`** (in `server/site.mjs`) is where visitors can support the platform: GitHub Sponsors, Open Collective, Liberapay or the operator's own page. - When it's set, the header ends with **♥ Support**, in the header's warm accent so it stands out from the navigation, and the footer has **Support this site** after **Help**. When it's empty, the default, neither appears and nothing changes. - The server refuses to start with anything other than an `https://` address. That includes `http:`, `javascript:`, addresses without a scheme, addresses with credentials, and anything over 500 characters. `PLATFORM_NAME` and `GOOGLE_ANALYTICS_ID` work the same way. - It's documented in [administration](docs/administration.md#name-and-analytics), the Debian environment template, `.env.example` and `compose.yml`. Tests: - `test/site.test.mjs` covers the setting's accepted and refused values. - `test/next-platform.mjs` sets it and checks both links in the rendered page. It passes locally against a production build. - `test/next-postgres.mjs` checks that neither link appears when the setting is unset. - `npm test` passes (304). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/250

Related

Open #250 Let a platform show a Support link (SUPPORT_URL) in the timeline

#250 Let a platform show a Support link (SUPPORT_URL)