diff --git a/.env.production b/.env.production index bc64a4c..36e1c9e 100644 --- a/.env.production +++ b/.env.production @@ -1,84 +1,85 @@ #-------------------------------------------------------------------------------------------------------- # website URL #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_SITE_URL= +NEXT_PUBLIC_SITE_URL=https://nbs.prmbr.com #-------------------------------------------------------------------------------------------------------- # website name #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_WEBSITE_NAME= +NEXT_PUBLIC_WEBSITE_NAME="NanoBanana Show" #-------------------------------------------------------------------------------------------------------- # image alt text #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT= +NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT="NanoBanana Show" #-------------------------------------------------------------------------------------------------------- # domain name #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_DOMAIN_NAME= +NEXT_PUBLIC_DOMAIN_NAME="nbs.prmbo.com" #-------------------------------------------------------------------------------------------------------- # postgres config #-------------------------------------------------------------------------------------------------------- -POSTGRES_URL= +POSTGRES_URL="postgresql://neondb_owner:npg_xSc4VUaeYgm3@ep-calm-wave-a1db9zdd-pooler.ap-southeast-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require" + #-------------------------------------------------------------------------------------------------------- # Google auth config # 0 代表不检查登录,则登录相关的按钮也不展示出来,1代表要检查 #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_CHECK_GOOGLE_LOGIN=0 -NEXT_PUBLIC_GOOGLE_CLIENT_ID= -GOOGLE_SECRET_ID= +NEXT_PUBLIC_CHECK_GOOGLE_LOGIN=1 +NEXT_PUBLIC_GOOGLE_CLIENT_ID=1011279317992-kduhuvssdem1p338l186377i3982df79.apps.googleusercontent.com +GOOGLE_SECRET_ID=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 #-------------------------------------------------------------------------------------------------------- # NEXTAUTH config create command: openssl rand -base64 32 #-------------------------------------------------------------------------------------------------------- -NEXTAUTH_URL= -NEXTAUTH_SECRET= +NEXTAUTH_URL=https://nbs.prmbo.com +NEXTAUTH_SECRET=rW88FCN+snBc04B+gKtS0+DCc3UIRdcWJNCEGnZtZ6U= #-------------------------------------------------------------------------------------------------------- # Google gtag id #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_GOOGLE_TAG_ID= +NEXT_PUBLIC_GOOGLE_TAG_ID=G-0RM4KL718Y #-------------------------------------------------------------------------------------------------------- # Update these with your Stripe credentials from https://dashboard.stripe.com/apikeys # 0 代表不检查支付,则支付页面也不展示出来,1代表要检查 #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_CHECK_AVAILABLE_TIME=0 -NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= -STRIPE_SECRET_KEY= -STRIPE_WEBHOOK_SECRET= +NEXT_PUBLIC_CHECK_AVAILABLE_TIME=1 +NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_51Rs4SeL4RcMgUJpOrGbswlk9ESZ5ezDOehA3JYBtFWaCdk5fvGjvq98MVXhdPsdFzVfl69MyWIdQwKvsvsN3NLGo00JXs9sXSE +STRIPE_SECRET_KEY=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 +STRIPE_WEBHOOK_SECRET=whsec_clBH2N3tlpVRd7jAyvojb2Wg1MtAeGWw # 免费生成次数 -FREE_TIMES=2 +FREE_TIMES=10 #-------------------------------------------------------------------------------------------------------- # replicate config #-------------------------------------------------------------------------------------------------------- # replicate 生成结束后的回调地址,本地时我才用的 ngrok,线上的话就是你的域名 -REPLICATE_WEBHOOK= +REPLICATE_WEBHOOK=https://nbs.prmbr.com # replicate 的 API token,需要去你的 replicate 账号里面复制 https://replicate.com/account/api-tokens -REPLICATE_API_TOKEN= +REPLICATE_API_TOKEN=r8_1cBB54Zz4YzoN59zKFq0FJMQTzMG0RA4BEveG +REPLICATE_API_MODEL="google/gemini-2.5-flash-image" # 生成贴纸的API版本 https://replicate.com/fofr/sticker-maker/versions ,最新的那个版本只生成一张图片了,下方这个版本是还会一次生成两张图片的 REPLICATE_API_VERSION="6443cc831f51eb01333f50b757157411d7cadb6215144cc721e3688b70004ad0" #-------------------------------------------------------------------------------------------------------- # cloudflare R2 config #-------------------------------------------------------------------------------------------------------- -NEXT_PUBLIC_STORAGE_URL= -STORAGE_DOMAIN= -R2_BUCKET= -R2_ACCOUNT_ID= -R2_ENDPOINT= -R2_TOKEN_VALUE= -R2_ACCESS_KEY_ID= -R2_SECRET_ACCESS_KEY= +NEXT_PUBLIC_STORAGE_URL=https://nbs-image-cdn.prmbr.com +STORAGE_DOMAIN=nbs-image-cdn.prmbr.com +R2_BUCKET=nano-banana-show +R2_ENDPOINT=https://209b775a76842f6f305193e41de86be1.r2.cloudflarestorage.com +R2_TOKEN_VALUE=ZpqP7-OWxezkWTZ0yvr4fvejMEW6F-Z9lT5HxqjE +R2_ACCESS_KEY_ID=a2329772654cf1ac12d2df8d4fe34e16 +R2_SECRET_ACCESS_KEY=aad334e0804ac4811012cbcc0cb4960913b1a35ab5f17cef0c10e7673cd29ce1 #-------------------------------------------------------------------------------------------------------- # openai config #-------------------------------------------------------------------------------------------------------- -OPENAI_API_KEY= +OPENAI_API_KEY=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 OPENAI_API_BASE_URL=https://openrouter.ai/api OPENAI_API_MODEL="openai/gpt-3.5-turbo" diff --git a/messages/en.json b/messages/en.json index 2a82337..7d71dc4 100644 --- a/messages/en.json +++ b/messages/en.json @@ -5,17 +5,17 @@ "languageInChineseSimple": "英语" }, "IndexPageText": { - "title": "英文Title", - "description": "英文description", - "h1Text": "英文首页 H1", - "descriptionBelowH1Text": "英文首页 H1下方的文字" + "title": "NanoBanana Show - Free AI Sticker Generator", + "description": "Create custom stickers for free with NanoBanana Show! Generate unlimited stickers with our AI-powered sticker generator. Free credits included, unlimited access with subscription.", + "h1Text": "Free AI-Powered Sticker Generator", + "descriptionBelowH1Text": "Create amazing custom stickers with NanoBanana Show! Get free credits to start, then upgrade for unlimited generation." }, "CommonText": { "loadingText": "Loading...", "generateText": "Generating...", "placeholderText": "Type or paste text here...", "buttonText": "Generate", - "footerDescText": "英文footer左下角文字", + "footerDescText": "NanoBanana Show - Your free AI sticker generator with unlimited possibilities", "timesLeft": "You can generate", "timesRight": "times", "download": "Download", @@ -52,7 +52,7 @@ }, "PricingText": { "title": "Pricing", - "description": "价格页面description", + "description": "Choose your plan for NanoBanana Show. Start free and upgrade for unlimited sticker generation with premium features.", "h1Text": "Get plan for generate", "basic": "Basic", "essential": "Essential", @@ -79,22 +79,22 @@ "annuallySaveText": "save 50%" }, "PrivacyPolicyText": { - "title": "英文隐私政策 title", - "description": "英文隐私政策description", - "h1Text": "英文隐私政策 H1", - "detailText": "英文隐私政策详情 markdown 文本" + "title": "Privacy Policy - NanoBanana Show", + "description": "Learn how NanoBanana Show protects your privacy and handles your data when using our AI sticker generator.", + "h1Text": "Privacy Policy", + "detailText": "# Privacy Policy\n\nYour privacy is important to us at NanoBanana Show. This policy explains how we collect, use, and protect your information when you use our AI sticker generator service.\n\n## Information We Collect\n\n- Account information when you sign up\n- Usage data to improve our service\n- Generated sticker content (stored securely)\n\n## How We Use Your Information\n\n- To provide and improve our sticker generation service\n- To process payments and subscriptions\n- To communicate with you about your account\n\n## Data Protection\n\nWe implement industry-standard security measures to protect your personal information and generated content.\n\nFor questions about this policy, please contact our support team." }, "TermsOfServiceText": { - "title": "英文服务条款 title", - "description": "英文服务条款description", - "h1Text": "英文服务条款 H1", - "detailText": "英文服务条款详情 markdown 文本" + "title": "Terms of Service - NanoBanana Show", + "description": "Read the terms of service for NanoBanana Show, including usage guidelines for our AI sticker generator platform.", + "h1Text": "Terms of Service", + "detailText": "# Terms of Service\n\nWelcome to NanoBanana Show! By using our AI sticker generator service, you agree to these terms.\n\n## Service Description\n\nNanoBanana Show provides an AI-powered platform for generating custom stickers. We offer free credits to new users and subscription plans for unlimited access.\n\n## User Responsibilities\n\n- Use the service responsibly and legally\n- Do not generate inappropriate or harmful content\n- Respect intellectual property rights\n\n## Subscription Terms\n\n- Subscriptions provide unlimited sticker generation\n- Billing occurs monthly or annually as selected\n- Cancel anytime through your account settings\n\n## Content Rights\n\n- You retain rights to stickers you generate\n- We may display public stickers in our gallery\n- Do not use copyrighted material without permission\n\nFor questions about these terms, please contact our support team." }, "WorksText": { - "title": "英文我的页面 title", - "description": "英文我的页面 description", - "h1Text": "英文我的页面 H1", - "descriptionBelowH1Text": "英文我的页面 H1下方的文字", + "title": "My Stickers - NanoBanana Show", + "description": "View and manage all your generated stickers in one place. Download, share, and organize your NanoBanana Show creations.", + "h1Text": "My Stickers", + "descriptionBelowH1Text": "All your generated stickers in one place. Create, download, and manage your sticker collection.", "descText": "Don't have sticker", "toContinue": "to continue." },