Skip to content

About

On-device AI reseller copilot & net profit engine. Generates eBay (80-char), Etsy (13 tags), and Poshmark listings with 100% offline WebGPU vision & Gemma 2.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

2 Commits

Folders and files

Repository files navigation

⚑ SnapToSell

On-Device AI Reseller Copilot & Real-Time Net Profit Engine
Turn thrift and estate sale finds into high-converting, platform-compliant listings across eBay, Etsy, Poshmark, Mercari, and Facebook Marketplace β€” powered 100% locally by open-weight AI.

License: MIT AI: WebGPU ONNX LLM: Ollama Gemma2 Zero Cloud API Costs Offline Privacy


πŸ’‘ The Problem: Listing Fatigue & Commission Blindness

Over 25 million vintage dealers, thrifters, and secondhand resellers face the same tedious bottlenecks:

  1. Listing Fatigue: Writing differentiated descriptions, adhering to eBay's strict 80-character title limit, and researching 13 unique Etsy SEO tags takes 10–15 minutes per item.
  2. Platform Commission Blindness: Calculating actual take-home profit after factoring in eBay final value fees (13.25% + $0.30), Etsy transaction & payment fees, or Poshmark's 20% cut is confusing and error-prone.
  3. Thrift Dead Zones: The best sourcing happens in church basements, estate auctions, and flea markets with zero cellular connectivity.
  4. Cloud API Bills: Paying per-image and per-token cloud API fees eats directly into a reseller's razor-thin side hustle margins.

✨ The Solution: SnapToSell

SnapToSell is a local-first web application engineered from the ground up to solve reseller listing bottlenecks without a single byte leaving the user's laptop.

Key Capabilities

  • πŸ‘οΈ On-Device WebGPU Vision Classification: Inspects item photos directly in the browser via quantized Vision Transformers (Xenova/vit-base-patch16-224 ONNX runtime). Detects category, materials, and vintage aesthetics in ~40ms with 0KB network transfer.
  • ✍️ Multi-Platform AI Copywriter:
    • eBay: Clamped to strict 80-character title limits with high-traffic keyword stacking and item specifics.
    • Etsy: Evocative storytelling narrative, tactile materials, styling tips, and exactly 13 targeted search tags with 1-click copy.
    • Poshmark: Catchy title with emoji, closet description, and hashtag bundle.
    • Mercari & FB Marketplace: Direct, punchy descriptions for local and quick sales.
  • πŸ’° Real-Time 2026 Fee & Net Profit Engine:
    • Side-by-side comparison across eBay, Etsy, Poshmark, Mercari, and Facebook Marketplace.
    • Computes net in-pocket profit, fee breakdowns, profit margin %, and ROI % based on your buy cost and shipping.
    • Highlights the Top Payout platform dynamically.
    • One-click break-even, 30% margin, and 50% margin pricing shortcuts.
  • πŸ“¦ Local-First Inventory Ledger:
    • Tracks sourced inventory items and projected profits in browser storage.
    • One-click CSV export compatible with Excel, Google Sheets, and cross-listing software.
  • πŸ”Œ Open-Weight LLM Bridge + Heuristic Fallback:
    • Connects to local Ollama models (gemma2:2b, qwen2.5:3b, trailwhisper, llama3.2:3b).
    • Seamlessly falls back to an offline rule-based heuristic commerce engine if Ollama is paused.

🧠 Why Open Innovation Matters

Dimension Cloud SaaS Competitors (OpenAI / Claude API) SnapToSell (Open-Weight AI)
Running Cost $15–$50/month in API or subscription bills $0.00 forever β€” runs entirely on local compute
Offline Capability Fails completely in basements & dead zones 100% Functional in airplane mode / flea markets
Sourcing Privacy Uploads secret suppliers, costs, and inventory 0KB Uploaded β€” wholesale secrets never leave your device
Model Customization Vendor locked; arbitrary policy changes Custom Modelfile tuned for eBay SEO & Etsy tags
Platform Lock-in Single vendor dependency Swap freely between Gemma 2, Qwen 2.5, Llama 3.2

πŸ› οΈ Architecture & Tech Stack

                                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                  β”‚      SnapToSell UI        β”‚
                                  β”‚   (Vite + React 19)       β”‚
                                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                 β”‚                              β”‚                              β”‚
                 β–Ό                              β–Ό                              β–Ό
      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”‚   On-Device Vision   β”‚      β”‚   Local LLM Bridge   β”‚      β”‚  Fee & Profit Engine β”‚
      β”‚  @huggingface/       β”‚      β”‚  Ollama (/ollama)    β”‚      β”‚  2026 Schedules:     β”‚
      β”‚  transformers        β”‚      β”‚  gemma2:2b / qwen    β”‚      β”‚  eBay, Etsy, Posh,   β”‚
      β”‚  WebGPU / WASM SIMD  β”‚      β”‚  + Offline Fallback  β”‚      β”‚  Mercari, FB Market  β”‚
      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚                              β”‚                              β”‚
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                β”‚
                                                β–Ό
                                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                  β”‚  Local Inventory Ledger   β”‚
                                  β”‚   (LocalStorage + CSV)    β”‚
                                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Frontend: React 19, Vite, Tailwind CSS v4, Lucide Icons, Canvas Confetti.
  • Vision Engine: Transformers.js ONNX runtime running Xenova/vit-base-patch16-224 via WebGPU / WASM SIMD.
  • Language Models: Ollama (gemma2:2b, qwen2.5:3b, llama3.2:3b) via Vite reverse proxy /ollama.
  • Fee Engine: Deterministic financial model modeling exact 2026 fee schedules.

πŸš€ Quick Start

1. Clone & Install Dependencies

git clone https://github.com/Abhinav-Shrivas/Side-Hustle.git
cd Side-Hustle
npm install

2. (Optional) Run Local Ollama with Custom Modelfile

If you have Ollama installed, build the tuned eCommerce copywriting agent:

ollama create snaptosell -f Modelfile
ollama run snaptosell

(If Ollama is not installed, SnapToSell automatically uses its built-in offline heuristic commerce engine.)

3. Run the Test Suite

Verify fee calculation algorithms and offline listing generators:

npm test

4. Start Development Server

npm run dev

Open http://localhost:5174 in any modern browser (Chrome, Edge, Brave).


πŸ“‹ Preset Testing Guide

Don't have vintage items at your desk? Use the built-in curated presets:

  1. 90s Vintage Leather Bomber: Tests eBay 80-character clamping and distressed outerwear styling.
  2. MCM Fat Lava Studio Vase: Tests Etsy 13-tag generation and mid-century modern aesthetic storytelling.
  3. 1978 SLR Film Camera: Tests vintage tech specs and optical lens keywords.
  4. Y2K Graphic Band Tee: Tests streetwear hashtags and single-stitch collector tags.
  5. Vintage Hand-Woven Wool Rug: Tests textile provenance and home decor profit margins.

πŸ“„ License

This project is licensed under the MIT License.

About

On-device AI reseller copilot & net profit engine. Generates eBay (80-char), Etsy (13 tags), and Poshmark listings with 100% offline WebGPU vision & Gemma 2.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages