summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 25 insertions, 1 deletions
diff --git a/README.md b/README.md
index ad3d9f5..ee7b507 100644
--- a/README.md
+++ b/README.md
@@ -103,10 +103,16 @@ lectio --format ical --year 2026 --form new # override the form
- `GET /api/calendar.json?date=…` or `?from=&to=` or `?year=` (+ optional `&form=old|new`)
- `GET /calendar.ics?year=…` or `?from=&to=` — served as `text/calendar`
+- `GET /source` — plain-text source offer (see [License](#license))
The web endpoints validate every input and cap a request's span at ~5 years
(1830 days); JSON carries a stable `"schema": "lectio.calendar/1"`.
+Both feeds also carry `source` / `license` (JSON) and `X-LECTIO-SOURCE` /
+`X-LECTIO-LICENSE` (iCal), so a subscriber who never opens the HTML UI still
+gets the AGPL source offer. If you fork lectio and run it as a service, set
+`config.SourceURL` to your own repository.
+
## `lectio-ui` — the terminal reader
```sh
@@ -286,4 +292,22 @@ in config for a permanent default.
## License
-MIT — see `LICENSE`.
+Copyright (C) 2026 Łukasz Kasprzak
+
+lectio is free software: you can redistribute it and/or modify it under the
+terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Because this is the **Affero** GPL, section 13 applies to `lectio-web`: if you
+run a modified version and let people reach it over a network, you must offer
+those users the source of your modified version.
+
+Full text in `LICENSE`; third-party data attributions in `NOTICE`.