[relay] Attribution: GET /about serves the CPAL credit and the source URL #2
Reference in New Issue
Block a user
Delete Branch "fix/relay-attribution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CPAL-1.0 §15 counts running the relay for other people as distributing it, so the users of a running relay are owed its source and the Exhibit B credit. Until now only the README carried them.
GET /about(andGET /) returns static JSON: Built on Domi, https://aula.marek-novak.cz, Copyright (c) 2026 Marek Novák,CPAL-1.0, and the source URL.LUDUS_RELAY_SOURCE_URL, defaulting to this repository, so a modified relay names its own copy. A value that is not an http(s) URL stops the process, like the other variables.relay/srcandrelay/testare byte-for-byte copies of Ludusservices/relayat9081ed0(Ludus G9.130); Ludus's drift test moves its pin tov0.1.1.Tests: 67/67 relay (
pnpm test),pnpm typecheckclean. The two new tests inserver.test.tsfailed with a planted wrong phrase and source.