Lead Developer: D3F417
The most beautiful and intelligent AI chat interface you've ever seen β¨
π Try TC AI Live β
No installation required! Jump straight into the future of AI conversations with our live demo. Experience all features including multi-model support, real-time responses, and our stunning interface.
TC AI is not just another chatbot interface - it's a revolutionary cognitive AI assistant that combines cutting-edge technology with stunning visual design. Built by the passionate developers at TehranCommunity, this project represents the future of human-AI interaction.
- π Lightning Fast: Optimized performance with instant responses
- π¨ Visually Stunning: Unique dark pink gradient design that's easy on the eyes
- π§ Smart & Intuitive: Advanced chat management with intelligent features
- π± Universal: Perfect experience across all devices and screen sizes
- π Privacy First: All conversations stored locally on your device
- β‘ Multiple AI Models: Switch between different AI models seamlessly
- Mesmerizing UI/UX: Custom dark pink gradient design with buttery smooth animations
- Responsive Magic: Flawless experience from mobile to 4K displays
- Theme Flexibility: Built-in dark/light theme support
- Framer Motion: Silky smooth animations that feel alive
- Instant Loading: Optimized Next.js 14 with App Router for blazing fast performance
- Real-time Everything: Live typing indicators and instant message rendering
- Smart Caching: Intelligent data management for optimal speed
- Zero Lag: Smooth interactions even with large conversation histories
- Advanced Chat Management: Create, rename, delete, and organize conversations effortlessly
- Multi-Model Support: Switch between 15+ powerful AI models on the fly
- Smart Memory: Persistent chat history with intelligent organization
- Audio Integration: Built-in audio player for voice messages and responses
- Context Awareness: Maintains conversation context across sessions
TC AI supports 15+ cutting-edge AI models from leading companies, all completely free:
- GPT-4.1 Nano - Lightning-fast general purpose AI
- GPT-4.1 Nano Fast - Ultra-speed variant for quick responses
- GPT-5 Nano - Next-generation AI with advanced capabilities
- GPT-4o Audio - Multimodal AI with voice input/output support
- GPT-4.1 Large - Premium large-scale model
- o4-mini Reasoning - Advanced reasoning and problem-solving
- Llama 3.1 8B - Efficient and powerful open-source AI
- Llama 3.2 11B Vision - Advanced vision-capable model
- Google Gemini 2.5 Flash Lite - Google's fast and efficient AI
- Mistral Small 3.1 - European AI excellence
- Qwen 2.5 Coder - Specialized coding assistant by Alibaba
- BIDARA - NASA's biomimetic research assistant
- DeepSeek R1 - Advanced reasoning model
- MIDIjourney - AI music generation
- Mirexa AI - Creative companion
- Rtist - Artistic AI assistant
- Evil - Uncensored AI for unrestricted conversations
- Unity - Unrestricted agent for open discussions
All models feature:
- β 100% Free - No hidden costs or limits
- β‘ Real-time switching - Change models instantly
- π§ Tool support - Advanced function calling
- πΌοΈ Vision capabilities - Image understanding (select models)
- π΅ Audio support - Voice input/output (select models)
- Local Storage: All your conversations stay on your device
- Secure API Integration: Safe and encrypted communication with AI services
- No Data Mining: Your privacy is our top priority
- TypeScript Safety: Full type safety prevents runtime errors
- Framework: Next.js 14 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Custom components with Radix UI primitives
- Animations: Framer Motion
- Icons: Lucide React
- State Management: React Context API
- Storage: Local Storage for chat persistence
- Node.js 18+ installed on your system
- Your favorite package manager (npm, yarn, or pnpm)
- A modern web browser
- Clone the TC AI repository:
git clone https://github.com/mostaghell/TCommunity-AI-Web-Application.git
cd tc-ai- Install dependencies:
# Using npm
npm install
# Using yarn
yarn install
# Using pnpm (recommended for speed)
pnpm install- Configure your environment:
cp .env.example .env.localImportant: TC AI requires API keys to function properly. Add your API keys to .env.local:
# Required: Pollinations AI API Token
POLLINATIONS_API_TOKEN=your_pollinations_api_token_here
# Optional: Add other AI service tokens
# OPENAI_API_KEY=your_openai_key_here
# ANTHROPIC_API_KEY=your_anthropic_key_hereπ How to get API keys:
- Pollinations AI: Visit pollinations.ai to get your free API token
- OpenAI: Get your key from platform.openai.com
- Anthropic: Visit console.anthropic.com
# Start the development server
npm run dev
# or
yarn dev
# or
pnpm devπ Open http://localhost:3000 and experience the magic!
# Build for production
npm run build
npm start
# or with other package managers
yarn build && yarn start
pnpm build && pnpm startβββ app/ # Next.js App Router
β βββ api/ # API routes
β βββ globals.css # Global styles
β βββ layout.tsx # Root layout
β βββ page.tsx # Home page
βββ components/ # React components
β βββ ui/ # Reusable UI components
β βββ chat-header.tsx # Chat header component
β βββ chat-input.tsx # Message input component
β βββ chat-message.tsx # Message display component
β βββ chat-sidebar.tsx # Chat list sidebar
β βββ ...
βββ contexts/ # React contexts
β βββ chat-context.tsx # Chat state management
βββ hooks/ # Custom React hooks
βββ lib/ # Utility functions
βββ public/ # Static assets
βββ styles/ # Additional styles
βββ utils/ # Helper utilities
- ChatContext: Centralized state management for all chat operations
- ChatSidebar: Interactive sidebar for chat navigation and management
- ChatHeader: Clean header with title and subtitle
- ChatMessage: Renders individual messages with proper formatting
- ChatInput: Advanced input component with send functionality
- TypingIndicator: Smooth typing animations
- BackgroundEffect: Animated gradient background
- ModelSelector: AI model selection interface
- AudioPlayer: Built-in audio playback support
The project uses several configuration files:
tailwind.config.ts: Tailwind CSS configurationnext.config.mjs: Next.js configurationtsconfig.json: TypeScript configurationcomponents.json: UI components configuration
- Start a New Chat: Click the "New Chat" button in the sidebar
- Send Messages: Type your message and press Enter or click Send
- Manage Chats: Right-click on chat items to rename or delete
- Switch Models: Use the model selector to choose different AI models
- Responsive Design: The interface adapts to different screen sizes
TehranCommunity (TC) welcomes developers from around the world! We believe in the power of collaboration and open-source development.
- π΄ Fork the repository
- πΏ Create your feature branch (
git checkout -b feature/AmazingFeature) - π» Code with passion and follow our coding standards
- β Test your changes thoroughly
- π Commit your changes (
git commit -m 'Add some AmazingFeature') - π Push to the branch (
git push origin feature/AmazingFeature) - π Open a Pull Request
- Follow TypeScript best practices
- Maintain the existing code style
- Add tests for new features
- Update documentation when needed
- Be respectful and collaborative
Building the future of AI interfaces
π Lead Developer & Architect
D3F417
The mastermind behind TC AI's revolutionary design
"We're not just building software, we're crafting experiences that bridge the gap between humans and artificial intelligence."
This project is proudly open source and available under the MIT License.
Made with β€οΈ by [TehranCommunity](https://github.com/mostaghell
Experience the future of AI interaction today!