From c07c019a2f63f37a6371b5fbb45d6eb38570d50c Mon Sep 17 00:00:00 2001 From: Tirsvad Date: Sat, 17 Oct 2026 09:41:59 +0200 Subject: [PATCH] Publish wiki from the repository --- Configuration.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Configuration.md diff --git a/Configuration.md b/Configuration.md new file mode 100644 index 0000000..d3bffaa --- /dev/null +++ b/Configuration.md @@ -0,0 +1,18 @@ +# Configuration + +🌐 **English** · [Dansk](Configuration-da) · [Bahasa Melayu](Configuration-ms) + +**People.** `birthdays.csv` has the header `name,email,year,month,day`. The file in the repository holds dummy data. Replace it with your own, and keep real addresses out of git. + +**Letters.** `letter_templates/letter_1.txt` to `letter_3.txt`. The text `[NAME]` is replaced by the person's name. One letter is chosen at random. + +**Sender.** Two environment variables: + +| Variable | Meaning | +| --- | --- | +| `GMAIL_ADDRESS` | Address the e-mail is sent from | +| `GMAIL_TOKEN` | Gmail app password | + +`.env.example` shows the names. Never commit a real `.env`; it is ignored by git. The program reads the environment only and never prints the token. + +**Constants.** Server, port, subject and file names are in `src/birthday_wisher/constants.py`.