소스 정보
- 저장소
- arm2arm/AstroAgentAssistant
- 최근 소스 활동
- 2026년 8월 26일 12:28
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill webxr-deployment명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
S3/MinIO operations: connectivity, transfers, read benchmarks, and matplotlib visualization templates.
Complete guide to the REANA reproducible analytics platform: Dockerized client setup, multi-backend profiles, workflow authoring patterns, S3 dataset workflows, and best practices. Covers dev/prod backends, serial workflows, REANA_WORKSPACE usage, and self-learning from finished workflows.
Complete guide to working with Arepo simulation HDF5 files: structure inspection, unit conversion, radial profiles, slice projections, and dimensionality reduction (UMAP/t-SNE) for clustering analysis.
| name | webxr-deployment |
| title | Deploy WebXR apps via Docker, nginx, and HAProxy |
| description | Deploy WebXR apps via Docker, nginx, and HAProxy. |
| author | Hermes Agent |
| date | 2026-07-29T00:00:00.000Z |
| tags | ["webxr","three.js","chrome","arcore","haproxy","nginx","docker"] |
cd /path/to/webxr-app
docker build -t webxr-app .
docker run -d -p 8123:8123 webxr-app
All must be true for immersive-ar to work:
location.protocol !== 'https:' blocks the sessionCOEP: require-corp, COOP: same-origin, CORP: cross-origincamera=(self), no blanket camera=()console.log('WebXR:', 'xr' in navigator);
navigator.xr.isSessionSupported('immersive-ar').then(s => console.log('AR:', s));
navigator.xr.isSessionSupported('immersive-vr').then(s => console.log('VR:', s));
curl -sI https://ar.aip.de | grep -iE "cross-origin|permissions-policy"
<div id="debug" style="position:fixed;top:70px;right:10px;
background:rgba(0,0,0,0.85);color:#38bdf8;padding:15px;
border-radius:8px;font-family:monospace;font-size:12px;z-index:999;">
<div>WebXR: <span id="dbg-xr">checking...</span></div>
<div>AR: <span id="dbg-ar">checking...</span></div>
<div>HTTPS: <span id="dbg-https">checking...</span></div>
</div>
When a blanket Permissions-Policy: camera=() exists for all domains:
rspdel ^Permissions-Policy:\ if { ssl_fc_sni ar.aip.de }
rspdel ^Cross-Origin-Embedder-Policy:\ if { ssl_fc_sni ar.aip.de }
rspdel ^Cross-Origin-Opener-Policy:\ if { ssl_fc_sni ar.aip.de }
rspdel ^Cross-Origin-Resource-Policy:\ if { ssl_fc_sni ar.aip.de }
rspadd Cross-Origin-Embedder-Policy:\ require-corp\ if { ssl_fc_sni ar.aip.de }
rspadd Cross-Origin-Opener-Policy:\ same-origin\ if { ssl_fc_sni ar.aip.de }
rspadd Cross-Origin-Resource-Policy:\ cross-origin\ if { ssl_fc_sni ar.aip.de }
rspadd Permissions-Policy:\ geolocation=(),\ microphone=(),\ camera=(self)\ if { ssl_fc_sni ar.aip.de }
Files created on host (e.g., chmod 600) retain permissions after COPY. nginx gets 403.
RUN chown -R nginx:nginx /usr/share/nginx/html && \
find /usr/share/nginx/html -type d -exec chmod 755 {} \; && \
find /usr/share/nginx/html -type f -exec chmod 644 {} \;
async function startAR() {
const supported = await navigator.xr.isSessionSupported('immersive-ar');
if (!supported) return;
const features = ['local-floor'];
for (const feature of ['hit-test', 'hand-tracking', 'light-estimation']) {
try {
await navigator.xr.isSessionSupported('immersive-ar', {
requiredFeatures: [feature]
});
features.push(feature);
} catch { /* not supported */ }
}
const session = await navigator.xr.requestSession('immersive-ar', {
requiredFeatures: features,
optionalFeatures: featuresList
});
renderer.xr.setSession(session);
renderer.setAnimationLoop(() => { /* render loop */ });
}
| Error | Cause | Fix |
|---|---|---|
SecurityError | Missing cross-origin headers | Add COEP/COOP/CORP |
NotSupported | ARCore not installed | Install ARCore |
session creation failed | Required feature unavailable | Drop from requiredFeatures |
HTTPS required | Accessing via HTTP | Use HTTPS endpoint |
| 403 Forbidden | nginx file permissions | Fix chown/chmod in Dockerfile |
| Platform | immersive-ar | immersive-vr |
|---|---|---|
| Chrome Android | ✅ (with ARCore) | ✅ |
| Chrome Desktop | ❌ | ✅ (headsets) |
| Brave/Firefox | ❌ | ❌ |
After Docker rebuild, browser may serve cached CSS/JS. User sees old theme/colors.
Always verify container content matches source:
# Check CSS being served
curl -s http://localhost:8123/css/style.css | grep -oE "0x[0-9a-fA-F]{6}|#[0-9a-fA-F]{6}" | sort -u
# Check HTML being served
curl -s http://localhost:8123 | grep -c "new-section-id"
If container has old content, check for file permission issues or stale Docker layers:
docker stop webxr-portal-door 2>/dev/null
docker rm webxr-portal-door 2>/dev/null
docker build --no-cache -t webxr-portal-door .
docker run -d --name webxr-portal-door -p 8123:8123 webxr-portal-door
Force client cache bypass: Ctrl+Shift+R or incognito mode.
Multiple web apps may run on different ports (e.g., port 8123 for custom app, 8124 for React XR).
Verify which app is live:
docker ps | grep webxr-portal
curl -s http://localhost:8123 | head -3 # Custom app
curl -s http://localhost:8124 | head -3 # React portal
Update HAProxy backend to point to correct port:
server col 127.0.0.1:8123 check inter 30s # Custom app
# OR
server col 127.0.0.1:8124 check inter 30s # React portal