Commit Graph
1 Commits
Author SHA1 Message Date
aiongg 0453eb99c5 feat: add a fetch manifest and tool for the openly licensed corpus
tools/corpus-manifest.json lists 2,884 files (5.5 GB) of 239 openly
licensed sources: InDesign, IDML, ICML and PDF files, the parts of
unzipped IDML packages, and the licence files. Each file has its
source, SPDX licence, size and SHA-256, and either a pinned URL (git
commit, Zenodo record, and a few unversioned URLs that the hash
guards) or a member of an archive with its own size and checksum.
Sources whose only licence is the OFL, Figshare records and files that
can only be downloaded by hand are left out.

tools/fetch_corpus.py downloads them into the git-ignored corpus/open/
as fetch_fixtures.py does: own download directory, size and hash
checks, atomic writes, paths kept inside the directory. Archives are
downloaded once, checked and unpacked member by member; requests to a
host are paced and retried on HTTP 429 and 5xx.
2026-10-08 15:08:31 +00:00