-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
89 lines (75 loc) · 3.66 KB
/
.env.example
File metadata and controls
89 lines (75 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# ==============================================
# DATABASE - SUPABASE
# ==============================================
# Get from: https://supabase.com/dashboard/project/_/settings/database
# Transaction mode (for Prisma Migrate) - Port 5432
DIRECT_URL="postgresql://postgres.[PROJECT-REF]:[YOUR-PASSWORD]@aws-0-ap-southeast-1.pooler.supabase.com:5432/postgres"
# Session mode (for queries via PgBouncer) - Port 6543
DATABASE_URL="postgresql://postgres.[PROJECT-REF]:[YOUR-PASSWORD]@aws-0-ap-southeast-1.pooler.supabase.com:6543/postgres?pgbouncer=true"
# ==============================================
# AI MODELS
# ==============================================
# HuggingFace API (with Inference Provider permission)
# Get from: https://huggingface.co/settings/tokens
HUGGINGFACE_API_KEY="hf_xxxxxxxxxxxxxxxxxxxx"
# Groq API (optional, for LLM analysis)
# Get from: https://console.groq.com/keys
GROQ_API_KEY="gsk_xxxxxxxxxxxxxxxxxxxx"
# ==============================================
# EXTERNAL SERVICES
# ==============================================
# VirusTotal API (optional, for malware/phishing detection)
# Get from: https://www.virustotal.com/gui/my-apikey
# Free tier: 500 requests/day, 4 requests/minute
VIRUSTOTAL_API_KEY="your_virustotal_api_key_here"
# ==============================================
# AUTHENTICATION (NextAuth.js)
# ==============================================
NEXTAUTH_URL="https://maitamsite.site"
NEXTAUTH_SECRET="your-nextauth-secret-here-generate-with-openssl-rand-base64-32"
# OAuth Providers (Optional)
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# ==============================================
# STRIPE PAYMENT
# ==============================================
STRIPE_SECRET_KEY="sk_test_xxxxx"
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_xxxxx"
STRIPE_WEBHOOK_SECRET="whsec_xxxxx"
# Price IDs (create these in Stripe Dashboard)
NEXT_PUBLIC_STRIPE_PRO_PRICE_ID="price_xxxxx"
NEXT_PUBLIC_STRIPE_BUSINESS_PRICE_ID="price_xxxxx"
# ==============================================
# TELEGRAM BOT
# ==============================================
# Create bot via @BotFather on Telegram
# Then set webhook: https://api.telegram.org/bot<TOKEN>/setWebhook?url=https://anti-scam-kappa.vercel.app/api/telegram/webhook
TELEGRAM_BOT_TOKEN="your_telegram_bot_token_here"
# ==============================================
# APP CONFIGURATION
# ==============================================
NEXT_PUBLIC_APP_URL="https://maitamsite.site"
NEXT_PUBLIC_APP_NAME="ANTI-SCAM"
# ==============================================
# ADMIN PANEL
# ==============================================
# Admin Secret (generate a strong random string)
# Use: openssl rand -hex 32
ADMIN_SECRET="12345"
# App URL (update for production)
NEXT_PUBLIC_APP_URL="https://maitamsite.site"
# ==============================================
# FIREBASE
# ==============================================
# Firebase Client SDK (Public - safe to expose)
# Get from: Firebase Console > Project Settings > General > Your apps
NEXT_PUBLIC_FIREBASE_API_KEY="AIzaSyDp4QVyeSlDQxZAjFheyL8yNiLj81_URN0"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="antiscam-a6586.firebaseapp.com"
NEXT_PUBLIC_FIREBASE_PROJECT_ID="antiscam-a6586"
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="antiscam-a6586.firebasestorage.app"
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="742221209310"
NEXT_PUBLIC_FIREBASE_APP_ID="1:742221209310:web:8dea8a64f0fbffeac1ac4f"
# Firebase Admin SDK (Private - keep secret!)
# Get from: Firebase Console > Project Settings > Service Accounts > Generate new private key
# Paste the entire JSON content as a single line string
FIREBASE_SERVICE_ACCOUNT_KEY='{"type":"service_account","project_id":"antiscam-a6586",...}'