{"id":21212182,"url":"https://github.com/yanranxiaoxi/web-vr-panorama-api","last_synced_at":"2026-01-23T02:19:17.445Z","repository":{"id":118940603,"uuid":"478062127","full_name":"yanranxiaoxi/Web-VR-Panorama-API","owner":"yanranxiaoxi","description":"基于 A-Frame 的 VR 全景网页视图 API","archived":false,"fork":false,"pushed_at":"2022-06-24T14:43:32.000Z","size":15595,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T06:42:52.548Z","etag":null,"topics":["api","webvr-aframe"],"latest_commit_sha":null,"homepage":"https://webvrpanorama.api.soraharu.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanranxiaoxi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-05T09:39:15.000Z","updated_at":"2024-11-14T12:14:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"96a3b025-3a8e-410a-9efd-21b33b8bb604","html_url":"https://github.com/yanranxiaoxi/Web-VR-Panorama-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanranxiaoxi/Web-VR-Panorama-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanranxiaoxi%2FWeb-VR-Panorama-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanranxiaoxi%2FWeb-VR-Panorama-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanranxiaoxi%2FWeb-VR-Panorama-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanranxiaoxi%2FWeb-VR-Panorama-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanranxiaoxi","download_url":"https://codeload.github.com/yanranxiaoxi/Web-VR-Panorama-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanranxiaoxi%2FWeb-VR-Panorama-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28677977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","webvr-aframe"],"created_at":"2024-11-20T21:08:06.690Z","updated_at":"2026-01-23T02:19:17.441Z","avatar_url":"https://github.com/yanranxiaoxi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web VR Panorama API\n\n🌎 基于 A-Frame 的 VR 全景网页视图 API 🔐\n\n🔗 [GitLab (Homepage)](https://gitlab.soraharu.com/XiaoXi/Web-VR-Panorama-API) | 🔗 [GitHub](https://github.com/yanranxiaoxi/Web-VR-Panorama-API)\n\n[![vercel](https://vercelbadge.soraharu.com/?app=webvrpanorama-api)](https://webvrpanorama.api.soraharu.com/)\n\n## 📦️ 调用说明\n\n本 API 标准接口为 `https://webvrpanorama.api.soraharu.com/api.php`，以下为参数说明：\n\n| Parameter   | Type  | Lore                           |\n| ----------- | ----- | ------------------------------ |\n| `url_type`  | `GET` | `local` or `http`              |\n| `image_url` | `GET` | The local filename or full URL |\n\n当 `url_type` 为 `local` 时，程序会读取 `./images/` 目录下名为 `image_url` 的 JPG 图像，例如：\n\n- [https://webvrpanorama.api.soraharu.com/api.php?url_type=local\u0026image_url=snow1](https://webvrpanorama.api.soraharu.com/api.php?url_type=local\u0026image_url=snow1)\n\n此时获取的图片地址为：\n\n- [./images/snow1.jpg](https://webvrpanorama.api.soraharu.com/images/snow1.jpg)\n\n相当于以下文件：\n\n- [https://webvrpanorama.api.soraharu.com/images/snow1.jpg](https://webvrpanorama.api.soraharu.com/images/snow1.jpg)\n\n当 `url_type` 为 `http` 或 `https` 时，程序将会读取 `image_url` 指向的完整路径的图像，您需要确保 `image_url` 指向的图像可以被访问，例如：\n\n- [https://webvrpanorama.api.soraharu.com/api.php?url_type=http\u0026image_url=https://downloadserver.soraharu.com:7000/Web%20VR%20Panorama%20API/images/snow2.jpg](https://webvrpanorama.api.soraharu.com/api.php?url_type=http\u0026image_url=https://downloadserver.soraharu.com:7000/Web%20VR%20Panorama%20API/images/snow2.jpg)\n\n此时获取的图片地址为：\n\n- [https://downloadserver.soraharu.com:7000/Web%20VR%20Panorama%20API/images/snow2.jpg](https://downloadserver.soraharu.com:7000/Web%20VR%20Panorama%20API/images/snow2.jpg)\n\n*请使用桌面浏览器打开以上 URL，图片加载可能较慢，请稍加等待*\n\n## ⚙️ 部署至 Vercel\n\n1. 克隆本仓库到 [GitHub.com](https://github.com/) 或 [GitLab.com](https://gitlab.com/) 个人仓库\n2. 在 [Vercel](https://vercel.com/) 新建项目到你的个人仓库\n3. 等待自动部署完成\n\n## 📜 开源许可\n\n本项目仅供个人学习研究使用，禁止用于商业及非法用途。\n\n基于 [MIT License](https://choosealicense.com/licenses/mit/) 许可进行开源。\n\n## 💕 感谢\n\n- [A-Frame](https://aframe.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanranxiaoxi%2Fweb-vr-panorama-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanranxiaoxi%2Fweb-vr-panorama-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanranxiaoxi%2Fweb-vr-panorama-api/lists"}