diff --git a/.example.env b/.example.env index a2718269..c6d58ec5 100644 --- a/.example.env +++ b/.example.env @@ -14,3 +14,7 @@ GOOGLE_CLIENT_SECRET= DATABASE_URL= SHADOW_DATABASE_URL= NEXTAUTH_URL= + +# Pricing +STRIPE_SECRET_KEY= +STRIPE_WEBHOOK_SECRET= diff --git a/README.md b/README.md index 4f4b20bb..6a284adc 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # [roomGPT.io](https://roomGPT.io) -This project generates new designs of your room with AI. +This project generates new designs of your room with AI [![Room GPT](./public/screenshot.png)](https://roomGPT.io) ## How it works -It uses an ML model called [ControlNet](https://github.com/lllyasviel/ControlNet) to generate variations of rooms. This application gives you the ability to upload a photo of any room, which will send it through this ML Model using a Next.js API route, and return your generated room. The ML Model is hosted on [Replicate](https://replicate.com) and [Upload](https://upload.io) is used for image storage. +It uses an ML model called [ControlNet](https://github.com/lllyasviel/ControlNet) to generate variations of rooms. This application gives you the ability to upload a photo of any room, which will send it through this ML Model using a Next.js API route, and return your generated room. The ML Model is hosted on [Replicate](https://replicate.com) and [Upload](https://upload.io) is used for image storage. [Loops](https://loops.so/) is used for emails. ## Running Locally @@ -59,4 +59,4 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Nutlope/roomGPT&env=REPLICATE_API_KEY,NEXTAUTH_SECRET,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,DATABASE_URL,SHADOW_DATABASE_URL,NEXTAUTH_URL&project-name=room-GPT&repo-name=roomGPT) -> Note: You will need to configure auth by following the setup above by using Neon and next-auth +> Note: You will need to configure auth by following the setup above by using Neon and next-auth and payments diff --git a/components/Footer.tsx b/components/Footer.tsx index 8febf458..6345db93 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -21,6 +21,14 @@ export default function Footer() { > Upload,{" "} + + Loops,{" "} + and{" "} - + header text - {/* TODO: Eventually add a dropdown where folks can click to logout and buy credits */} - {/* TODO: Maybe add another link to purchase credits next to dashboard */} - {/* TODO: Also add "see previous generations in our new dashboard" note */} {photo ? (
Dashboard
-
+ + +
Buy Credits
+
New
@@ -39,31 +42,13 @@ export default function Header({ photo }: { photo?: string }) { />
) : ( -
- -

Star on GitHub

-
+

Sign Up

+ )} ); } - -function Github({ className }: { className?: string }) { - return ( - - - - ); -} diff --git a/components/Testimonials.tsx b/components/Testimonials.tsx index 9ca1e6df..f4b54dab 100644 --- a/components/Testimonials.tsx +++ b/components/Testimonials.tsx @@ -81,7 +81,7 @@ export function Testimonials() { Loved by many worldwide.

- See what our 92,000+ users are saying about the product. + See what our over 1 million users are saying about the product.