XAUUSDAITradingBot/PitchForge_v3
0
⚡ PitchForge v3 — AI Cold Email Generator
7 free emails/month. Upgrade via Stripe for unlimited access.
✨ 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
💳 Stripe Setup (5 minutes)
- Go to dashboard.stripe.com
- Products → Create 3 products:
- Starter — $19/month recurring
- Pro — $49/month recurring
- Agency — $149/month recurring
- Copy each Price ID (starts with
price_) → add to HF Secrets - Webhooks → Add endpoint:
https://YOUR-SPACE.hf.space/api/stripe/webhook - Events:
checkout.session.completed,customer.subscription.deleted - Copy Webhook signing secret →
STRIPE_WEBHOOK_SECRET
💻 Run Locally
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
MIT License
