Skip to content
View SlabStak's full-sized avatar

Block or report SlabStak

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
slabstak/README.md

SlabStak ⚑

AI-powered trading card intelligence platform for collectors, flippers, and dealers.

CI


πŸš€ Status: v1 Build Complete

All core features implemented, tested, and production-ready.

See BUILD_COMPLETE.md for full details.


✨ Features

Core Functionality

  • πŸ” AI Card Scanning - Upload images, get instant identification and valuation
  • πŸ’Ž Digital Vault - Organize and track your collection
  • πŸ“Š Market Data - Real-time pricing via eBay API + manual tracking
  • πŸ€– AI Listing Generator - Create optimized listings for eBay, PWCC, WhatNot, COMC
  • πŸ“ˆ Dealer Tools - Show tracking, P&L calculations, inventory management
  • πŸ“₯ CSV Import/Export - Bulk import existing collections

Platform Features

  • πŸ” Authentication & user profiles
  • πŸ’³ Stripe subscription billing (Free + Pro tiers)
  • πŸ“§ Email notifications (welcome, confirmations, summaries)
  • πŸ“Š Analytics & event tracking
  • πŸ‘¨β€πŸ’Ό Admin dashboard with user/card moderation
  • πŸ₯ System health monitoring

πŸ› οΈ Tech Stack

Frontend

  • Next.js 14.2.33 (App Router) with React 18 & TypeScript
  • Tailwind CSS for styling
  • Supabase for auth, database, storage
  • Stripe for payments
  • Jest + React Testing Library

Backend

  • FastAPI (Python 3.9+) with async/await
  • OpenAI GPT-4 for AI card identification & listing generation
  • Pytesseract for OCR text extraction
  • Resend for email delivery
  • eBay Finding API for market data
  • pytest with asyncio support

Infrastructure

  • Database: Supabase (PostgreSQL) with Row Level Security
  • Storage: Supabase Storage for card images
  • CI/CD: GitHub Actions
  • Deployment: Vercel (frontend) + Railway/Docker (backend)

πŸš€ Quick Start

Option 1: View UI Only (No Setup)

cd frontend
npm install
npm run dev

Visit http://localhost:3000 to see the interface.

(Features requiring backend/database won't work yet)

Option 2: Full Setup

See QUICKSTART.md for a 3-step local setup guide.

For complete instructions: docs/SETUP_GUIDE.md


πŸ“ Project Structure

slabstak/
β”œβ”€β”€ backend/              # FastAPI backend
β”‚   β”œβ”€β”€ main.py          # API endpoints
β”‚   β”œβ”€β”€ services/        # Business logic (market data, AI, email)
β”‚   └── tests/           # pytest test suite
β”œβ”€β”€ frontend/            # Next.js frontend
β”‚   └── src/
β”‚       β”œβ”€β”€ app/         # Pages & API routes
β”‚       β”œβ”€β”€ components/  # React components
β”‚       └── lib/         # Utilities
β”œβ”€β”€ database/            # SQL migrations
β”œβ”€β”€ docs/                # Documentation
└── .github/workflows/   # CI/CD

πŸ“– Documentation


πŸ§ͺ Testing

Backend

cd backend
pytest tests/ -v -m "not ai"        # Run all tests except AI tests
pytest tests/ --cov=services         # With coverage

Frontend

cd frontend
npm test                             # Run all tests
npm run test:coverage                # With coverage

Current Coverage: 55% backend services, 100% frontend components tested


πŸ’° Subscription Tiers

Free

  • 10 card vault limit
  • Basic scanning & valuation
  • Manual market data entry

Pro ($29.99/month)

  • Unlimited vault storage
  • AI listing generator (all platforms)
  • Dealer show tracking
  • CSV import/export
  • Priority support

πŸ” Environment Variables

Backend (.env)

OPENAI_API_KEY=sk-...
ASSISTANT_ID=asst_...
RESEND_API_KEY=re_...
EBAY_APP_ID=...
ALLOWED_ORIGIN=http://localhost:3000

Frontend (.env.local)

NEXT_PUBLIC_SUPABASE_URL=https://....supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=...
SUPABASE_SERVICE_ROLE_KEY=...
NEXT_PUBLIC_BACKEND_SCAN_URL=http://localhost:8000/scan
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...

See .env.example files for complete configuration.


🀝 Contributing

This is a production SaaS application. Contributions should:

  • Include tests
  • Follow existing code style
  • Update documentation
  • Pass CI/CD checks

πŸ“„ License

Proprietary - All rights reserved


🎯 Roadmap

v1.0 (COMPLETE) βœ…

  • Core scanning & valuation
  • Collection management
  • AI listing generator
  • Dealer tools
  • Subscriptions
  • Admin dashboard
  • Email notifications
  • Analytics
  • CSV import/export

v1.1 (Future)

  • Advanced analytics dashboard with charts
  • Additional marketplace integrations (TCGPlayer, 130point)
  • Mobile app (React Native)
  • Social features (profile sharing, trades)

πŸ™ Acknowledgments

  • OpenAI for GPT-4 API
  • Supabase for backend infrastructure
  • Stripe for payment processing
  • Vercel for hosting

Built with Claude Code

For support: GitHub Issues

Popular repositories Loading

  1. slabstak slabstak Public

    SlabStack

    Python 2

  2. murphbecktech murphbecktech Public

    TypeScript

  3. PromptMaster PromptMaster Public

    Prompt Master is the AI communication RPG. Master prompting (Clarity, Constraints, Context) via 200+ challenges. Earn gear for your avatar (Ready Player One style) in high-stakes Nexus Quests. Lose…

    TypeScript