How meetpateltech/convelyze works
Project type and purpose
• Convelyze is a single-page, client-side analytics dashboard built with Next.js (app router), React, and Tailwind CSS.
• Purpose: let end users upload their ChatGPT export JSON, process it entirely in the browser, and render interactive usage charts, metrics, and timelines.
File structure
• Top-level “app” directory: Next.js pages and layout (dashboard, demo, global CSS).
• “components” directory: UI atoms (shadcn/ui wrappers, buttons, cards), dashboard-specific widgets, footers, theme provider.
• “lib” directory: core data-analysis functions (ChatGPTDataAnalysis.ts, activityData.ts, utils.ts).
• “utils” directory: fileProcessor.ts (parses uploaded JSON), pricing.ts (API cost estimation).
• Config files (next.config.mjs, tailwind.config.ts, tsconfig.json) and Bun lockfile.
• No dedicated backend or database—everything runs in the browser under Next.js’s static hosting.
README for additional insights
• Emphasizes client-side privacy, open-source, and key tech: Next.js, Tailwind, Recharts, react-dropzone, html2canvas, react-confetti.
• Features: file upload flow, data parsing, visualization components, theme toggling, export dashboard as image.