Artificial Machine Intelligence Neural Architecture
A beautiful, modern AI chat application built with React and TypeScript that connects to LM Studio for intelligent conversations with advanced features like streaming responses, conversation management, and multimodal support.
- Dark Mode Default: Professional dark theme with light mode toggle
- Gradient Branding: Beautiful AMINA logo with animated loading screen
- Responsive Design: Works perfectly on desktop, tablet, and mobile
- Smooth Animations: Professional transitions and micro-interactions
- Streaming Responses: Real-time text streaming with live markdown rendering
- Conversation Management: Collapsible sidebar with persistent chat history
- Multimodal Support: Text + image input capabilities
- Auto-scrolling: Smart chat window that follows the conversation
- LM Studio Connection: Seamless integration with LM Studio
- Gemma 3 12b Support: Optimized for Google's Gemma 3 12b model
- OpenAI-Compatible API: Standard chat completions format
- Error Handling: Graceful error management and user feedback
- Local Storage: Conversations and preferences saved locally
- Session Management: Automatic conversation creation and switching
- Settings Persistence: Theme preferences and chat history
- Node.js 16+ and npm
- LM Studio with Gemma 3 12b model loaded
- Modern web browser with ES6+ support
Clone the repository:
git clone https://github.com/hab33bi/AMINA.git cd AMINAInstall dependencies:
npm install
Start the development server:
npm start
Open your browser: Visit
http://localhost:3000
Install LM Studio from lmstudio.ai
Download Gemma 3 12b model or your preferred model
Start the local server:
- In LM Studio, go to the "Local Server" tab
- Load your Gemma 3 12b model
- Start the server (default:
http://localhost:1234)
Update API endpoint (if needed):
// In src/App.tsx, line ~150constresponse=awaitfetch("http://192.168.1.174:1234/v1/chat/completions",// Update this URL// ...);
Create a .env file in the root directory:
REACT_APP_LM_STUDIO_URL=http://192.168.1.174:1234/v1REACT_APP_MODEL_NAME=gemma-3-12b- Launch AMINA - Enjoy the loading animation
- Type your message in the input field
- Upload images (optional) using the camera icon
- Send your message and watch the streaming response
- New Chat: Click the hamburger menu → "New Chat"
- Switch Chats: Click any conversation in the sidebar
- Delete Chats: Hover over a conversation and click the trash icon
- Toggle Dark/Light Mode: Click the sun/moon icon in the header
- Responsive Sidebar: Auto-collapses on mobile devices
- Frontend Framework: React 18+ with TypeScript
- Styling: Tailwind CSS 3+ with custom animations
- Markdown Rendering: react-markdown
- Build Tool: Create React App
- AI Integration: LM Studio with OpenAI-compatible API
- Storage: Browser localStorage for persistence
AMINA/
├── public/ # Static assets
├── src/
│ ├── App.tsx # Main application component
│ ├── index.css # Global styles and Tailwind
│ ├── index.tsx # Application entry point
│ └── ...
├── package.json # Dependencies and scripts
├── tailwind.config.js # Tailwind configuration
├── postcss.config.js # PostCSS configuration
└── README.md # This file
npm start- Start development servernpm build- Build for productionnpm test- Run test suitenpm run eject- Eject from Create React App
- TypeScript: Strict type checking enabled
- ESLint: Configured with React rules
- Prettier: Code formatting (recommended)
- Chrome: 90+
- Firefox: 88+
- Safari: 14+
- Edge: 90+
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- LM Studio for the excellent local AI server
- Google for the Gemma model family
- Tailwind CSS for the beautiful styling system
- React and TypeScript communities
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Join the discussions in the repository
Made with ❤️ by hab33bi
AMINA - Your Intelligent Conversation Partner