-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy path.env.local.example
121 lines (106 loc) · 4.69 KB
/
.env.local.example
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Supabase Public (Required)
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# Supabase Private (Required)
SUPABASE_SERVICE_ROLE_KEY=
# API Keys (Required)
# For Plugins, PGPT-Small and PGPT-Large, Enhance Search, Moderation
OPENROUTER_API_KEY=
# For PGPT-Small and PGPT-Large
MISTRAL_API_KEY=
# For PentestGPT-4o
OPENAI_API_KEY=
# LLMs (Required)
# PGPT-Small
OPENROUTER_PENTESTGPT_DEFAULT_MODEL=deepseek/deepseek-chat
# PGPT-Large
OPENROUTER_PENTESTGPT_PRO_MODEL=mistral-large-2411
# For Enhance Search
OPENROUTER_STANDALONE_QUESTION_MODEL=mistral-small-2409
# System Prompts (Optional)
# For PGPT-Small, PGPT-Large
SECRET_PENTESTGPT_SYSTEM_PROMPT=
# For PentestGPT-4o, Plugins
SECRET_OPENAI_SYSTEM_PROMPT=
# For Enhance Search
# RAG_SYSTEM_PROMPT=Given the following conversation, relevant context, and a follow-up question, reply with an answer to the current question the user is asking. In your response, focus on providing comprehensive and accurate information, adhering to the user's instructions. Avoid including direct links if there's a possibility of broken links or references to local files. Instead, describe the resources or methods in detail, enabling the user to locate them through their own searches if necessary.
# General Configuration (Optional)
# EMAIL_DOMAIN_WHITELIST=
# EMAIL_WHITELIST=
NEXT_PUBLIC_PRODUCTION_ORIGIN=http://localhost:3000
# Upstash Redis for Rate Limiter (Optional)
# UPSTASH_REDIS_REST_URL=
# UPSTASH_REDIS_REST_TOKEN=
# Rate Limiter Settings (Optional)
RATELIMITER_ENABLED=false
# RATELIMITER_TIME_WINDOW_MINUTES=180
# PGPT-Small (Upstash)
# RATELIMITER_LIMIT_PENTESTGPT_FREE=10
# RATELIMITER_LIMIT_PENTESTGPT_PREMIUM=80
# RATELIMITER_LIMIT_PENTESTGPT_TEAM=120
# PGPT-Large (Upstash)
# RATELIMITER_LIMIT_PENTESTGPT_PRO_FREE=0
# RATELIMITER_LIMIT_PENTESTGPT_PRO_PREMIUM=60
# RATELIMITER_LIMIT_PENTESTGPT_PRO_TEAM=100
# PentestGPT-4o (Upstash)
# RATELIMITER_LIMIT_GPT_4_FREE=0
# RATELIMITER_LIMIT_GPT_4_PREMIUM=40
# RATELIMITER_LIMIT_GPT_4_TEAM=60
# Text to Speech (Upstash)
# RATELIMITER_LIMIT_TTS_1_PREMIUM=20
# RATELIMITER_LIMIT_TTS_1_TEAM=40
# Speech to Text (Upstash)
# RATELIMITER_LIMIT_STT_1_PREMIUM=20
# RATELIMITER_LIMIT_STT_1_TEAM=40
# Terminal (Upstash)
# RATELIMITER_LIMIT_TERMINAL_FREE=10
# RATELIMITER_LIMIT_TERMINAL_PREMIUM=20
# RATELIMITER_LIMIT_TERMINAL_TEAM=40
# Fragment (Upstash)
# FRAGMENTS_RELOAD_LIMIT=100
# RATELIMITER_LIMIT_FRAGMENT_RELOAD_PREMIUM=20
# RATELIMITER_LIMIT_FRAGMENT_RELOAD_TEAM=40
# Other
# NEXT_PUBLIC_RATELIMITER_LIMIT_FILES=100
# NEXT_PUBLIC_RATELIMITER_LIMIT_WORKSPACES=10
# File size limit for uploads in bytes (Required)
NEXT_PUBLIC_USER_FILE_SIZE_LIMIT=10485760
# Message Size Limit for frontend and backend (Optional)
# in characters. If the message in the assistant's response for the plugin is bigger than that, it will be truncated to MESSAGE_SIZE_KEEP. Default is 12000
MESSAGE_SIZE_LIMIT=12000
# in characters. If the message is the assistant's response for the plugin is bigger than that, it will show the message as too big a component. Default is 30000
NEXT_PUBLIC_MESSAGE_SIZE_LIMIT=12000
# in characters. Default is 2000
MESSAGE_SIZE_KEEP=2000
# Stripe Settings (Optional)
# STRIPE_API_KEY=
# STRIPE_WEBHOOK_SIGNING_SECRET=
# STRIPE_SUCCESS_URL=
# STRIPE_RETURN_URL=
# STRIPE_PRODUCT_ID=
# NEXT_PUBLIC_STRIPE_YEARLY_PRO_PRICE_ID=
# Team Plan
# NEXT_PUBLIC_STRIPE_MONTHLY_TEAM_PRICE_ID=
# NEXT_PUBLIC_STRIPE_YEARLY_TEAM_PRICE_ID=
# commpa separated list of product ids to restore
# NEXT_PUBLIC_ENABLE_STRIPE_RESTORE=false
# STRIPE_RESTORE_PRODUCT_IDS=
# Enhance Search (RAG) with Hacker RAG endpoint (Optional)
# HACKER_RAG_ENABLED=true
# HACKER_RAG_ENDPOINT=https://{projectid}.supabase.co/functions/v1/retrieveChunks
# HACKER_RAG_GET_DATA_ENDPOINT=https://{projectid}.supabase.co/functions/v1/ragData
# HACKER_RAG_API_KEY={supabase key}
# Minimum and Maximum allowed length for the last message in characters
# MIN_LAST_MESSAGE_LENGTH=5
# MAX_LAST_MESSAGE_LENGTH=1000
# Terminal (Optional)
# E2B_API_KEY=
# Browser (Optional)
# JINA_API_TOKEN=
# Resend (Optional)
# RESEND_API_KEY=
# NEXT_PUBLIC_APP_URL=
# R2 Cloudflare Storage (Optional)
# NEXT_PUBLIC_BUCKET_URL=""
# Cloudflare Captcha (Optional)
# NEXT_PUBLIC_TURNSTILE_SITE_KEY=1x00000000000000000000AA