CosmoChat is a web application for communicating with LLMs (Large Language Models), built using React. The application includes a chat with animations, prompts, message input, and user authentication support. It utilizes the HuggingFace API for LLM interactions.
- Clone the repository:
git clone https://github.com/yourusername/chatapp-react.git- Navigate to the project directory:
cd chatapp-react- Install dependencies:
npm install- Start the project in development mode:
npm run dev- Go to the address provided by Vite (usually
http://localhost:5173).
- Chat with LLMs featuring interactive responses via HuggingFace API
- Space-themed background, animations, and visual effects
- Typing indicator display
- Sending and displaying messages from user and AI
- Simple user authentication and registration
- Navigation between pages: Home, Chat, Profile, Login, Register
| Script | Description |
|---|---|
npm run dev |
Start the application in development mode |
npm run build |
Build the application for production |
npm run preview |
Preview the production build |
npm run lint |
Lint code using ESLint |