Add end-to-end auto-sync with Google Drive integration#10
Open
lmanchu wants to merge 1 commit intoPleasePrompto:masterfrom
Open
Add end-to-end auto-sync with Google Drive integration#10lmanchu wants to merge 1 commit intoPleasePrompto:masterfrom
lmanchu wants to merge 1 commit intoPleasePrompto:masterfrom
Conversation
Features: - Auto-sync local files to Google Drive (sync-to-drive.js) - Browser automation to add sources to NotebookLM (add_sources.py) - End-to-end orchestration script (auto_sync.py) - Sync state tracking - only processes new/modified files - Sample configuration file (sync-config.json.example) - Updated skill.md with auto-sync documentation Technical changes: - browser_utils.py: Comment out Chrome channel for Chromium compatibility - Added Node.js package.json for googleapis dependency - Updated .gitignore for node_modules and local config Usage: notebooklm-sync # Full sync (Drive + NotebookLM) notebooklm-sync --drive-only # Sync to Drive only 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a complete end-to-end automation pipeline for syncing local documents to NotebookLM through Google Drive.
New Features
sync-to-drive.js) - Node.js script using Google APIs to sync local folders to Driveadd_sources.py) - Patchright-based automation to add Drive files as NotebookLM sourcesauto_sync.py) - Python script that combines both steps with state trackingsync-config.json.example) - Sample config for setting up sync mappingsArchitecture
Usage
Technical Changes
browser_utils.py: Made Chrome channel optional for Chromium compatibilityscripts/package.jsonfor Node.js googleapis dependency.gitignorefor node_modules and local config filesSKILL.mdwith auto-sync documentationTest Plan
🤖 Generated with Claude Code