efrenchoes-netizen

notebooklm-local

Integración con Google NotebookLM para gestionar notebooks, fuentes, generar audio podcasts, reportes y chat. Requiere autenticación manual via Chrome.

efrenchoes-netizen 0 Updated 2mo ago

Resources

6
GitHub

Install

npx skillscat add efrenchoes-netizen/openclaw-notebooklm-local

Install via the SkillsCat registry.

SKILL.md

notebooklm-local

Integración local con Google NotebookLM via browser automation.

Instalación

# Instalar dependencias
pip install requests

Uso

Autenticación (primera vez)

from notebooklm_local import NotebookLMClient

client = NotebookLMClient()
client.login()  # Abre Chrome para autenticación

Listar Notebooks

notebooks = client.list_notebooks()
for nb in notebooks:
    print(f"{nb['id']}: {nb['title']}")

Crear Notebook

notebook_id = client.create_notebook("Mi Proyecto")

Agregar Fuentes

# Desde URL
client.add_source(notebook_id, "url", "https://ejemplo.com/articulo", "Artículo")

# Texto
client.add_source(notebook_id, "text", "Contenido aquí...", "Notas")

# PDF
client.add_source(notebook_id, "pdf", "/ruta/archivo.pdf", "Documento")

Generar Audio (Podcast)

audio_url = client.generate_audio(notebook_id)
print(f"Audio listo: {audio_url}")

Generar Reporte

report = client.generate_report(notebook_id, "briefing")
print(report)

Chat con Fuentes

respuesta = client.chat(notebook_id, "¿Cuáles son los puntos principales?")
print(respuesta)

CLI

# Login
python notebooklm_local.py login

# Listar
python notebooklm_local.py list

# Crear
python notebooklm_local.py create "Mi Notebook"

# Agregar fuente
python notebooklm_local.py add <notebook-id> --type url --content "https://..." --title "Título"

# Generar audio
python notebooklm_local.py audio <notebook-id>

# Chat
python notebooklm_local.py chat <notebook-id> "Pregunta"

Notas

  • La sesión se guarda en ~/.openclaw/notebooklm_session.json
  • Si la sesión expira, ejecuta login nuevamente
  • No usa API oficial (no existe), usa autenticación de browser

Categories