Skip to content

ozztec/ui-chatbot-docker

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI-Powered Conversational Interface Chatbot

An open-source AI chat application designed for seamless user interactions and efficient AI-driven conversations.

Chatbot UI Screenshot

Live Demo

Experience Chatbot UI in action: Live Demo

About This Project

I have customized and enhanced the Chatbot UI, an AI-driven conversational platform that streamlines interactions and provides an intuitive user experience. This project features:

βœ… Responsive and Adaptive UI – Designed for both desktop and mobile users.
βœ… Supabase Integration – Leveraging a scalable PostgreSQL database for data persistence.
βœ… Next.js Framework – Ensuring smooth and efficient performance.
βœ… Easy Deployment – Compatible with local and cloud hosting platforms like Vercel.
βœ… Secure Data Handling – Improved authentication mechanisms and storage solutions.

Project Enhancements & Updates

I have incorporated key improvements based on user feedback:

  • Simplified Deployment – Streamlined setup for quick installation.
  • Enhanced Backend Compatibility – Ensuring smooth integration with multiple platforms.
  • Optimized Mobile Layouts – Improving usability on smartphones and tablets.

Stay tuned for further updates! πŸš€

Getting Started

Follow these steps to set up Chatbot UI on your local machine:

1. Clone the Repository

git clone https://github.com/your-github-username/chatbot-ui.git
cd chatbot-ui

2. Install Dependencies

npm install

3. Set Up Supabase (Backend)

Why Supabase?

Supabase offers:

  • Secure data storage
  • Scalable database management
  • Open-source, PostgreSQL-based backend

Required Installations

MacOS/Linux:

brew install supabase/tap/supabase

Windows:

scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase

Start Supabase Locally

supabase start

4. Configure Environment Variables

cp .env.local.example .env.local

Retrieve necessary credentials using:

supabase status

Fill in the .env.local file with the retrieved values.

5. Install Ollama (Optional for Local Models)

Follow these instructions for local model integration.

6. Run the Application Locally

npm run chat

Your instance will be available at http://localhost:3000.

Deploying to Production

1. Setup Supabase in the Cloud

  • Create a new project on Supabase.
  • Obtain Project Ref, Project ID, API Keys (found in "Settings" β†’ "API").
  • Update the migration file supabase/migrations/20240108234540_setup.sql with:
    • project_url (Use the value from Supabase)
    • service_role_key

Login to Supabase:

supabase login
supabase link --project-ref <your-project-id>
supabase db push

2. Deploy the Frontend with Vercel

  • Create a new project on Vercel.
  • Import your GitHub repository and set up environment variables:
    • NEXT_PUBLIC_SUPABASE_URL
    • NEXT_PUBLIC_SUPABASE_ANON_KEY
    • SUPABASE_SERVICE_ROLE_KEY
    • (Optional) API keys for OpenAI/Azure OpenAI.
  • Click Deploy and get your hosted chatbot URL.

Contributing

This project is open for contributions! If you’d like to enhance Chatbot UI further, feel free to submit a pull request.

Contact

For queries, discussions, or collaboration opportunities, reach out to me on GitHub.

About

AI-powered conversational UI Chatbot designed to enhance user interactions through a sleek and responsive User Interface. βœ… Built with: Next.js, Supabase (PostgreSQL), Docker, Vercel βœ… Features: πŸ”Ή Seamless AI-driven conversations πŸ€– πŸ”Ή Secure & scalable database integration using Supabase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.7%
  • PLpgSQL 3.9%
  • Other 0.4%