From 9f1add1ce762671db17258d11bd9316c1a4e970c Mon Sep 17 00:00:00 2001 From: Cody LeCates Date: Wed, 18 Nov 2026 17:48:37 -0700 Subject: [PATCH] Document the CardCap technology stack and extraction models --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2ad4c33..ca7db03 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,17 @@ The dashboard shows recent imports, processing activity, errors, and contacts th Choose **Use email link** for a one-time sign-in link. If you prefer a password, sign in once and choose **Account → Set password**. -## Project - -CardCap uses React and TypeScript on Cloudflare Workers. Workers AI extracts contact details, D1 stores contacts, and R2 stores card images. +## Technology stack + +| Component | Technology and purpose | +| --- | --- | +| Photo extraction | Cloudflare Workers AI runs Meta’s `@cf/meta/llama-4-scout-17b-16e-instruct` to extract names, companies, titles, and contact details from business card photos. | +| Text extraction | Cloudflare Workers AI runs Meta’s `@cf/meta/llama-3.3-70b-instruct-fp8-fast` to turn email signatures, pasted text, and website content into structured contacts. | +| Website lookup | Cloudflare Browser Run reads business websites and linked contact pages before text extraction. | +| Web interface | React, TypeScript, CSS, and Vite power the dashboard and contact editor. | +| Hosting and API | Cloudflare Workers serves the app and handles API requests. | +| Storage | Cloudflare D1 stores contacts and import history. Cloudflare R2 stores card photos. | +| Sign-in | Cloudflare Email Service delivers sign-in links. Turnstile and Workers rate limiting protect sign-in requests. | +| Development and delivery | Node.js and npm run the toolchain. ESLint, Vitest, Miniflare, and Playwright check the code and app behavior. GitHub Actions runs CI, and the Cloudflare CLI deploys the app. | [Contacts and exports](docs/contacts.md) · [Local development](docs/development.md) · [Deployment](DEPLOYMENT.md)