Skip to content

kavinask007/chatui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Open-Source AI Chatbot extenstion from the Template Built With Next.js and the AI SDK by Vercel.

screenrecord2.mp4

Features · Model Providers · Deploy Your Own · Running locally


Features

  • Next.js App Router

    • Advanced routing for seamless navigation and performance
    • React Server Components (RSCs) and Server Actions for server-side rendering and increased performance
  • AI SDK

    • Unified API for generating text, structured objects, and tool calls with LLMs
    • Hooks for building dynamic chat and generative user interfaces
    • Supports OpenAI (default), Anthropic, Cohere, and other model providers
  • shadcn/ui

  • Data Persistence

    • Postgres for saving chat history and user data
    • minio for efficient file storage
  • Simple and secure authentication with Google Oauth and Auth0 can easily extend to other providers using NextAuth.js

Model Providers

  • OpenAI
  • Ollama
  • Groq
  • Bedrock

Running locally

You will need to use the environment variables defined in .env.example to run Chatbot.

pnpm install
npx drizzle-kit generate
npx drizzle-kit migrate
pnpm dev

Your app template should now be running on localhost:3000.

By default all login is restricted , user email needs to be added to VerifiedUsers table . This can be done by manually adding it to db or through this script.

pnpm users:add --admin username@email.com

Only admin users are allowed to edit the model,provider,mcp tools config in settings page as of now.

Run this command again once the user signed up to make them admin

pnpm users:add --admin username@email.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •