Skip to content

a searchable sidebar Chrome extension with highlights, navigation, and PDF/Markdown export to ChatGPT.

License

Notifications You must be signed in to change notification settings

BhriguKumarDeka/ChatGPT_PromptNavigate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PromptNavigate (ChatGPT Tree Navigator)

A Chrome Extension that supercharges the ChatGPT interface with a searchable sidebar tree, keyword navigation, and professional PDF/Markdown export tools.

Version License

Features

  • Tree Sidebar: Automatically generates a navigable index of all user prompts in the current conversation.
  • Search & Highlight: Real-time search that highlights keywords in both prompts and answers, with Ctrl+F style navigation (Next/Prev).
  • Smart Layout: Automatically resizes the ChatGPT interface so the sidebar never overlaps the chat text or input bar.
  • Export Chat:
    • PDF: Clean, minimalist document export (via bundled html2pdf.js) with smart page breaking.
    • Markdown: Formatted text export perfect for developer documentation.
  • Theme Aware: Seamlessly adapts to ChatGPT's Light and Dark modes.
  • Floating Toggle: A non-intrusive handle to collapse/expand the sidebar.

Installation

Option 1: Stable Release (Recommended for Users)

  1. Go to the Releases page of this repository.
  2. Download the latest .zip file (e.g., PromptNavigate-v1.0.zip).
  3. Unzip the file to a folder on your computer.
  4. Open Chrome and go to chrome://extensions.
  5. Enable Developer mode (top right switch).
  6. Click Load unpacked and select the unzipped folder.

Option 2: From Source (For Developers)

  1. Clone this repository:
    git clone https://github.com/YOUR_USERNAME/PromptNavigate.git
  2. Follow steps 4-6 above, selecting the cloned repository folder.

Usage

  1. Open chatgpt.com (or chat.openai.com).
  2. The Sidebar will appear automatically on the right.
  3. Search: Type in the sidebar input to filter prompts. Use the Up/Down arrows to jump between keyword occurrences in the chat.
  4. Export: Click "Export Chat", select specific prompts (or "Select All"), and choose PDF or Markdown.
  5. Toggle: Click the arrow tab on the right edge of the screen to collapse the sidebar when not in use.

Development Notes

  • Manifest V3: Built using the latest Chrome Extension standards.
  • Security: Uses a local copy of html2pdf.bundle.min.js (no remote CDNs) to comply with browser security policies.
  • Styling: Uses pure CSS variables for theming and calc() for dynamic layout adjustments.
  • Permissions: Minimal (storage; activeTab only if you keep it) and used only for saving user preferences / page context access.

How to Build (For Maintainers)

To create a clean distribution zip (excluding Git history and system files), run one of the following commands in your terminal:

Windows (PowerShell):

Compress-Archive -Path manifest.json, content.js, styles.css, html2pdf.bundle.min.js, README.md, icons -DestinationPath PromptNavigate.zip -Force

macOS/Linux (zip):

zip -r PromptNavigate.zip manifest.json content.js styles.css html2pdf.bundle.min.js README.md icons

After zipping, unzip to a fresh folder and load it via Load unpacked to verify the archive works end-to-end.

Contributing

  • Keep changes focused (content script, styles, manifest); avoid expanding permissions unless necessary.
  • Test on chatgpt.com and chat.openai.com in both light and dark modes.
  • Follow concise commit messages and verify exports (PDF/Markdown) before opening PRs.

License

This project is licensed under the MIT License. See LICENSE for details.

About

a searchable sidebar Chrome extension with highlights, navigation, and PDF/Markdown export to ChatGPT.

Resources

License

Stars

Watchers

Forks

Packages

No packages published