
loremfile
io.github.kumarprabhashanandv0.2.0更新於 Oct 8, 2026
CC0 sample files and test fixtures: find one, get its URL and SHA-256, check a copy on disk.
概覽
讓助理尋找 CC0 範例檔案與測試 fixture,取得其 URL 與 SHA-256,並驗證本機副本。
- 功能
- 提供涵蓋多種格式的免費 CC0 範例檔案目錄,包括 PDF、圖片、音訊、視訊、辦公文件、資料檔、壓縮檔、字型、文字編碼、原始位元組區塊,以及刻意損壞的邊界案例。助理可以查詢某個 fixture、取得其 URL 與 SHA-256 雜湊,並用已發布的雜湊驗證磁碟上既有的副本。目錄為機器可讀,並提供依格式區分的索引與校驗和清單。
- 適用情境
- 適合在開發、CI 流程或展示需要佔位檔案或測試檔案,並希望取得穩定、可驗證雜湊且無需帳號或標示來源的下載時使用。也適合測試軟體如何處理損壞或截斷的檔案。
- 執行需求
- 以本機 stdio 程序執行,可透過 npm 的 npx 或 PyPI 的 uvx 安裝。未宣告需要帳號、API 金鑰或環境變數。下載 fixture 需要連線至標準主機的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 loremfile,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
loremfile
Free, CC0, hotlink-friendly sample files for every file type. Lorem Picsum, but for PDFs, images, audio, video, office documents, data files, archives, fonts, text encodings, raw byte blobs and deliberately malformed edge cases.
No ads, no accounts, no rate-limit surprises, no attribution required. Open CORS, byte-range
support, one-year immutable caching, and a machine-readable
manifest.json with SHA-256 hashes for every file.
228 files across 78 formats plus the edge/ set are live, at catalog version 1.2.0. The
specification lives in docs/.
Canonical host
The canonical host is https://loremfile.dev.
This README is the out-of-band pointer: if loremfile.dev is ever unavailable or moves, the
current canonical host is stated here first. Do not rely on any other mirror.
What you can rely on
- The bytes at a published path do not change. Hash, byte count and MIME type stay as
they are; a fix is a new path, and the old entry records
supersededBy. A file may be withdrawn for legal reasons, and the manifest then keeps a tombstone for it. There is no promise of availability — see the terms. - Hotlinking is welcome. That is what this is for. Please keep automated traffic under 30 requests per second per client (the edge rate-limits at 300 requests / 10 s per IP).
- No tracking cookies, no analytics scripts, no accounts.
For agents and CI
/llms.txt— what this service is, in one file./manifest.json— every fixture with path, bytes,sha256, MIME type, tags and format-specific properties./sha256sums.txt— verify downloads withsha256sum -c./{format}/index.json— one format at a time.
GitHub Action
Pull fixtures into a workflow and check each one against its sha256 in the manifest:
It writes to loremfile-fixtures/ and outputs dir and count. A file whose bytes do not
match the manifest fails the step and names the file. catalog-version: "1.2.0" refuses to
run if loremfile.dev has moved on.
The action is shell only and talks to nothing but loremfile.dev. It downloads one file at a
time with a pause between them and backs off on a 429, because the published rate limit
applies to it like any other client. Linux and macOS runners only — it needs sha256sum
or shasum, and Windows is not supported rather than half-supported.
action-v1 is a major tag that moves as the action changes; it is deliberately not a v*
release tag, because those name a catalog version and are frozen once pushed. Pinning a
commit SHA works too and is the strictest option.
Licences
Third-party tools used to generate the files are listed in THIRD_PARTY.md.
No third-party media is redistributed — everything is generated.
Repository
Contributing
Fixture requests and bug reports go in Issues; see
CONTRIBUTING.md for the naming grammar and what makes a good fixture.
Security reports: SECURITY.md.
By opening a pull request you agree that generator code is MIT and any resulting fixtures are CC0.
來源:README.md,提交 684a053
工具
0版本歷史
1- v0.2.0最新Oct 8, 2026


