Ai chatbot

From diegosouzapw/awesome-omni-skill · View interactive version

Ai chatbot is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Full-featured AI chatbot with Next.js 15, Auth.js, Drizzle ORM, and multi-model support.

How to use this skill

Skill file

AI Chatbot

A full-featured, hackable AI chatbot with authentication, file storage, and multi-model support.

Tech Stack

Setup

1. Clone the Template

git clone --depth 1 https://github.com/Eng0AI/ai-chatbot-template.git .

If the directory is not empty:

git clone --depth 1 https://github.com/Eng0AI/ai-chatbot-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

pnpm install

4. Setup Environment Variables

cp .env.example .env

Required variables:

5. Run Database Migrations

pnpm db:migrate

Build

pnpm build

Or run build without migration (if already migrated):

next build

Deploy

Vercel (Recommended)

# Pull project settings
vercel pull --yes -t $VERCEL_TOKEN

# Push env vars (first time only)
while IFS='=' read -r key value; do
  [[ "$key" =~ ^#.*$ || -z "$key" || -z "$value" ]] && continue
  for env in production preview development; do
    printf '%s' "$value" | vercel env add "$key" $env -t $VERCEL_TOKEN
  done
done < .env

# Build and deploy
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify

# Import env vars (first time only)
netlify env:import .env

# Deploy
netlify deploy --prod

Critical Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.