{"id":49560967,"url":"https://github.com/deuxksy/sylph","last_synced_at":"2026-05-03T08:31:15.079Z","repository":{"id":342830482,"uuid":"1175307594","full_name":"deuxksy/sylph","owner":"deuxksy","description":"Sylph는 Tailscale ACL 과 Cloudflare(DNS)를 관리하는 시스템입니다.","archived":false,"fork":false,"pushed_at":"2026-04-14T22:55:17.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-15T00:32:31.052Z","etag":null,"topics":["acl","automation","devops","diagram","documentation","github-actions","network","security","tailscale","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deuxksy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-07T14:31:44.000Z","updated_at":"2026-04-14T22:55:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deuxksy/sylph","commit_stats":null,"previous_names":["deuxksy/tailscale-acl","deuxksy/sylph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deuxksy/sylph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuxksy%2Fsylph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuxksy%2Fsylph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuxksy%2Fsylph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuxksy%2Fsylph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deuxksy","download_url":"https://codeload.github.com/deuxksy/sylph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuxksy%2Fsylph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32563174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["acl","automation","devops","diagram","documentation","github-actions","network","security","tailscale","vpn"],"created_at":"2026-05-03T08:31:12.016Z","updated_at":"2026-05-03T08:31:15.070Z","avatar_url":"https://github.com/deuxksy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sylph - Network \u0026 Domain Management System\n\n[![ACL Documentation](https://github.com/deuxksy/sylph/actions/workflows/acl-docs.yml/badge.svg?branch=main)](https://github.com/deuxksy/sylph/actions/workflows/acl-docs.yml)\n[![Sync Tailscale ACLs](https://github.com/deuxksy/sylph/actions/workflows/tailscale-acl.yml/badge.svg?branch=main)](https://github.com/deuxksy/sylph/actions/workflows/tailscale-acl.yml)\n\nSylph는 Tailscale ACL 정책(`policy.hujson`)을 자동으로 문서화하고 Cloudflare(DNS)를 통한 도메인을 통합 관리하는 시스템입니다.\n\n## Topology\n\n```mermaid\ngraph TB\n\n    subgraph \"ZZiZiLY\u003cbr/\u003e(bun-bull.ts.net)\"\n        subgraph \"Mobile (tag:mobile)\"\n            M1[iPhone\u003cbr/\u003eiOS]\n            M2[pro\u003cbr/\u003eiPad\u003cbr/\u003eiOS]\n            M3[Galaxy\u003cbr/\u003eAndroid]\n        end\n\n        subgraph \"PC (tag:pc)\"\n            PC1[EVE\u003cbr/\u003emacOS]\n            PC2[ava\u003cbr/\u003eSurface\u003cbr/\u003eWindows]\n        end\n\n        subgraph \"Server (tag:server)\"\n            S1[Girl\u003cbr/\u003eLinux]\n            S2[WALL.E\u003cbr/\u003eLinux\u003cbr/\u003e🌐 Exit Node]\n        end\n\n        subgraph \"AI (tag:ai)\"\n            AI1[ai\u003cbr/\u003eLinux\u003cbr/\u003e🤖 Aperture\u003cbr/\u003eLLM Gateway]\n        end\n\n        subgraph \"Docker (tag:docker)\"\n            I1[heritage\u003cbr/\u003eLinux\u003cbr/\u003e🔌 Serve\u003cbr/\u003e⚡ Ephemeral]\n        end\n\n        subgraph \"Network (tag:network)\"\n            I2[arv\u003cbr/\u003eLinux\u003cbr/\u003e🔌 Funnel\u003cbr/\u003e🌐 Subnet Router]\n        end\n    end\n\n    Internet((🌐 Internet)) ==\u003e|Funnel 443| I2\n    %% Tailnet devices access LAN via arv\n    I2 ==\u003e|Subnet| LAN[🏠 LAN\u003cbr/\u003e192.168.1.0/24\u003cbr/\u003e192.168.8.0/24]\n    %% Tailnet uses NextDNS for DNS resolution\n    DNS[🌐 NextDNS 6cc36a]\n\n    style M1 fill:#e1f5fe\n    style M2 fill:#e1f5fe\n    style M3 fill:#e1f5fe\n    style PC1 fill:#f3e5f5\n    style PC2 fill:#f3e5f5\n    style S1 fill:#fff3e0\n    style S2 fill:#ffebee\n    style AI1 fill:#e3f2fd\n    style I1 fill:#e8f5e9\n    style I2 fill:#e8f5e9\n```\n\n## Hardware Specs\n\n| 장비 | 하드웨어 | OS | 특이사항 |\n|------|----------|-----|----------|\n| **EVE** | Mac Mini 2024, M4, 16GB | macOS | 전기양 서버 |\n| **WALL.E** | Intel N100, 8GB | Fedora 43 | 🌐 Exit Node |\n| **arv** | ARMv8, 512MB | OpenWrt | 🔌 Funnel, Subnet Router |\n| **ai** | - | Linux | 🤖 Aperture, LLM Gateway |\n| Girl | - | Linux | Server |\n| heritage | - | Linux | Docker, Ephemeral |\n| iPhone | - | iOS | Mobile |\n| **pro** (iPad) | - | iOS | Mobile |\n| Galaxy | - | Android | Mobile |\n| **ava** (Surface) | - | Windows | PC |\n\n## Workflow\n\n```mermaid\ngraph LR\n    A[policy.hujson 수정] --\u003e B[문서 생성]\n    B --\u003e C[PR 생성]\n    C --\u003e D{GitHub Actions}\n    D --\u003e|policy.hujson 변경| E[PR 코멘트 생성]\n    D --\u003e|workflow_dispatch| E\n    E --\u003e F[문서 검토]\n    F --\u003e G[main 병합]\n```\n\n## 기능\n\n- 📄 **Markdown 문서 생성** - ACL 정책을 사람이 읽기 쉬운 형태로 변환\n- 📊 **Mermaid 다이어그램** - 네트워크 연결을 시각화\n- 💬 **PR 자동 코멘트** - 변경사항을 PR에 자동으로 코멘트\n- ✅ **문법 검증** - HUJSON/JSON 유효성 검사\n\n## 사용법\n\n### 로컬에서 문서 생성\n\n```bash\n# 기본 사용 (docs/acl.md 생성)\n./scripts/generate-docs.sh\n\n# PR 코멘트용 diff도 생성\n./scripts/generate-docs.sh --pr-comment\n\n# 상세 로그 출력\n./scripts/generate-docs.sh --verbose\n\n# 도움말\n./scripts/generate-docs.sh --help\n```\n\n### GitHub Actions\n\nPR이 생성되거나 `policy.hujson`이 변경되면 자동으로 PR에 변경사항 코멘트가 생성됩니다.\n\n## 파일 구조\n\n```\n.\n├── policy.hujson              # ACL 정책 파일\n├── scripts/\n│   └── generate-docs.sh       # 문서 생성 스크립트\n├── docs/\n│   └── acl.md                 # 생성된 문서\n└── .github/workflows/\n    ├── tailscale-acl.yml      # ACL 적용 워크플로우\n    └── acl-docs.yml           # 문서화 워크플로우\n```\n\n## CLI 옵션\n\n| 옵션 | 설명 | 기본값 |\n|------|------|--------|\n| `-p, --policy FILE` | policy.hujson 경로 | `policy.hujson` |\n| `-o, --output DIR` | 출력 디렉토리 | `docs` |\n| `--pr-comment` | PR 코멘트용 diff 생성 | - |\n| `--compare REF` | 비교할 git 참조 | `HEAD~1` |\n| `-v, --verbose` | 상세 로그 출력 | - |\n| `-h, --help` | 도움말 표시 | - |\n\n## 네트워크 진단 도구\n\n이 프로젝트는 네트워크 문제 해결을 위해 다음 MCP 서버들을 사용합니다.\n\n### GlobalPing\n\n전 세계 분산 프로브를 통한 네트워크 진단 도구입니다.\n\n- **ping** - 호스트 도달 가능성 확인\n- **traceroute** - 네트워크 경로 추적\n- **DNS查询** - DNS 레코드 확인\n- **HTTP** - HTTP 엔드포인트 테스트\n\n```bash\n# 예: arv.bun-bull.ts.net 경로 추적\n# MCP: globalping traceroute\n```\n\n### Cloudflare Radar\n\n인터넷 트래픽 및 공격 인사이트를 제공합니다.\n\n- **트래픽 분석** - HTTP/DNS 트렌드\n- **공격 탐지** - L3/L7 DDoS 공격 현황\n- **BGP 정보** - 라우팅 변경사항 및 이상 징후\n- **인터넷 품질** - 속도 및 품질 메트릭\n\n```bash\n# 예: ASN 정보 조회\n# MCP: cloudflare-radar get_as_details\n```\n\n## 요구사항\n\n- `jq` - JSON 처리\n- `python3` + `json5` - HUJSON 파싱\n\n```bash\n# Ubuntu/Debian\nsudo apt install jq python3-pip\npip install json5\n\n# macOS\nbrew install jq python3\npip3 install json5\n```\n\n## 문서 형식\n\n생성되는 문서는 다음 섹션들을 포함합니다:\n\n- 📋 개요\n- 👥 그룹 및 사용자\n- 🏷️ 태그 및 소유자\n- 🔐 ACL 규칙\n- 🔑 SSH 규칙\n- 📊 네트워크 연결 다이어그램 (Mermaid)\n- 🔗 참고 링크\n\n## 라이선스\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuxksy%2Fsylph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeuxksy%2Fsylph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuxksy%2Fsylph/lists"}