A beautiful, modern web interface for testing the WhatsApp Court Assistant Bot.
Public Test Interface: https://adalat-ai-tech.github.io/court-bot-interface/
- Modern Chat Interface: Beautiful, responsive design with real-time messaging
- Court Case Queries: Test case status, defect status, and cause list inquiries
- Real-time Status: Shows connection status to the bot API
- Example Queries: Quick access to common court-related questions
- Mobile Responsive: Works perfectly on all devices
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Styling: Modern CSS with gradients and animations
- API Integration: Connects to deployed bot API on Google Cloud Run
- Deployment: GitHub Pages
- Visit the Interface: Open the public link above
- Test Queries: Click on example queries or type your own
- Real Responses: Get responses from the actual bot API
- Status Monitoring: Check the connection status in the status bar
To run this interface locally:
- Clone the repository
- Open
index.htmlin a web browser - The interface will automatically connect to the deployed bot API
The interface connects to:
- Health Check:
https://wa-bot-suklm2nhva-el.a.run.app/health - Message Processing:
https://wa-bot-suklm2nhva-el.a.run.app/api/test-message
- "What is the status of case 1001/2015?"
- "Check defect status for CNR ODHC0010012015"
- "Show cause list for Cuttack bench"
- "Hello, how can you help me?"
- Gradient Backgrounds: Modern purple-blue gradients
- Chat Bubbles: WhatsApp-style message bubbles
- Typing Indicators: Animated dots when bot is processing
- Status Indicators: Real-time connection status
- Responsive Design: Works on desktop, tablet, and mobile
- CORS Enabled: Safe cross-origin requests
- No Sensitive Data: Only sends test messages
- Public Interface: Safe for team testing
The interface tracks:
- Message count
- Connection status
- Response times
- User interactions
This interface is automatically deployed to GitHub Pages and is publicly accessible for team testing.
Built for Adalat AI Tech ποΈβοΈ