CoolFace
Apppublic

XAUUSDAITradingBot/PitchForge_v3

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
App README

⚡ PitchForge v3 — AI Cold Email Generator

7 free emails/month. Upgrade via Stripe for unlimited access.

Version Groq Gemini Stripe

✨ What's New in v3

  • —✅ 7 free emails/month — device fingerprint enforced
  • —✅ Stripe payments — $19/$49/$149/mo plans
  • —✅ Email history — save, copy, download, delete
  • —✅ Usage stats — Groq count, Gemini count, days active
  • —✅ Blur upgrade overlay — appears when free tier exhausted
  • —✅ SQLite database — persisted in /data volume

🔑 HuggingFace Secrets Required

SecretSource
GROQ_API_KEYconsole.groq.com
GEMINI_API_KEYaistudio.google.com
STRIPE_SECRET_KEYStripe Dashboard → API Keys
STRIPE_WEBHOOK_SECRETStripe Dashboard → Webhooks
STRIPE_PRICE_STARTERStripe Dashboard → Products → Starter price ID
STRIPE_PRICE_PROStripe Dashboard → Products → Pro price ID
STRIPE_PRICE_AGENCYStripe Dashboard → Products → Agency price ID
APP_URLYour HF Space URL e.g. https://user-pitchforge.hf.space

💳 Stripe Setup (5 minutes)

  1. 1.Go to dashboard.stripe.com
  2. 2.Products → Create 3 products:
  3. 3.Starter — $19/month recurring
  4. 4.Pro — $49/month recurring
  5. 5.Agency — $149/month recurring
  6. 6.Copy each Price ID (starts with price_) → add to HF Secrets
  7. 7.Webhooks → Add endpoint: https://YOUR-SPACE.hf.space/api/stripe/webhook
  8. 8.Events: checkout.session.completed, customer.subscription.deleted
  9. 9.Copy Webhook signing secret → STRIPE_WEBHOOK_SECRET

💻 Run Locally

bash
npm install
cp .env.example .env   # fill in all keys
npm start
# open http://localhost:7860

📁 Structure

├── Dockerfile
├── server.js      ← Express + all API routes
├── db.js          ← SQLite schema + helpers
├── package.json
└── public/
    ├── index.html ← Full UI with history + upgrade overlay
    ├── app.js     ← Fingerprint + usage + streaming + history
    ├── manifest.json
    └── sw.js

💰 Plans

PlanPriceLimit
Free$07/month
Starter$19/mo200/month
Pro$49/mo1,000/month
Agency$149/moUnlimited

MIT License