agentleFS
Sign inSign up

ancient-greek-texts

eulogikon/ancient-greek-texts/llms.txt

Public-domain corpus of 1,358 authors and 4,060 ancient Greek works (≈44 million words of Greek text, plus English metadata), published as PDF, Markdown, and plain text. Data store for Eulogikon. This repository is a flat file archive. Do not crawl grc/ or en/ to discover contents — use the lookup files below. Multilingual catalog web entry (for-agents): https://eulogikon.github.io/ancient-greek-texts/for-agents/ Human-oriented catalog (browse authors, domains, periods): https://eulogikon.github.io/ancient-greek-texts/ Recommended flow for AI assistants: File naming: IDs: eulaid (author, three letters), eulwid (work, {eul_aid}-{suffix}).…

llms.txt4 starsChanged 3 months ago
# Ancient Greek Texts

> Public-domain corpus of 1,358 authors and 4,060 ancient Greek works (≈44 million words of Greek text, plus English metadata), published as PDF, Markdown, and plain text. Data store for [Eulogikon](https://eulogikon.org).

This repository is a flat file archive. Do not crawl `grc/` or `en/` to discover contents — use the lookup files below.

Multilingual catalog web entry (for-agents): https://eulogikon.github.io/ancient-greek-texts/for-agents/
Human-oriented catalog (browse authors, domains, periods): https://eulogikon.github.io/ancient-greek-texts/

Recommended flow for AI assistants:

1. Read this file (`llms.txt`) for orientation.
2. Resolve an author via [`manifest.authors.json`](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.authors.json) — grep or parse for `author_display_string`, `name_english`, or `eul_aid`, then fetch that row's `author_md` (e.g. `https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/en/plato-ffk.en.md`).
3. Resolve a work via [`manifest.works.min.csv`](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.works.min.csv) — grep by `author_display_string` (e.g. `,plato,`) or title, then fetch the `grc_md` path for the Greek text.
4. For a thematic bundle (philosophy, drama, history; Stoic, Platonist, Pre-Socratic, …) load the pre-built compilation PDF from `domains/` or `affiliations/` listed below.
5. Load one corpus file at a time. Markdown is the richest text format; plain text and PDF carry the same content.
6. **To read one passage instead of a whole work**, use an HTTP `Range` request — raw.githubusercontent.com answers `206 Partial Content` on every path here. `manifest.works.min.csv` carries `grc_md_bytes` (the file's exact size) and `grc_md_text_offset` (the byte at which the Greek body opens). Inside the body each passage is introduced by `### {reference}` on its own line, in document order, so a few ranged reads locate any passage without downloading the file — for the largest works that is the difference between 12 MB and a few KB. These offsets describe THESE files only: the reading site at https://eulogikon.org serves a different byte stream for the same work.

File naming:

- Greek work: `grc/{work_display_string}-{eul_wid}.grc.{pdf|md|txt}`
- English author page: `en/{author_display_string}-{eul_aid}.en.{pdf|md|txt}`

IDs: `eul_aid` (author, three letters), `eul_wid` (work, `{eul_aid}-{suffix}`). Files are flat — no per-author subdirectories.

Licence: the ancient Greek texts are Public Domain Mark 1.0 — public domain, no restrictions. Eulogikon's scaffolding (indexes, README, metadata shape) is CC0 1.0 Universal. Use, redistribution, and training of AI models are all permitted.

## Lookup indexes

- [README](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/README.md): corpus overview, layout, licence
- [manifest.authors.json](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.authors.json): compact author index (1,358 rows)
- [manifest.works.min.csv](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.works.min.csv): compact work index (4,060 rows; grep/filter friendly)
- [dataset.jsonld](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/dataset.jsonld): schema.org Dataset metadata (JSON-LD)
- [CITATION.cff](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/CITATION.cff): citation metadata

## Domain compilations

Pre-built PDF bundles, one per domain. Useful for a topic-scoped first pass before resolving individual works.

- [biography](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/biography.pdf): all biography texts
- [comedy](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/comedy.pdf): all comedy texts
- [drama](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/drama.pdf): all drama texts
- [epic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/epic.pdf): all epic texts
- [fiction](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/fiction.pdf): all fiction texts
- [geography](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/geography.pdf): all geography texts
- [grammar](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/grammar.pdf): all grammar texts
- [history](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/history.pdf): all history texts
- [law](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/law.pdf): all law texts
- [lexicography](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/lexicography.pdf): all lexicography texts
- [mathematics](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/mathematics.pdf): all mathematics texts
- [medicine](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/medicine.pdf): all medicine texts
- [oratory](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/oratory.pdf): all oratory texts
- [philosophy](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/philosophy.pdf): all philosophy texts
- [poetry](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/poetry.pdf): all poetry texts
- [rhetoric](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/rhetoric.pdf): all rhetoric texts
- [scholia](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/scholia.pdf): all scholia texts
- [science](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/science.pdf): all science texts
- [theology](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/domains/theology.pdf): all theology texts

## Affiliation compilations

Pre-built PDF bundles, one per philosophical school or tradition.

- [academic-skeptic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/academic-skeptic.pdf): all academic-skeptic texts
- [aristotelian](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/aristotelian.pdf): all aristotelian texts
- [atomist](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/atomist.pdf): all atomist texts
- [christian](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/christian.pdf): all christian texts
- [cynic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/cynic.pdf): all cynic texts
- [cyrenaic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/cyrenaic.pdf): all cyrenaic texts
- [democritean](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/democritean.pdf): all democritean texts
- [eclectic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/eclectic.pdf): all eclectic texts
- [eleatic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/eleatic.pdf): all eleatic texts
- [epicurean](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/epicurean.pdf): all epicurean texts
- [gnostic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/gnostic.pdf): all gnostic texts
- [heraclitean](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/heraclitean.pdf): all heraclitean texts
- [hermetic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/hermetic.pdf): all hermetic texts
- [jewish](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/jewish.pdf): all jewish texts
- [megarian](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/megarian.pdf): all megarian texts
- [milesian](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/milesian.pdf): all milesian texts
- [neoplatonist](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/neoplatonist.pdf): all neoplatonist texts
- [peripatetic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/peripatetic.pdf): all peripatetic texts
- [platonist](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/platonist.pdf): all platonist texts
- [presocratic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/presocratic.pdf): all presocratic texts
- [pyrrhonian](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/pyrrhonian.pdf): all pyrrhonian texts
- [pythagorean](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/pythagorean.pdf): all pythagorean texts
- [socratic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/socratic.pdf): all socratic texts
- [sophist](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/sophist.pdf): all sophist texts
- [stoic](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/affiliations/stoic.pdf): all stoic texts

## Optional

Skip these unless you need an exhaustive offline dump — each is far too large to load whole into a context window:

- [llms-full.txt](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/llms-full.txt): every work with its raw fetch URLs (grep-friendly, one line per work)
- [MANIFEST.md](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/MANIFEST.md): full human-readable index (~5,418 entries)
- [manifest.json](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.json): full nested machine-readable index
- [manifest.csv](https://raw.githubusercontent.com/eulogikon/ancient-greek-texts/main/manifest.csv): full spreadsheet with all file paths

Discussion

Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.

Posts are public.Sign in to post

No one has posted yet. Be the first.