
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://img.shields.io/pypi/v/ycast?color=success](https://pypi.org/project/ycast/) https://img.shields.io/github/v/release/milaq/YCast?color=success&label=github&sort=semver](https://github.com/milaq/YCast/releases) https://img.shields.io/pypi/pyversions/ycast](https://www.python.org/downloads/) https://img.shields.io/pypi/l/ycast](https://www.gnu.org/licenses/gpl-3.0.en.html) https://img.shields.io/github/issues/milaq/ycast](https://github.com/milaq/YCast/issues)
https://pypi.org/project/ycast/
https://github.com/milaq/YCast/releases
https://github.com/milaq/YCast/issues
YCast is a self hosted replacement for the vTuner internet radio service which many AVRs use. It emulates a vTuner backend to provide your AVR with the necessary information to play self defined categorized internet radio stations and listen to Radio stations listed in the Community Radio Browser index.
YCast is for you if:
Theoretically, YCast should work for most AVRs which support vTuner. Most AVRs with network connectivity that were produced between 2011 and 2017 have vTuner support built-in.
Go ahead, test it with yours and kindly report the results back. Any reported device helps the community to see which AVRs work properly and which may have issues.
Python version: 3
Python packages:
requestsflaskPyYAMLPillowYCast really does not need much computing power nor bandwidth, i.e. you can run it on a low-spec RISC machine like a Raspberry Pi or a home router.
You need to create a manual entry in your DNS server (read 'Router' for most home users). The *.vtuner.com domain should point to the machine YCast is running on.
Specifically the following entries may be configured instead of a wildcard entry:
radioyamaha.vtuner.com (and optionally radioyamaha2.vtuner.com)onkyo.vtuner.com (and optionally onkyo2.vtuner.com)denon.vtuner.com (and optionally denon2.vtuner.com)grundig.vtuner.com, grundig.radiosetup.com (and optionally grundig2.vtuner.com and grundig2.radiosetup.com)With built-in webserver
You can run YCast by using the built-in development server of Flask (not recommended for production use, but should™ be enough for your private home use): python -m ycast
While you can simply run YCast with root permissions listening on all interfaces on port 80, this may not be desired for various reasons.
You can change the listen address and port (via -l and -p respectively) if you are already running a HTTP server on the target machine and/or want to proxy or restrict YCast access.
It is advised to use a proper webserver (e.g. Nginx) in front of YCast if you can.
Then, you also don't need to run YCast as root and can proxy the requests to YCast running on a higher port (>1024) listening only on localhost.
You can redirect all traffic destined for the original request URL (e.g. radioyamaha.vtuner.com, onkyo.vtuner.com) or need to redirect the following URLs from your webserver to YCast:
/setupapp/ycastAttention: Do not rewrite the requests transparently. YCast expects the complete URL (i.e. including /ycast or /setupapp). It also need an intact Host header; so if you're proxying YCast you need to pass the original header on. For Nginx, this can be accomplished with proxy_set_header Host $host;.
In case you are using (or plan on using) Nginx to proxy requests, have a look at this example. This can be used together with this systemd service example for a fully functional deployment.
With WSGI
You can also setup a proper WSGI server. See the https://flask.palletsprojects.com/en/1.1.x/deploying/.
If you want to use the 'My Stations' feature, create a stations.yml and run YCast with the -c switch to specify the path to it. The config follows a basic YAML structure (see below).
Category one name: First awesome station name: first.awesome/station/URL Second awesome station name: second.awesome/station/URL Category two name: Third awesome station name: third.awesome/station/URL Fourth awesome station name: fourth.awesome/station/URL
You can also have a look at the provided example to better understand the configuration.
80 of the machine running YCast.您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务