deckhearth/pages/api/cards
Randall Stillwell f94dc58c99 feat(scanner): AI Gateway vision + Layer-1 Tesseract/pg_trgm OCR
Route Layer-2 identification through Vercel AI Gateway (AI_GATEWAY_API_KEY,
default google/gemini-2.5-flash-lite). Add Layer-1 browser Tesseract name-strip
OCR with pg_trgm fuzzy catalog match via /api/cards/identify-by-text before
escalating to vision.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 12:58:16 -05:00
..
[id] fix(security): drop wildcard CORS + redundant OPTIONS from 24 API routes (P0 #5) 2026-05-24 20:41:38 -05:00
[id].js Created comprehensive admin card editor 2025-07-24 15:16:57 -05:00
find-or-create.js feat(scanner): server-side scan pipeline (convoy #2) (#35) 2026-05-27 08:47:05 -05:00
identify-by-text.js feat(scanner): AI Gateway vision + Layer-1 Tesseract/pg_trgm OCR 2026-05-27 12:58:16 -05:00
import-lorcana.js feat(brand): unify on Deck Hearth across in-repo strings + infra (P1 brand decision) 2026-05-25 02:28:29 -05:00
import-mtg.js feat(security): rate-limit search/upload/import + gate import routes (P0 #6 - closes last P0) 2026-05-24 22:59:59 -05:00
import-pokemon.js feat(brand): unify on Deck Hearth across in-repo strings + infra (P1 brand decision) 2026-05-25 02:28:29 -05:00
owned.js fix(security): drop wildcard CORS + redundant OPTIONS from 24 API routes (P0 #5) 2026-05-24 20:41:38 -05:00
search.js feat(security): rate-limit search/upload/import + gate import routes (P0 #6 - closes last P0) 2026-05-24 22:59:59 -05:00