deniskropp / nuxt-kick-start

Staging Generative AI for Nuxt Content, provides components and composables, demo app running with Content Wind theme

Home Page:https://kick-start.nuxt.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt Kick Start

This site demos generative AI with Nuxt Content

Intro

Testing repo and site (Kick It - Nuxt Content using generative AI)

See also (core package, submodule)

kick-it

Nuxt Module (will use this one soon)

nuxt-kick-it

Demo

Check out the deployment at kick-start.nuxt.space.

Checkout

git clone git@github.com:deniskropp/nuxt-kick-start
cd nuxt-kick-start
git submodule update --init

Setup

pnpm install

Development

pnpm dev

Then open http://localhost:3000 to see the app.

API

We are using Cohere at the moment, please put your API key in .env!

COHERE_API_KEY=xyz

Components

Chat

  • embed in any .md file (/content) using '::chat'
  • generate content from page and component input
  • allow props, e.g. 'task' or 'instruction'

Composables

useChat

  • uses useContent() for the body of the active page
  • makes messages for AI end-point with content, props etc.
  • returns generated content as markdown formatted string

Deployment

Learn more how to deploy on Nuxt docs.

About

Staging Generative AI for Nuxt Content, provides components and composables, demo app running with Content Wind theme

https://kick-start.nuxt.space


Languages

Language:TypeScript 53.9%Language:Vue 46.1%