{"id":48986907,"url":"https://github.com/dokkabei97/notebooklm-cli","last_synced_at":"2026-04-18T13:07:13.228Z","repository":{"id":344544782,"uuid":"1182105204","full_name":"Dokkabei97/notebooklm-cli","owner":"Dokkabei97","description":"Unofficial Google NotebookLM CLI client — manage notebooks, sources, AI chat, deep research, and content generation from the terminal","archived":false,"fork":false,"pushed_at":"2026-03-15T06:23:32.000Z","size":83,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T17:57:58.698Z","etag":null,"topics":["ai","cli","cobra","golang","google","notebooklm","research","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Dokkabei97.png","metadata":{"files":{"readme":"README-kor.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-15T03:29:53.000Z","updated_at":"2026-03-15T06:25:18.000Z","dependencies_parsed_at":"2026-03-15T18:04:05.376Z","dependency_job_id":null,"html_url":"https://github.com/Dokkabei97/notebooklm-cli","commit_stats":null,"previous_names":["dokkabei97/notebooklm-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Dokkabei97/notebooklm-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dokkabei97%2Fnotebooklm-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dokkabei97%2Fnotebooklm-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dokkabei97%2Fnotebooklm-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dokkabei97%2Fnotebooklm-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dokkabei97","download_url":"https://codeload.github.com/Dokkabei97/notebooklm-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dokkabei97%2Fnotebooklm-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["ai","cli","cobra","golang","google","notebooklm","research","terminal"],"created_at":"2026-04-18T13:07:06.065Z","updated_at":"2026-04-18T13:07:13.221Z","avatar_url":"https://github.com/Dokkabei97.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nlm - NotebookLM CLI\n\n[Google NotebookLM](https://notebooklm.google.com)의 비공식 CLI 클라이언트 (Go).\n\n터미널에서 노트북 관리, 소스 추가, AI 채팅, 콘텐츠 생성을 수행합니다.\n\n\u003e [English](README.md)\n\n## 왜 만들었나?\n\n기존 Python 클라이언트([notebooklm-py](https://github.com/teng-lin/notebooklm-py))가 있지만, Python을 Windows, macOS, Linux에 배포하려면 인터프리터, 가상 환경, 의존성 관리가 필요합니다.\n\n**nlm**은 단일 정적 바이너리입니다. 다운로드해서 바로 실행 — 런타임 의존성 없이 CI/CD, 자동화 스크립트, 크로스 플랫폼 배포에 적합합니다.\n\n## 설치\n\n### 빌드된 바이너리\n\n[Releases](https://github.com/Dokkabei97/notebooklm-cli/releases)에서 플랫폼별 바이너리를 다운로드합니다.\n\n### 소스에서 빌드\n\n```bash\ngit clone https://github.com/Dokkabei97/notebooklm-cli.git\ncd notebooklm-cli\nmake build\n\ngo install github.com/Dokkabei97/notebooklm-cli@latest\n```\n\n### 크로스 컴파일\n\n```bash\nGOOS=windows GOARCH=amd64 go build -o nlm.exe .\nGOOS=linux   GOARCH=amd64 go build -o nlm-linux .\nGOOS=darwin  GOARCH=arm64 go build -o nlm-darwin .\n```\n\n## 빠른 시작\n\n```bash\nnlm auth login --reuse          # 1. 인증 (Chrome 로그인 재사용)\nnlm notebook list               # 2. 노트북 목록\nnlm use \u003cnotebook-id\u003e           # 3. 노트북 선택\nnlm chat ask \"핵심 내용을 요약해줘\"  # 4. AI에게 질문\n```\n\n## 인증\n\n### 방법 1: Chrome 쿠키 재사용 (추천)\n\nChrome의 로컬 쿠키 DB에서 직접 추출합니다. 브라우저를 열지 않고, 기존 로그인에 영향 없습니다.\n\n```bash\nnlm auth login --reuse\n```\n\n\u003e macOS 키체인 접근 허용 팝업이 뜨면 \"허용\"을 선택하세요.\n\n### 방법 2: 새 브라우저 로그인\n\n```bash\nnlm auth login\n```\n\n### 인증 확인 / 삭제\n\n```bash\nnlm auth status\nnlm auth clear\n```\n\n## 명령어\n\n### 노트북\n\n```bash\nnlm notebook list                        # 목록\nnlm notebook create \"연구 노트\"           # 생성\nnlm notebook rename \u003cid\u003e \"새 이름\"        # 이름 변경\nnlm notebook delete \u003cid\u003e                 # 삭제\nnlm nb ls                                # 별칭\n```\n\n### 활성 노트북\n\n```bash\nnlm use \u003cnotebook-id\u003e                    # 이후 명령의 기본 노트북\n```\n\n### 소스\n\n```bash\nnlm source list                          # 목록\nnlm source add https://example.com       # URL 추가\nnlm source add ./paper.pdf               # 파일 업로드\nnlm source add \u003curl\u003e --wait              # 처리 완료 대기\nnlm source get \u003cid\u003e                      # 상세 정보\nnlm source refresh \u003cid\u003e                  # 새로고침\nnlm source delete \u003cid\u003e                   # 삭제\n```\n\n### AI 채팅\n\n```bash\nnlm chat ask \"이 문서의 핵심 논점은?\"\nnlm chat ask \"3장만 참조해줘\" -s \u003csource-id\u003e\nnlm chat history\n```\n\n### 콘텐츠 생성\n\n```bash\nnlm generate audio                       # 오디오\nnlm generate audio -i \"한국어로\"          # 지침 포함\nnlm generate report                      # 보고서\nnlm generate quiz                        # 퀴즈\nnlm generate video                       # 비디오\nnlm generate mind-map                    # 마인드맵\nnlm generate infographic                 # 인포그래픽\nnlm generate slide-deck                  # 슬라이드\nnlm gen audio --wait                     # 완료 대기\n```\n\n### 아티팩트 / 노트\n\n```bash\nnlm artifact list                        # 아티팩트 목록\nnlm artifact export \u003cid\u003e output.md       # 파일 저장\nnlm note list                            # 노트 목록\nnlm note create \"제목\" \"내용\"             # 노트 생성\n```\n\n### 딥 리서치 / 공유\n\n```bash\nnlm research start \"X에 대해 조사해줘\"\nnlm research poll \u003cid\u003e\nnlm share status\nnlm share set viewer|editor|none\n```\n\n## 전역 옵션\n\n| 플래그 | 설명 |\n|--------|------|\n| `--json` | JSON 출력 |\n| `-n, --notebook \u003cid\u003e` | 노트북 ID 지정 |\n| `-v, --verbose` | 상세 로그 |\n\n## 설정\n\n`~/.notebooklm/`에 저장됩니다. 환경 변수 `NOTEBOOKLM_AUTH_JSON`으로 인증 정보를 직접 전달할 수도 있습니다.\n\n## 요구 사항\n\n- **macOS**: 전체 지원 (Chrome 쿠키 추출은 키체인 사용)\n- **Windows/Linux**: 브라우저 로그인 또는 수동 쿠키 임포트\n- Google Chrome + Google 계정 로그인\n- Go 1.21+ (빌드 시만)\n\n## 레퍼런스\n\n- **[notebooklm-py](https://github.com/teng-lin/notebooklm-py)** — Python 클라이언트. RPC method ID, 인코딩, 인증 흐름의 기반.\n- **[Google batchexecute](https://kovatch.medium.com/deciphering-google-batchexecute-74991e4e446c)** — Google 내부 RPC 프로토콜 문서.\n\n## 기여\n\n1. Fork → 기능 브랜치 생성\n2. 테스트 작성 (`make e2e`)\n3. `go vet` / `go build` 통과 확인\n4. Pull Request 제출\n\n```bash\nmake build       # 빌드\nmake e2e-basic   # CLI 테스트 (인증 불필요)\nmake e2e         # 전체 E2E (인증 필요)\n```\n\n## 라이선스\n\nMIT License — [LICENSE](LICENSE) 참조\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokkabei97%2Fnotebooklm-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdokkabei97%2Fnotebooklm-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokkabei97%2Fnotebooklm-cli/lists"}