Skip to main content
Glama

Semiconductor Component RAG Search

UI_README.md•4.13 kB
# šŸŽØ Beautiful UI Design - User Guide ## ✨ New Attractive Web Interface A modern, beautiful web interface has been created for the Semiconductor Component Search system! ### 🌐 Access the UI **Open in your browser:** ``` http://localhost:8001/ ``` This provides a beautiful, user-friendly interface with: - āœ… Modern dark theme design - āœ… Drag & drop file upload - āœ… Interactive question answering - āœ… Real-time status indicators - āœ… Beautiful animations and transitions - āœ… Responsive design for all devices - āœ… Toast notifications - āœ… Loading indicators ### šŸŽØ Features #### 1. **Upload Section** - **Drag & drop** Excel files directly - **Click to browse** for files - **Progress indicator** during upload - **Success/Error notifications** - **Visual feedback** for all actions #### 2. **Question Section** - **Interactive search bar** with icon - **Quick question buttons** for common queries - **Real-time answer display** - **Context visualization** - **Copy to clipboard** functionality - **Auto-scroll to answers** #### 3. **Information Panel** - **Live collection statistics** - **Document count** display - **Status indicators** - **Refresh button** for real-time updates #### 4. **Design Elements** - **Dark theme** with gradient accents - **Smooth animations** and transitions - **Modern card-based layout** - **Color-coded status badges** - **Professional typography** - **Responsive grid layouts** ### šŸ“± Responsive Design The UI is fully responsive and works on: - āœ… Desktop computers - āœ… Tablets - āœ… Mobile phones ### šŸŽÆ Quick Start 1. **Open browser**: Go to `http://localhost:8001/` 2. **Upload file**: Drag and drop or click to upload Excel file 3. **Ask questions**: Type your question or click quick question buttons 4. **View answers**: See formatted answers with context 5. **Copy results**: Click copy button to copy answers ### šŸ’” User Experience Features - **Real-time status**: Connection status indicator - **Loading overlays**: Visual feedback during processing - **Toast notifications**: Success/error messages - **Smooth animations**: Professional transitions - **Keyboard shortcuts**: Press Enter to ask questions - **Quick actions**: Pre-defined question buttons ### šŸŽØ Design Highlights - **Color Scheme**: Modern dark theme with purple/indigo gradients - **Typography**: Inter font family for readability - **Icons**: Font Awesome icons throughout - **Shadows**: Subtle depth with layered shadows - **Borders**: Rounded corners and subtle borders - **Hover Effects**: Interactive elements respond to user actions ### šŸ“Š Visual Elements - **Status Badge**: Shows connection status with pulsing indicator - **Progress Bar**: Animated progress during file upload - **Answer Cards**: Formatted answer display with context - **Info Cards**: Statistics with icons and numbers - **Quick Buttons**: Styled question buttons with hover effects ### šŸš€ Technical Details - **Framework**: Vanilla JavaScript (no dependencies) - **Styling**: Custom CSS with CSS Variables - **API Integration**: Fetch API for backend communication - **File Handling**: Drag & drop with file validation - **Error Handling**: User-friendly error messages ### šŸ“ File Structure ``` static/ ā”œā”€ā”€ index.html # Main UI page ā”œā”€ā”€ styles.css # Beautiful styling └── script.js # Interactive functionality ``` ### šŸŽÆ Usage 1. **Server must be running**: `python main.py` 2. **Open browser**: Navigate to `http://localhost:8001/` 3. **Start using**: Upload files and ask questions! ### šŸŽØ Customization The UI uses CSS variables for easy customization: - Colors: `--primary-color`, `--secondary-color`, etc. - Spacing: Modify padding/margin values - Fonts: Change font-family in CSS - Theme: Adjust color variables for different themes ### āœ… Benefits - **User-Friendly**: Intuitive interface - **Professional**: Modern design - **Fast**: Lightweight and responsive - **Accessible**: Clear visual feedback - **Beautiful**: Attractive design ## šŸš€ Ready to Use! **Just open**: http://localhost:8001/ **Enjoy the beautiful UI!** šŸŽ‰

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chakradharkalle03-arch/MCP2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server