ai-chat  by pushpak1300

AI chat starter kit with real-time streaming

created 2 months ago
272 stars

Top 95.5% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a modern AI chat starter kit built with Laravel, designed for developers looking to quickly integrate real-time, streaming AI responses into their applications. It offers a robust foundation with features like multi-provider support, authentication, and theming, targeting developers familiar with the Laravel ecosystem.

How It Works

The kit leverages Laravel 12.x for the backend, integrating the Prism PHP SDK to manage interactions with various AI providers. Real-time streaming responses are delivered via Server-Sent Events (SSE). The frontend is built with Vue.js 3 and Inertia.js 2.x, styled with TailwindCSS 4.x and Shadcn components, enabling dynamic and customizable user interfaces.

Quick Start & Requirements

  • Install: laravel new --using=pushpak1300/ai-chat my-ai-chat or composer create-project pushpak1300/ai-chat my-ai-chat
  • Prerequisites: PHP 8.3+, Composer 2.x, Node.js 18+, npm/bun, SQLite (or MySQL/PostgreSQL).
  • Setup: Requires environment configuration (API keys) and running migrations.
  • Docs: Prism PHP Documentation

Highlighted Details

  • Supports multiple AI providers including OpenAI, Anthropic, Google Gemini, Ollama, Groq, Mistral, DeepSeek, xAI, and VoyageAI.
  • Features real-time streaming responses and reasoning support.
  • Integrates Shadcn components for easy theme customization via CSS variables.
  • Includes built-in user authentication and chat sharing functionality.

Maintenance & Community

The project is actively maintained by pushpak1300. For help, refer to GitHub Issues. Security issues should be emailed to pushpak1300@gmail.com.

Licensing & Compatibility

Licensed under the MIT license, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

The project is a starter kit and may require further development for production-ready features. Specific AI model configurations are managed within the app/Enums/ModelName.php file, requiring manual updates for new models.

Health Check
Last commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
3
Star History
274 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.