Skip to content

Milor123/notebooklm-unified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotebookLM Unified Workflow

Unifies, cleans and converts NotebookLM presentations in a single step.

Python License: MIT

What does it do?

This script automates the entire NotebookLM presentation cleaning process:

  1. Merges multiple PPTX files into one
  2. Converts to lossless PDF
  3. Removes NotebookLM watermark
  4. Converts back to clean PPTX
imagen

Why this project?

NotebookLM generates presentations with a maximum of 15 slides per file. For longer documents, you end up with multiple PPTXs that need to be:

  • Merged into one
  • Converted to PDF
  • Cleaned from watermark
  • Converted back to PPTX

This script does ALL of that with a single command.

Installation

# Clone the repository
git clone https://github.com/Milor123/notebooklm-unified.git
cd notebooklm-unified

# Install dependencies (or the script will auto-install them)
pip install -r requirements.txt

Usage

# Process all PPTXs in current directory
python workflow.py

# Specify input folder
python workflow.py --input "C:\Downloads\presentations"

# Custom output filename
python workflow.py --output "my_clean_presentation.pptx"

# Debug mode (shows watermark coordinates)
python workflow.py -d

Options

Option Description
-i, --input Input folder or PPTX file
-o, --output Output filename (default: presentacion_limpia.pptx)
-v, --verbose Verbose mode
-d, --debug Debug: shows watermark coordinates

Example

# Let's say you have:
# part1.pptx (15 slides)
# part2.pptx (15 slides)
# part3.pptx (10 slides)

python workflow.py --output "complete_presentation.pptx"

# Result: complete_presentation.pptx (40 slides, no watermark)

Requirements

  • Python 3.8+
  • Windows, macOS or Linux

Dependencies are automatically installed the first time you run the script.

How it works

PPTXs (multiple)
    → Merge PPTXs (extract images, maintain order)
    → PDF lossless (img2pdf)
    → Remove watermark (column-by-column sampling algorithm)
    → Clean PPTX (PyMuPDF + python-pptx)

Credits

License

MIT License - see LICENSE


⭐️ If this script was useful to you, consider giving the project a star!

About

Unifies, cleans and converts NotebookLM presentations in a single step. Join multiple PPTXs, remove watermark, output clean PPTX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages