{"id":28423721,"url":"https://github.com/moses000/ai-knowledge-base-assistant","last_synced_at":"2026-05-16T17:41:13.087Z","repository":{"id":297193911,"uuid":"995951454","full_name":"moses000/AI-Knowledge-base-Assistant","owner":"moses000","description":"The Huawei AI Chat Box is a sleek, user-friendly chat interface designed to emulate a modern AI assistant with a Huawei-inspired aesthetic. It combines voice input/output, image upload, and a topic-based conversation history for an engaging experience.","archived":false,"fork":false,"pushed_at":"2025-06-17T15:53:24.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T12:03:46.488Z","etag":null,"topics":["aichat","animation","chatinterface","css","html","imageupload","javascript","responsivedesign","voiceassistant","webapp","webspeechapi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moses000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T08:39:04.000Z","updated_at":"2025-06-17T15:53:29.000Z","dependencies_parsed_at":"2025-06-04T15:55:02.352Z","dependency_job_id":"72a8c6b7-384a-496d-8ab2-9011254736ba","html_url":"https://github.com/moses000/AI-Knowledge-base-Assistant","commit_stats":null,"previous_names":["moses000/ai-knowledge-base-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moses000/AI-Knowledge-base-Assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moses000%2FAI-Knowledge-base-Assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moses000%2FAI-Knowledge-base-Assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moses000%2FAI-Knowledge-base-Assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moses000%2FAI-Knowledge-base-Assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moses000","download_url":"https://codeload.github.com/moses000/AI-Knowledge-base-Assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moses000%2FAI-Knowledge-base-Assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33112530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aichat","animation","chatinterface","css","html","imageupload","javascript","responsivedesign","voiceassistant","webapp","webspeechapi"],"created_at":"2025-06-05T09:09:18.136Z","updated_at":"2026-05-16T17:41:13.082Z","avatar_url":"https://github.com/moses000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Huawei AI Chat Box\nA modern, responsive, and feature-rich AI chat interface built with HTML, CSS, and JavaScript, styled with Huawei's elegant brownish-red theme. This project features a topic-based conversation history sidebar, voice input/output, image upload, and smooth animations, designed to provide a premium user experience.\nFeatures\n\nHuawei-Inspired Design: Styled with a brownish-red color scheme (#4b2e2e, #8b0000), cream (#f9f5f2), and taupe (#e8e1dc) for an elegant, modern aesthetic inspired by Huawei's branding.\nTopic-Based Conversation History: Messages are grouped by topic in a sidebar, with clickable titles (derived from the first user message) and timestamps for easy navigation.\nClear History: A button to reset the conversation history, clearing both the chat and sidebar.\nVoice Functionality: Supports speech recognition and text-to-speech (TTS) using the Web Speech API, with toggle buttons for voice input and audio output.\nImage Upload: Users can upload images, displayed in the chat and saved in the topic history.\nEnhanced Animations: Includes fade-in for the container, slide-in for the sidebar, slide-up for the input area, hover effects for messages/buttons, and an aesthetic 8-dot pulsing loading animation.\nResponsive Design: Full-screen layout (100vw, 100vh) with a sidebar that stacks above the chat on smaller screens (≤768px), optimized for mobile (≤480px).\nPersistent Storage: Conversation history is saved in localStorage for persistence across sessions.\n\nDemo\nNote: Replace the placeholder with a screenshot or GIF of the interface.\nInstallation\n\nClone the Repository:\ngit clone https://github.com/your-username/huawei-ai-chat-box.git\ncd huawei-ai-chat-box\n\n\nServe the Application:\n\nUse a local server (e.g., VS Code Live Server, or Python's HTTP server):python -m http.server 8000\n\n\nOpen http://localhost:8000 in a browser (Chrome/Edge recommended for Web Speech API).\n\n\nDependencies:\n\nNo external dependencies required; uses vanilla HTML, CSS, and JavaScript.\nEnsure HTTPS for Web Speech API microphone access in production.\n\n\n\nUsage\n\nStart Chatting:\n\nType a message in the input field or use the voice button (microphone icon) to dictate.\nUpload images via the upload button (arrow icon).\nToggle text-to-speech with the TTS button (speaker icon).\n\n\nNavigate Topics:\n\nClick a topic in the sidebar to view its messages in the chat body.\nTopics are created from the first user message (text or image).\n\n\nClear History:\n\nClick the \"Clear History\" button in the sidebar to reset the conversation.\n\n\nProduction Integration:\n\nReplace the simulateAIResponse function in index.html with an API call (e.g., xAI's API at https://x.ai/api) for real AI responses.\n\n\n\nBrowser Compatibility\n\nBest Support: Chrome, Edge (Web Speech API for voice features).\nLimitations: Firefox/Safari may have limited Web Speech API support遭遇System: support. Ensure HTTPS for microphone access.\n\nContributing\nContributions are welcome! Please submit a pull request or open an issue for suggestions.\n\nFork the repository.\nCreate a branch (git checkout -b feature-name).\nCommit changes (git commit -am 'Add feature').\nPush to the branch (git push origin feature-name).\nCreate a pull request.\n\nLicense\nThis project is licensed under the MIT License. See the LICENSE file for details.\nAbout\nThe Huawei AI Chat Box is a sleek, user-friendly chat interface designed to emulate a modern AI assistant with a Huawei-inspired aesthetic. It combines voice input/output, image upload, and a topic-based conversation history for an engaging experience. Built with accessibility and responsiveness in mind, it works seamlessly across devices.\nTags\n\n#AIChat\n#WebApp\n#HuaweiTheme\n#VoiceAssistant\n#ResponsiveDesign\n#JavaScript\n#HTML\n#CSS\n#WebSpeechAPI\n#Animation\n#ChatInterface\n#ImageUpload\n#ConversationHistory\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoses000%2Fai-knowledge-base-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoses000%2Fai-knowledge-base-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoses000%2Fai-knowledge-base-assistant/lists"}