Files

Project Thoth Capture

This folder contains a minimal Manifest V3 browser extension skeleton for Chrome and Edge.

Local installation

  1. Open Chrome or Edge.
  2. Navigate to chrome://extensions or edge://extensions.
  3. Enable "Developer mode".
  4. Click "Load unpacked".
  5. Select the applications/chatgpt-capture folder in this repository.

Current behavior

  • The toolbar button is visible in the browser toolbar.
  • Clicking it checks whether the active tab is a ChatGPT page.
  • On a supported ChatGPT tab, the extractor runs in the page context and sends a capture payload back to the service worker.
  • On unsupported tabs, the extension logs a simple warning and does not inject the script.
  • Future extraction logic can be expanded in src/chatgptExtractor.js and src/background.js.

How to test against a live ChatGPT page

  1. Load the unpacked extension from this folder in Chrome or Edge developer mode.
  2. Open a real ChatGPT conversation in a tab.
  3. Open the extension's service worker console:
    • Visit chrome://extensions or edge://extensions.
    • Find "Project Thoth Capture" and click "service worker" or "inspect views".
  4. Click the extension toolbar button while the ChatGPT tab is active.
  5. Inspect the console for:
    • ChatGPT extractor payload:
    • Received capture payload:
  6. If the page is detected as a conversation, the payload should include title, url, capturedAt, and messages.
    • If no messages are found, the payload will include an error field instead.