Generate synthetic consumers and their weekly purchase history using AI. Create synthetic data with detailed profiles, shopping habits, and consistent spending patterns.
This repository has been archived on 2026-03-21. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 95.7%
  • Dockerfile 2.5%
  • CSS 1.4%
  • Shell 0.3%
  • JavaScript 0.1%
Find a file
2026-01-22 17:40:09 +00:00
.gitea/workflows fix: correct infrastructure path 2026-01-22 17:40:09 +00:00
.github/workflows Vercel ai gateway (#10) 2025-10-11 15:07:54 +02:00
.husky feat: convert to nextjs 2024-12-07 07:45:24 +01:00
app feat: add analytics 2026-01-22 18:34:55 +01:00
components fix: correct handling of claude response 2025-09-28 17:16:29 +08:00
context/toast feat: convert to nextjs 2024-12-07 07:45:24 +01:00
public chore: replace favicon 2025-01-18 22:17:09 +01:00
utils fix: tweak llama usage 2026-01-19 20:36:13 +01:00
.dockerignore feat: switch to llama on ovh 2026-01-19 20:06:09 +01:00
.env.example feat: switch to llama on ovh 2026-01-19 20:06:09 +01:00
.eslintrc.json feat: convert to nextjs 2024-12-07 07:45:24 +01:00
.gitattributes feat: base code 2024-11-23 23:48:25 +01:00
.gitignore fix: correct handling of claude response 2025-09-28 17:16:29 +08:00
.prettierrc feat: base code 2024-11-23 23:48:25 +01:00
.yarnrc.yml feat: base code 2024-11-23 23:48:25 +01:00
commitlint.config.ts feat: base code 2024-11-23 23:48:25 +01:00
Dockerfile feat: switch to llama on ovh 2026-01-19 20:06:09 +01:00
LICENSE Initial commit 2024-11-23 21:27:23 +01:00
next-env.d.ts fix: correct handling of claude response 2025-09-28 17:16:29 +08:00
next.config.ts feat: switch to llama on ovh 2026-01-19 20:06:09 +01:00
package-lock.json fix: use npm install 2026-01-19 20:27:58 +01:00
package.json feat: switch to llama on ovh 2026-01-19 20:06:09 +01:00
postcss.config.js feat: convert to nextjs 2024-12-07 07:45:24 +01:00
README.md Vercel ai gateway (#10) 2025-10-11 15:07:54 +02:00
tailwind.config.ts feat: convert to nextjs 2024-12-07 07:45:24 +01:00
tsconfig.json Vercel ai gateway (#10) 2025-10-11 15:07:54 +02:00
vercel.json chore: replace favicon 2025-01-18 22:17:09 +01:00
yarn.lock fix: use npm install 2026-01-19 20:27:58 +01:00

Synthetic Consumers Data Generator

A NextJS application that makes use of Anthropic models via Vercel AI Gateway to generate synthetic consumers and their weekly purchase history. For creating synthetic datasets for retail/e-commerce applications with believable user behaviors and spending patterns.

🌟 Features

  • Generate detailed synthetic consumers including:
    • Consumer demographics and household details
    • Daily routines and activities
    • Shopping preferences and brand loyalties
    • Financial patterns and spending habits
    • Contextual behaviors and upcoming events
  • Create realistic weekly purchase histories that match consumer profiles

🚀 Getting Started

  1. Install dependencies:
yarn install
  1. Set up your environment variables:
cp .env.example .env
  1. Build and start the application:
yarn build
yarn start

For development:

yarn dev

🛠️ Available Scripts

  • yarn start - Start the production server
  • yarn dev - Start development server with hot reload
  • yarn build - Build the TypeScript project
  • yarn lint - Run ESLint with automatic fixes
  • yarn format - Format code using Prettier
  • yarn typecheck - Check TypeScript types
  • yarn prepare - Install husky
  • yarn audit - Run audit
  • yarn vercel:link - Link Vercel project
  • yarn vercel:env - Pull .env from Vercel

⚠️ Disclaimer

The consumers and purchase histories generated by this tool are fictional and should not be used as real user data. They are intended for testing and development purposes only.