
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Download PDFs from Project MUSE and stitch them together into a single-file using pdftk.
Any downloads you perform with this tool are for your own usage. I personally hate reading PDFs on a browser, this lets me read them much more easily offline. This is just for personal use.
git clone https://github.com/captn3m0/muse-dl.git cd muse-dl shards install shards build ./bin/muse-dl --help
A linux x86_64 static build is available in the latest release: https://github.com/captn3m0/muse-dl/releases/latest. Save the file as muse-dl and remember to mark it as executable (chmod +x).
A docker image is available at captn3m0/muse-dl on Docker Hub. The working directory for the image is set as /data, so you'll need to mount your output-directory as /data for it to work. Sample invocations;
# Download the book, and put it in your Downloads directory docker run -it /home/nemo/Downloads:/data captn3m0/muse-dl:edge https://muse.jhu.edu/book/875 # If you have a list.txt file in your Downloads directory, then you can run docker run -it /home/nemo/Downloads:/data captn3m0/muse-dl:edge /data/list.txt # If you want to keep the temporary files with your host, and not delete them docker run -it /home/nemo/Downloads:/data /tmp:/musetmp captn3m0/muse-dl:edge --tmp-dir /musetmp --no-cleanup https://muse.jhu.edu/book/875
Replace edge with the latest version number if you'd like to run a tagged release.
The following images are available:
edge: Run muse-dl against latest master.edge-static: Get the pre-built static-***ary against latest master.v1.3.1: Run muse-dl against the specific release.v1.3.1-static: Get the pre-built static ***ary against the specific release.Please ensure you have pdftk installed, unless you're running via docker.
Usage: muse-dl [--flags] [URL|INPUT_FILE] URL: A link to a book on the Project MUSE website, eg https://muse.jhu.edu/book/875 INPUT_FILE: Path to a file containing a list of links --no-cleanup Don't cleanup temporary files --tmp-dir PATH Temporary Directory to use --output FILE Output Filename --no-bookmarks Don't add bookmarks in the PDF --clobber Overwrite the output file, if it already exists. --dont-strip-first-page Disables first page from being stripped. Use carefully --cookie COOKIE Cookie-header -h, --help Show this help
muse-dl https://muse.jhu.edu/book/875 Saved final output to Accommodating Revolutions- Virginia's Northern Neck in an Era of Transformations, 1760-1810.pdf
Alternatively, if you pass a input-file.txt (https://paste.ubuntu.com/p/myBkNn6DSP/), you can pass it as the sole parameter.
muse-dl input.txt
And it will download all the links in that file.
Licensed under the MIT License. See LICENSE file for details.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务