Skip to content

50+ open-source generative AI apps you can clone, deploy, and monetize — image generators, video tools, virtual try-ons, AI SaaS templates, and platform integrations. One-click Vercel deploy on every template.

1.2 KB
Raw Blame
const config = {
  appName: "Blogger Cms",
  theme: process.env.NEXT_PUBLIC_THEME || "slate-indigo",
  auth: {
    google: {
      clientId: process.env.GOOGLE_CLIENT_ID,
      clientSecret: process.env.GOOGLE_CLIENT_SECRET,
    },
    secret: process.env.NEXTAUTH_SECRET,
    url: process.env.NEXTAUTH_URL || "http://localhost:3000",
    webhook_url: process.env.WEBHOOK_URL || process.env.NEXTAUTH_URL || "http://localhost:3000",
  },
  stripe: {
    publishableKey: process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
    secretKey: process.env.STRIPE_SECRET_KEY,
    webhookSecret: process.env.STRIPE_WEBHOOK_SECRET,
    plans: {
      starter: {
        id: "starter",
        name: "Starter Pack",
        credits: 100,
        price: 1000, // $10.00
      },
      pro: {
        id: "pro",
        name: "Professional Pack",
        credits: 300,
        price: 2500, // $25.00
      },
      business: {
        id: "business",
        name: "Business Pack",
        credits: 750,
        price: 5000, // $50.00
      }
    }
  },
  ai: {
    apiKey: process.env.MUAPIAPP_API_KEY,
    blogGenerationCost: 5, // 5 credits per blog generation
  },
  db: {
    url: process.env.DATABASE_URL,
  }
};

export default config;