Everything you need to build a Svelte project, powered by create-svelte
.
I recently completed an excellent AI tutorial by Austin Gil. I highly suggest you check it out: AI for Web Devs. “I thought it would be cool to build an app that takes two opponents and uses AI to determine who would win in a hypothetical fight. It provides some explanation and the option to create an AI-generated image. Sometimes the results come out a little wonky, but that’s what makes it fun.” Austin goes into depth about how to connect to the OpenAI API with out using an npm module, how to use the HTML Stream API, AI prompt engineering, and AI image generation. It was a fun journey! Here is Austin’s tutorial: https://www.austingil.com/blog/ai-for-web-devs/
gh repo clone timscodebase/ai-svelte-tiger
cd ai-svelte-tiger
pnpm install