
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 示例文件和测试夹具,获取其 URL 与 SHA-256,并校验本地副本。
- 功能
- 提供涵盖多种格式的免费 CC0 示例文件目录,包括 PDF、图片、音频、视频、办公文档、数据文件、压缩包、字体、文本编码、原始字节块以及故意损坏的边界用例。助手可以查找某个夹具,获取其 URL 和 SHA-256 哈希,并用已发布的哈希校验磁盘上已有的副本。目录为机器可读,并提供按格式划分的索引和校验和清单。
- 适用场景
- 当开发、CI 流水线或演示需要占位文件或测试文件,并希望获得稳定、可校验哈希且无需账户或署名的下载时适用。也适合测试软件如何处理损坏或截断的文件。
- 运行要求
- 作为本地 stdio 进程运行,可通过 npm 的 npx 或 PyPI 的 uvx 安装。未声明需要账户、API 密钥或环境变量。下载夹具需要访问规范主机的网络。
安装
在 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


