- Clone the repository and run
npm install. - Create a file called
.envand copy over contents from.env.example. The next steps explain how to fill in the values. - Create a directory (folder) anywhere in your system (e.g., "projects" in your Desktop), not inside this project. Take the path of this directory and fill in the value for
PROJECTS_DIRECTORYin.env(e.g.,/home/barish/Desktop/projects). - Set
OPENAI_KEYin.envto your OpenAI API key. I suggest creating a new key for this app so you can track usage ($$). Note that by default the app usesgpt-4-turbo-previewengine.
Now, you are ready to use the app by typing npm run dev in the terminal. This will start the server and you can access the app at http://localhost:3000.
- Use a different UI framework due to bad incompability of Naive UI with Nuxt.
- Options are Nuxt UI, PrimeVue, etc.