No description
  • TypeScript 98.4%
  • JavaScript 1.6%
Find a file
2026-03-08 20:55:51 +01:00
.forgejo/workflows ci: fix context variables, use github.* instead of gitea.* 2026-03-08 20:50:12 +01:00
.github/workflows ci: add GitHub Actions release workflow 2026-03-08 20:55:51 +01:00
public refactor: rename project from DownloadGPT to GrePt 2026-03-05 12:51:44 +01:00
src chore: add MPL-2.0 license 2026-03-05 13:04:02 +01:00
.gitignore first commit 2026-02-22 00:41:36 +01:00
.prettierrc.json first commit 2026-02-22 00:41:36 +01:00
eslint.config.js first commit 2026-02-22 00:41:36 +01:00
IDEAS.md refactor: remove ideas from readme and put them in ideas.md 2026-03-05 12:54:42 +01:00
LICENSE chore: add MPL-2.0 license 2026-03-05 13:04:02 +01:00
package-lock.json using libreChat format export 2026-02-22 01:56:22 +01:00
package.json chore: add MPL-2.0 license 2026-03-05 13:04:02 +01:00
README.md ci: add Forgejo release action and update README with releases section 2026-03-08 16:49:05 +01:00
tsconfig.json first commit 2026-02-22 00:41:36 +01:00
vite.config.ts first commit 2026-02-22 00:41:36 +01:00

GrePt

grep your AI conversations and export them. ChatGPT today, more sources soon.

Releases

Pre-built releases are available on the Releases page.

  1. Download the latest grept-vX.Y.Z.zip
  2. Unzip it — you'll get a dist/ folder
  3. Load it as an unpacked extension (see Testing in the browser)

Releases are published automatically when a new version tag is pushed.

Local development

npm install
npm run lint
npm run typecheck
npm run test
npm run build

Single-test examples

npx vitest run src/shared/sanitize-file-name.test.ts
npx vitest run -t "falls back when the title has no valid characters"

Testing in the browser

Browser support: Chromium-based browsers (Chrome, Edge, Brave, etc.). Firefox support is in progress.

  1. Build the extension:

    npm run build
    

    Or use watch mode during development to rebuild on file changes:

    npm run dev
    
  2. Load the extension in Chrome/Chromium:

    • Open chrome://extensions
    • Enable Developer mode (toggle in the top right)
    • Click Load unpacked and select the dist/ folder
  3. Run it:

    • Navigate to any ChatGPT conversation page (chatgpt.com)
    • Click the extension icon in the toolbar
    • It downloads grept-chats.json
  4. After rebuilding: click the refresh icon on the extension card in chrome://extensions to pick up changes.

Extension output

  • The JSON output follows an Open WebUI-native import format (chat objects in an array).
  • In Open WebUI, import from Settings -> Data Controls -> Import Chats.
  • The exporter is DOM-based, so it can mark exports as partial when the page appears not fully loaded.
  • Currently targets ChatGPT (chatgpt.com). Support for additional AI chat sources is planned.