react-native-ai  by dabit3

Full-stack framework for cross-platform mobile AI app development

created 1 year ago
1,137 stars

Top 34.5% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a full-stack framework for building cross-platform mobile AI applications, targeting developers who want to integrate LLM chat, natural language to image generation, and image processing into their React Native apps. It simplifies the integration of multiple AI models and providers, offering a streamlined development experience for AI-powered mobile experiences.

How It Works

The framework employs a client-server architecture. The React Native client handles the UI and user interactions, while a Node.js server acts as a proxy, managing API integrations, authentication, and potentially complex backend logic. This separation allows for flexible configuration of various LLM providers (OpenAI, Anthropic, Cohere, Gemini, Mistral) and image generation models via Fal.ai, with real-time streaming responses for chat UIs.

Quick Start & Requirements

  • Install/Run: npx rn-ai to generate a new project.
  • Prerequisites: Node.js. Environment variables need to be configured in server/.env.
  • Running the app: npm start in the app directory.
  • Running the server: npm run dev in the server directory.
  • Documentation: Video tutorial available via link in README.

Highlighted Details

  • Supports multiple LLM providers including OpenAI ChatGPT, Anthropic Claude, Cohere, Gemini, and Mistral.
  • Integrates image generation models from Fal.ai.
  • Features real-time/streaming responses and OpenAI Assistants support (code interpreter, retrieval).
  • Includes a server proxy for authentication and authorization.
  • Offers theming with 5 built-in themes and easy customizability.

Maintenance & Community

No specific information on contributors, sponsorships, or community channels (like Discord/Slack) is provided in the README.

Licensing & Compatibility

The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.

Limitations & Caveats

Extending functionality with new LLM or image models requires manual updates to both the client (constants, screens, utils) and server (routers, handlers) codebases. The project appears to be in an early stage, with no explicit versioning or stability guarantees mentioned.

Health Check
Last commit

8 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
86 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.