SamirAI is a simple chatbot interface built using HTML, Tailwind CSS, and JavaScript. It interacts with a backend API to provide responses and supports Markdown formatting for displaying the content. This project includes features like real-time communication, message formatting, code block highlighting, and a copy-to-clipboard button for API responses.
- Real-Time Messaging: Communicates with an API to fetch responses based on user input.
- Markdown Support: Renders bold text, inline code, and code blocks in the response.
- Copy to Clipboard: Allows users to copy API-generated content with a button.
- Typing Indicator: Displays a typing indicator while waiting for the API response.
- Spam Prevention: Disables user input during API request processing to prevent spam.
- New Chat: Starts a new chat session with a new unique identifier.
To use this chatbot, follow these steps:
- A modern web browser (Chrome, Firefox, Safari, Edge).
-
Clone the Repository
git clone https://github.com/notsopreety/aiui cd aiui