Skip to content

Creating your own unique rooms is a breeze – all it takes is a handful of straightforward steps.

Notifications You must be signed in to change notification settings

MusabDev/roomgenerator

Repository files navigation

Room Generator - Create your unique rooms using AI

This is a simple room generator application powered by AI. I am using Replicate for the API and stability-ai/sdxl model. This application uses Convex as a backend service and I built this as a fun project.

Room Generator Demo

Running Locally

Cloning the repository

git clone https://github.com/musabdev/roomgenerator

Setting up environment variables (.env)

CONVEX_DEPLOYMENT="" # Required for development
CONVEX_DEPLOY_KEY="" # Required for production

NEXT_PUBLIC_CONVEX_URL=""

Installing the dependencies

npm install

Setting up Convex

You have to add Replicate API key as an environment variable in the Convex dashboard. You can check their guide at https://docs.convex.dev/production/environment-variables

REPLICATE_API_TOKEN=""

Running the project

First, run the development server for Next.js:

npm run dev

Then, run the development server for Convex:

npx run convex

Changing configuration

You can change the configuration in src/config/site.ts file. The 'enable' feature is the most important option that ensures whether the app will work or not.

Open https://localhost:3000 with your browser to see the result. Finally, you have successfully set up the project on your local machine.

About

Creating your own unique rooms is a breeze – all it takes is a handful of straightforward steps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published