AI 에이전트한테 오픈소스 분석 시키면? 500MB 레포 전체를
/tmp에 클론하고, 또 시키면 또 클론하고… 토큰은 토큰대로, 시간은 시간대로. 웹서치로 분석시키면? 다운받아서 직접 읽는 것보다 정확도도 떨어지고, 할루시네이션은 더 많고, 토큰 소모도 더 큽니다.이제 그럴 필요 없습니다. 필요한 폴더만 골라서 다운받거나, raw 링크만 뽑아서 바로 쓰세요.
🚀 Raw 링크를 NotebookLM에 넣으면? 아무 GitHub 레포로든 나만의 Deep Wiki를 만들 수 있어요.
| 입력 | → | 출력 | 용도 |
|---|---|---|---|
| GitHub 특정 폴더 | → | Raw URL 목록 | NotebookLM, LLM에 먹이기 |
| GitHub 특정 폴더 | → | 파일 다운로드 | 부분 클론 (전체 레포 필요 없음) |
curl -sL https://raw.githubusercontent.com/professional-ALFIE/github-extractor/master/install.sh | bash~/.claude/skills/github-extractor/에 스킬과 스크립트가 설치됩니다.
GitHub 특정 경로의 raw URL 목록을 추출해요.
왜 git clone 안 쓰나요? 폴더 하나만 필요한데 500MB 레포 전체를 받을 이유가 없잖아요.
./extractor_githubRawLinks.py https://github.com/owner/repo/tree/main/docs출력:
https://raw.githubusercontent.com/owner/repo/main/docs/guide.md
https://raw.githubusercontent.com/owner/repo/main/docs/api.md
- 클립보드에 자동 복사돼요 (macOS)
- 모든 브랜치, 태그, 커밋 지원
요구사항: Python 3 + requests
팁:
GITHUB_TOKEN설정하면 rate limit이 증가됩니다! (60 → 5000 요청/시간)
GitHub 특정 디렉토리의 파일만 다운로드해요 — 이제 전체 클론 안 해도 되죠.
./extractor_githubRawFiles.py https://github.com/owner/repo/tree/main/docs ./local-docs자동 무시: node_modules/, .git/, __pycache__/, dist/, build/, .next/, venv/, .pyc, .exe, .dll, .so
요구사항: Python 3 + requests
팁:
GITHUB_TOKEN설정하면 rate limit이 증가됩니다! (60 → 5000 요청/시간)
스킬 설치 후 그냥 요청하세요:
- "https://github.com/owner/repo/tree/main/docs 의 raw 링크 줘"
- "https://github.com/owner/repo/tree/main/src 파일 다운받아줘"
MIT