Phoenix AI โ ๐ฆ A smart chatbot built with โ๏ธ React, ๐จ TailwindCSS, ๐ Node.js, ๐ Appwrite, and ๐ค Gemini API, delivering real-time, intelligent conversations with a sleek UI, secure authentication, and seamless scalability. ๐โจ
Phoenix AI is an AI-powered chatbot that not only generates intelligent responses but also stores and organizes conversations efficiently. Below are its key use cases:
Smart Responses๐ค Get real-time, AI-generated replies powered by Gemini API.Context Awareness๐ง Phoenix AI remembers previous chats for meaningful interactions.Markdown Support๐ Format messages with bold, italic, and code snippets.Syntax Highlighting๐ฅ๏ธ AI-generated code is displayed beautifully with React Syntax Highlighter.
Auto-Generated Titles๐ท๏ธ AI automatically creates titles for saved conversations.Chat History๐ View past interactions anytime in an organized interface.Real-Time Storageโก Conversations are stored securely in Appwrite Database.
Sign Up & Log In๐ Secure user authentication powered by Appwrite.Password Resetโ๏ธ Reset your password via a secure email link.Session Management๐ Stay logged in with Appwrite's secure session handling.
Smooth Animations๐ญ Powered by Framer Motion for an interactive feel.Real-Time Navigationโก Instant page transitions with React Router DOM.Customizable UI๐จ Modify styles easily using TailwindCSS.
Cloud-Ready๐ Can be deployed on Netlify, Vercel, or Render.Fast & Lightweightโก Optimized React app for smooth performance.Extensible๐ง Can be integrated with additional AI models in the future.
๐ก Phoenix AI is your all-in-one smart chatbot that combines AI-powered conversations, secure authentication, and seamless user experience in a single platform. Enjoy chatting with intelligence! ๐
@google/generative-ai๐ค Integration with Gemini API for AI-powered chat.appwrite๐ Backend-as-a-Service for authentication and database management.framer-motion๐ญ Smooth animations and transitions for an interactive UI.prop-typesโ Type-checking for React components to ensure reliability.reactโ๏ธ Core UI library for building the frontend.react-dom๐ Handles React rendering in the browser.react-helmet๐ญ Manages SEO-friendly meta tags dynamically.react-markdown๐ Renders Markdown content inside React.react-router-dom๐ Enables client-side routing for navigation.react-syntax-highlighter๐ฅ๏ธ Displays code snippets with syntax highlighting.remark-gfmโ๏ธ Extends Markdown with GitHub Flavored Markdown (GFM) support.
git clone https://github.com/Prakhar-002/PHOENIX.git
cd PHOENIXgit clone https://github.com/Prakhar-002/PHOENIX.git
cd PHOENIXnpm installVITE_APPWRITE_PROJECT_ID='Your Appwrite Id'
VITE_GEMINI_API_KEY='Get you Api key from Gemini Api'
VITE_APPWRITE_DATABASE_ID='Make your own appwrite database and collections'npm run dev ๐ฆ PHOENIX/SRC/
โ
โ
โโโ ๐๏ธ api
โ โ
โ โโโ ๐ googleAi.js ๐ธ API integration for Google AI services
โ
โ
โโโ ๐๏ธ assets ๐ธ Static assets like images, icons, and logos
โ โ
โ โโโ ๐ assets.js
โ โโโ ๐ผ๏ธ avatar.jpeg
โ โโโ ๐ผ๏ธ banner.webp
โ โโโ ๐จ favicon.svg
โ โโโ ๐จ logo-dark.svg
โ โโโ ๐จ logo-icon.svg
โ โโโ ๐จ logo-light.svg
โ
โ
โโโ ๐๏ธ components ๐ธ Reusable UI components
โ โ
โ โโโ ๐ AiResponse.jsx โ๏ธ
โ โโโ ๐ Avatar.jsx โ๏ธ
โ โโโ ๐ Button.jsx โ๏ธ
โ โโโ ๐ Logo.jsx โ๏ธ
โ โโโ ๐ Menu.jsx โ๏ธ
โ โโโ ๐ MenuItem.jsx โ๏ธ
โ โโโ ๐ PageTitle.jsx โ๏ธ
โ โโโ ๐ Progress.jsx โ๏ธ
โ โโโ ๐ PromptField.jsx โ๏ธ
โ โโโ ๐ PromptPreloader.jsx โ๏ธ
โ โโโ ๐ Sidebar.jsx โ๏ธ
โ โโโ ๐ Skeleton.jsx โ๏ธ
โ โโโ ๐ Snackbar.jsx โ๏ธ
โ โโโ ๐ TextField.jsx โ๏ธ
โ โโโ ๐ TopAppBar.jsx โ๏ธ
โ โโโ ๐ UserPrompt.jsx โ๏ธ
โ
โ
โโโ ๐๏ธ contexts ๐ธ Context API for state management
โ โ
โ โโโ ๐ SnackbarContext.jsx โ๏ธ
โ
โ
โโโ ๐๏ธ hooks ๐ธ Custom React hooks
โ โ
โ โโโ ๐ userPromptPreloader.js
โ โโโ ๐ useSnackbar.js
โ โโโ ๐ useToggle.js
โ
โ
โโโ ๐๏ธ lib ๐ธ Utility libraries
โ โ
โ โโโ ๐ appWrite.js ๐น Handles AppWrite API integration
โ โโโ ๐ googleAi.js ๐น Handles Google AI functions
โ
โ
โโโ ๐๏ธ pages ๐ธ Main application pages
โ โ
โ โโโ ๐ Conversation.jsx โ๏ธ
โ โโโ ๐ ConversationError.jsx โ๏ธ
โ โโโ ๐ Greetings.jsx โ๏ธ
โ โโโ ๐ Login.jsx โ๏ธ
โ โโโ ๐ Register.jsx โ๏ธ
โ โโโ ๐ ResetLink.jsx โ๏ธ
โ โโโ ๐ ResetPassword.jsx โ๏ธ
โ โโโ ๐ RootError.jsx โ๏ธ
โ
โ
โโโ ๐๏ธ routers ๐ธ Application routing and navigation
โ โ
โ โโโ ๐๏ธ actions ๐ธ Form actions & authentication flows
โ โ |
โ โ โโโ ๐ appAction.js
โ โ โโโ ๐ conversationAction.js
โ โ โโโ ๐ loginAction.js
โ โ โโโ ๐ registerAction.js
โ โ โโโ ๐ resetLinkAction.js
โ โ โโโ ๐ resetPasswordAction.js
โ โ
โ โ
โ โโโ ๐๏ธ loaders ๐ธ Data loaders for fetching data before rendering
โ โ |
โ โ โโโ ๐ appLoader.js
โ โ โโโ ๐ conversationLoader.js
โ โ โโโ ๐ loginLoader.js
โ โ โโโ ๐ registerLoader.js
โ โ โโโ ๐ resetLinkLoader.js
โ โ โโโ ๐ resetPasswordLoader.js
โ โ
โ โ
โ โโโ ๐ routes.jsx ๐น Defines all application routes โ๏ธ
โ
โ
โโโ ๐๏ธ utils ๐ธ Utility/helper functions
โ โ
โ โโโ ๐ deleteConversation.js
โ โโโ ๐ generateID.js
โ โโโ ๐ logout.js
โ โโโ ๐ toTitleCase.js
โ
โ
โโโ ๐ App.jsx ๐น Root component of the application
โโโ ๐ index.css ๐น Global styles
โโโ ๐ main.jsx ๐น Application entry point
โโโ ๐ .env ๐น Environment variables (Make your own)
โโโ ๐ .gitignore ๐น Git ignore file to exclude unnecessary files
โโโ ๐ eslint.config.js ๐น ESLint configuration for code linting
โโโ ๐ index.html ๐น Main HTML file for the app
โโโ ๐ package-lock.json ๐น Lock file for dependencies
โโโ ๐ package.json ๐น Project dependencies and scripts
โโโ ๐ postcss.config.js ๐น PostCSS configuration for styling
โโโ ๐ tailwind.config.js ๐น Tailwind CSS configuration
โโโ ๐ vite.config.js ๐น Vite configuration for build setup
โโโ ๐ Readme.md ๐น Project documentation