Thanks to visit codestin.com
Credit goes to github.com

Skip to content

projnanda/chat-frontend

Repository files navigation

AI Chat Assistant

A modern, minimalistic chatbot interface with Google OAuth authentication.

Features

  • Sleek, Apple-inspired dark mode UI
  • Google OAuth authentication
  • Multiple AI agents for different tasks
  • Responsive design for desktop and mobile
  • Modern animations and transitions

Setup Instructions

1. Configure Google OAuth

Follow these steps to set up Google OAuth for authentication:

  1. See the detailed instructions in oauth-setup-guide.md
  2. Create a project in the Google API Console
  3. Set up OAuth credentials for a web application
  4. Add http://localhost:8000 to authorized JavaScript origins

2. Configure Application

  1. Copy config.sample.js to config.js
  2. Update config.js with your Google OAuth client ID:
const config = {
    googleClientId: "YOUR_CLIENT_ID_HERE.apps.googleusercontent.com"
};

3. Running the Application

  1. Start a local web server in the project directory:

    python -m http.server
    
  2. Open your browser and navigate to:

Security Notes

  • The config.js file contains sensitive credentials and is excluded from git version control
  • In a production environment, you should implement server-side validation of authentication tokens
  • For a real application, consider adding backend APIs and proper security measures

License

Feel free to use and modify this code for personal or commercial projects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published