A Chrome Extension that supercharges the ChatGPT interface with a searchable sidebar tree, keyword navigation, and professional PDF/Markdown export tools.
- 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+Fstyle 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.
- PDF: Clean, minimalist document export (via bundled
- Theme Aware: Seamlessly adapts to ChatGPT's Light and Dark modes.
- Floating Toggle: A non-intrusive handle to collapse/expand the sidebar.
- Go to the Releases page of this repository.
- Download the latest
.zipfile (e.g.,PromptNavigate-v1.0.zip). - Unzip the file to a folder on your computer.
- Open Chrome and go to
chrome://extensions. - Enable Developer mode (top right switch).
- Click Load unpacked and select the unzipped folder.
- Clone this repository:
git clone https://github.com/YOUR_USERNAME/PromptNavigate.git
- Follow steps 4-6 above, selecting the cloned repository folder.
- Open chatgpt.com (or chat.openai.com).
- The Sidebar will appear automatically on the right.
- Search: Type in the sidebar input to filter prompts. Use the Up/Down arrows to jump between keyword occurrences in the chat.
- Export: Click "Export Chat", select specific prompts (or "Select All"), and choose PDF or Markdown.
- Toggle: Click the arrow tab on the right edge of the screen to collapse the sidebar when not in use.
- 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.
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 -ForcemacOS/Linux (zip):
zip -r PromptNavigate.zip manifest.json content.js styles.css html2pdf.bundle.min.js README.md iconsAfter zipping, unzip to a fresh folder and load it via Load unpacked to verify the archive works end-to-end.
- 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.
This project is licensed under the MIT License. See LICENSE for details.