This React version evolved from an original HTML/CSS implementation.
Because using vanilla HTML/CSS/JS is like saying "I use Windows" when you could say "I use Arch BTW" 😉
A modern, React-based AI chat interface that leverages the power of Puter.js API for free, unlimited AI interactions. Experience the next generation of web-based AI chat interfaces.
🌐 Live Demo: https://guify.ct.ws
- 🎭 Multiple chat support with conversation management
- 🎨 Sleek, modern UI with cyberpunk-inspired design
- 📱 Fully responsive design for all devices
- ⚡ Real-time streaming responses
- 🔄 Chat history management
- 🎛️ Model selection (Claude and ChatGPT)
- ⌨️ Customizable enter key behavior
- 🌓 Dark mode optimized
- 🔄 Real-time chat updates
Choosing React over traditional HTML+CSS+JS is a statement of embracing modern development practices. Here's why:
| Feature | Old HTML/CSS/JS | React Implementation |
|---|---|---|
| Component Reuse | Copy-paste chaos | DRY Component System |
| State Management | Global variables | Hooks Context API |
| Styling | CSS spaghetti | Material-UI + Emotion |
| DOM Updates | Manual manipulation | Virtual DOM Magic |
| Code Organization | Separate files | Co-located Components |
| Build Process | Script tags | Modern toolchain (Vite) |
This project leverages Puter's Free OpenAI and Claude API to provide:
- 🆓 Free access to GPT-4o and Claude 3.5 Sonnet
- 🔑 No API keys required
- ⚡ Real-time streaming
- 🌐 Global CDN caching
- Frontend: React 18 + Material-UI 5
- State Management: React Hooks
- Styling: Emotion CSS-in-JS
- Animation: Framer Motion
- AI Integration: Puter.js SDK
- Clone the repo
git clone https://github.com/usualdork/AI-Chat-Assistant.git- Install dependencies
npm install- Start development server
npm startThe project is configured for zero-config deployment to:
- Vercel
- Netlify
- GitHub Pages
npm run build && npm run preview- State Management
- Old: Complex JavaScript event listeners and manual state tracking
- New: React's useState and useEffect hooks for clean state management
- Component Architecture
- Old: Monolithic HTML files with repeated code
- New: Reusable React components with clear separation of concerns
- Styling Approach
- Old: Global CSS with potential conflicts
- New: Scoped CSS-in-JS with Emotion and MUI's styling system
- Fork the Project
- Create your Feature Branch
(git checkout -b feature/AmazingFeature) - Commit your Changes
(git commit -m 'Add some AmazingFeature') - Push to the Branch
(git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
⭐️ If you found this project interesting, please consider giving it a star!

