dabit3/react-native-ai

Full stack framework for building cross-platform mobile AI apps

What it solves

It provides a full-stack framework for developers to quickly build cross-platform mobile AI applications. It simplifies the integration of Large Language Models (LLMs) and image generation services into a mobile interface, handling the complex parts of real-time streaming and server-side proxying.

How it works

The framework consists of a mobile app (built with React Native) and a server proxy. The server acts as an intermediary between the mobile app and various AI providers (like OpenAI, Anthropic, Gemini, and Moonshot), allowing developers to easily implement authentication and authorization. The app includes pre-built UIs for chat and image generation, which can be customized via a theme system.

Who it’s for

Mobile developers who want to integrate AI capabilities into their apps without building the chat and image generation infrastructure from scratch.

Highlights

  • Multi-model support: Integrates with OpenAI, Anthropic, Gemini, Z.ai, and Moonshot.
  • Real-time streaming: Supports streaming text responses for a more responsive chat experience.
  • Image generation: Includes built-in support for Gemini's image models.
  • Server proxy: Simplifies the security of API keys and user authentication.
  • Customizable themes: Comes with five built-in themes and a simple API for adding new ones.

Related

  • Project
  • Project
  • Project
  • Project
  • Project