Skip to content

gitpush-gitpaid/chat-wraPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat WraPT

Turn your ChatGPT export into a Wrapped-style story. Drag-and-drop the ChatGPT export zip, the Bun server ingests it into SQLite, and the Vite/React frontend renders slides and charts. Licensed under GPL-3.0. Repo: https://github.com/gitpush-gitpaid/chat-wrapt

Stack

  • Frontend: Vite + React + Tailwind + shadcn UI + Recharts
  • Server: Bun server + SQLite (bun:sqlite) + streaming ingest (unzipper + stream-json)
  • AI path (optional): Vercel AI SDK + OpenAI key from server env

Run locally

Prereqs: Bun installed.

Quick start (from repo root):

bun run wrap:me

This installs root + subproject deps and starts the server and frontend together.

Env (optional, for AI mode):

cp .env.example .env
# place .env at repo root (or .env.local) and set OPENAI_API_KEY to enable AI-generated summaries/slides

Screenshots

Landing page Wrapped slide

Getting your ChatGPT export

  1. In ChatGPT, click your name/avatar (bottom left).
    ChatGPT bottom-left menu
  2. Open Data controls → Export data, click Export, then download the emailed .zip.
    ChatGPT data controls export button
  3. Drag the .zip into Chat wraPT.

Server:

cd server
bun install
bun run dev  # listens on http://localhost:3001

Frontend:

cd frontend
bun install
bun dev  # http://localhost:5173

Uploads: POST to /api/process with file (.zip). Max ~1GB by default (tune via MAX_UPLOAD_MB). Data is stored in server/data/chatwrapt.db (ignored by git).

License

Licensed under the GNU GPL v3.0. Forks/clones and contributions are welcome under the same license. See LICENSE.

Notes

  • History of uploads is stored in localStorage for quick access.
  • Year filtering is backed by message-year column in SQLite; large exports are streamed during ingest.

chat-wrapt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages