8 Commits (063f96287f5da94cd0a904ea9894145b087fb795)
 

Author SHA1 Message Date
Ibraheem Saleh 063f96287f Add generate_web_data.py for rebuilding web UI JSON
Script combines letters/*.json and poetry/*.json into the combined
data files used by hicalsoft.github.io web pages. Supports --letters
and --poetry flags for selective regeneration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh 6b308d3a01 Add CLAUDE.md project documentation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh 49d11e8869 Fix Poe parser and add font size controls
- Rewrite Poe extractor with section tracking: 51 clean poems
  (was 108 with junk notes, prose, and dividers)
- Skip memoir, notes, prose poems, essays, dedications
- Properly extract from all 4 poem sections

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh e4464b6773 Add poetry collection: 3,155 poems from 15 Gutenberg sources
New files:
- download_poetry.py: Download/parse script with 15 extractors
- poetry/*.json: Pre-parsed poetry from Project Gutenberg

Poets included:
  Shakespeare (154), Dickinson (439), Whitman (383),
  Blake (43), Keats (10), Poe (108), E.B. Browning (44),
  T.S. Eliot (5), Frost (82), Yeats (48), Khayyam (176),
  Burns (563), Wordsworth (51), Shelley (1049)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh 971c1777fd Remove letter truncation — show full text
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh 336ebc43de Restructure: pre-downloaded letters in git, add 6 new sources
Architecture change:
- letters/ directory stores pre-parsed JSON, committed to git
- download_letters.py handles fetching from Gutenberg (run by maintainers)
- love_letters.py reads from letters/ only (no internet needed)

New sources (6 collections, 774 additional letters):
- Robert Browning & Elizabeth Barrett Browning, Vol. 1 (281 letters)
- Robert Browning & Elizabeth Barrett Browning, Vol. 2 (292 letters)
- Robert Burns to Clarinda / Agnes McLehose (60 letters)
- Dorothy Osborne to Sir William Temple (51 letters)
- Beethoven's Letters, love letters selected (30 letters)
- Mozart's Letters, love letters selected (60 letters)

Total: 1,307 letters from 11 collections spanning the 12th–19th centuries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Saleh 7fa79a1ba7 Add love letters app with Project Gutenberg sources
Python app that downloads and displays random historic love letters from
five authentic collections on Project Gutenberg:

- Henry VIII to Anne Boleyn (c. 1527-1528)
- Mary Wollstonecraft to Gilbert Imlay (1793-1795)
- Abelard & Heloise (12th century)
- Napoleon Bonaparte to Josephine (1796-1812)
- John Keats to Fanny Brawne (1819-1820)

Features: local caching, source filtering, multi-letter display,
text wrapping, and long letter truncation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 week ago
Ibraheem Y Saleh f45fe56f94 Initial commit 1 week ago