Skip to content

muharamdani/notebooklm-categorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

📚 NotebookLM Project Categorizer

NotebookLM Project Categorizer is a userscript that adds smart category filter buttons to the NotebookLM project list. It detects project titles and automatically groups them into categories like "Tutorial", "Finance", "General", and more.

It also handles Single-Page Application (SPA) navigation seamlessly, no need to reload manually when moving around!


Preview

image image

✨ Features

  • 🗂️ Auto-categorizes your projects based on title keywords
  • 🎛️ Adds a filter button UI above your project list
  • 🚀 Works with NotebookLM’s dynamic SPA navigation
  • 💾 Remembers your last selected filter even after page reloads
  • 🌟 Clean, native-looking design

📥 Installation

  1. Install a userscript manager browser extension (like tampermonkey, Violentmonkey, etc.). I’m using Tampermonkey as the userscript manager. You can install it using the link below:

  2. Create a new userscript:

    • Click the Tampermonkey icon ➔ Create a new script.
  3. Replace the default code with the NotebookLM Project Categorizer script.

  4. Save the script.

  5. Visit https://notebooklm.google.com/.

  6. Done! The category filter buttons will appear automatically when the page loads.


⚙️ How It Works

  • Auto-detection: Based on project titles and keywords
  • Real-time updating: Listens for dynamic page changes with arrive.js
  • Styling: Lightweight custom CSS for clean, minimal look
  • Persistence: Saves active filter across sessions using GM_setValue and GM_getValue

❓ FAQ

Q: I don't see any buttons after installing?

A: Make sure:

  • You are on https://notebooklm.google.com/
  • Tampermonkey is active
  • The script is enabled and saved
  • Wait a few seconds if the project list is still loading

Q: Can I change the categories or keywords?

A: Yes! Inside the script, edit the categories section like this:

const categories = {
    'All': [],
    'My Custom Category': ['Keyword1', 'Keyword2'],
    ...
};

🛠️ Contributing

If you have suggestions or improvements, feel free to fork the repo and submit a pull request!


📜 License

MIT License

About

NotebookLM Project Categorizer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published