feat: Configurable auto-updater source #4

Closed
opened 2026-03-17 16:21:32 -04:00 by serversdown · 1 comment
Owner

Currently the auto-updater is hardcoded to pull from Gitea releases.

Add a configurable update source to config.ini:

[updater]
UPDATE_SOURCE = gitea ; gitea | url
UPDATE_URL = ; used when UPDATE_SOURCE = url

gitea mode (current behaviour) — checks Gitea API for latest release tag, compares version, downloads if newer.

url mode — fetches a fixed URL for the .exe and a companion version.txt to check if an update is needed. Allows hosting updates directly on the terra-view server or any static file host.

terra-view could serve both files as static endpoints, removing the Gitea dependency for field deployments on isolated networks.

Currently the auto-updater is hardcoded to pull from Gitea releases. Add a configurable update source to config.ini: [updater] UPDATE_SOURCE = gitea ; gitea | url UPDATE_URL = ; used when UPDATE_SOURCE = url **gitea mode** (current behaviour) — checks Gitea API for latest release tag, compares version, downloads if newer. **url mode** — fetches a fixed URL for the .exe and a companion version.txt to check if an update is needed. Allows hosting updates directly on the terra-view server or any static file host. terra-view could serve both files as static endpoints, removing the Gitea dependency for field deployments on isolated networks.
serversdown added this to the Terra-View project 2026-03-17 16:21:32 -04:00
serversdown added the Kind/Enhancement
Priority
Low
4
labels 2026-03-17 16:26:02 -04:00
Author
Owner

added as of 1.4.4

added as of 1.4.4
serversdown moved this to Done in Terra-View on 2026-03-18 12:42:02 -04:00
Sign in to join this conversation.