README.md (view raw)
1# Newspaper
2
3Magazine-style PDF generator from RSS feeds using `llm_aggregator`.
4
5## Usage
6
7```bash
8python3 generate_magazine.py
9```
10
11## Structure
12
13- `feeds/*.txt` — one RSS URL per line
14- `generate_magazine.py` — generates the magazine
15- `output/magazine.pdf` — final PDF
16
17## Customisation
18
19Edit `CATEGORIES` in `generate_magazine.py` to add/modify sections. Each entry has:
20- `name` — section title
21- `icon` — FontAwesome icon (e.g., `\faLinux`)
22- `feed` — path to feeds file
23- `prompt` — summarisation instructions
24
25Edit `STRIP_TAG_START`/`STRIP_TAG_END` to strip AI thinking tags from output.
26
27## Licence
28
29Released into the public domain under [CC0 1.0
30Universal](https://creativecommons.org/publicdomain/zero/1.0/).