
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Galileo is a stack of technologies designed for uploading and displaying map data using decentralized storage. It aims to offer a secure, efficient, and flexible way to handle geographical information.
Map tiles of specific countries are uploaded to Swarm using https://github.com/*** or https://github.com/fairDataSociety/fdp-storage.
The uploaded map tiles are indexed in such a way that they can be easily accessed and displayed either via a web interface or a user's local node.
The User Interface for displaying these maps is written using React.
The reason for using map data from trusted providers is to display geographical information in a manner that is mutually acceptable for both the user and the sharing party.
Prerequisites:
You can run your own fairos-dfs endpoint, but setting this up is outside of the scope of this readme. Alternativaly, join the Fair Data Society *** and use the #liberate-data-directory channel to gain more information, support and apply for access to fairos-dfs server endpoints.
You can find information on how to install nodejs in https://github.com/nodesource/distributions/blob/master/README.md
The process to create and share a map:
Download GeoJSON files of specific region with script: https://gist.github.com/IgorShadurin/afdc91d2f21cc8154e24da02d***.
Find YOUR_ACCESS_TOKEN and replace with your key from [***]
Start downloading process by running
python3 osm_tiles_downloader.py 46.06902628310932 14.507817723324576.
The last two parameters are coordinates of the region you want to download.
Copy /scripts/example.env to /scripts/.env
Edit the .env file to define parameters:
FAIROS_URL - FairOS API url, for example http://localhost:9090/v1/
or https://fairos-mainnet.fairdatasociety.org/v1/ for a FairOS mainnet endpoint.FAIROS_USERNAME - FairOS username. If users doesn't exist - it will be created.FAIROS_PASSWORD - FairOS password for user.FAIROS_POD - pod name. Exists or not. If you want to share the map, then use a name that should be unique.FAIROS_MAP_KV - key-value name of the stored map data.MAP_PATH - full path to folder with tile files which downloaded above.Go to scripts folder, run cd scripts, run npm i or yarn.
Run upload script node upload-map-kv.js. Important notice: each map should be uploaded into a separate pod. This is necessary for the convenient compilation of the register of maps.
Note that sometimes you need to pause a process to continue later. To continue uploading you can use the command node upload-map-kv.js retry 78, where 78 is number of position where you want to proceed. Uploading ~ 700 megabytes might take about 7 hours.
!Adding keys animation
Wait for the script to upload all data and return Map reference (a hash). You can share you map reference with the community.
Join the Fair Data Society *** and use the #liberate-data-directory channel to share your map reference, add it to the Liberate Data Directory and have it displayed on Galileo maps.
Tile files examples
Switzerland: [***]
Czech Republic: [***]
Links
Download tiles script: https://gist.github.com/IgorShadurin/afdc91d2f21cc8154e24da02d***
Make tiles info: https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service
Run Galileo from scratch (manual & Docker), "How to create maps registry?"
You might want to run your own registry of maps & server. This is a more advanced topic which is covered in:
https://github.com/fairDataSociety/galileo/blob/master/instructions/Installation.md
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务