AIApplication  by Nathan-code-development

Cross-platform .NET MAUI app for multi-AI model interaction

Created 4 months ago
960 stars

Top 37.7% on SourcePulse

GitHubView on GitHub
Project Summary

This .NET MAUI application provides a unified, cross-platform mobile interface for interacting with multiple large language models, including DeepSeek, Doubao, and Qwen. It targets developers and power users seeking a consolidated platform for AI model experimentation, offering features like rich attachment support, persistent chat history, user authentication, and a comprehensive model gallery, thereby streamlining AI model interaction on mobile devices.

How It Works

The application is built using .NET MAUI for cross-platform UI development, with C# handling backend logic and service layers. It leverages HttpClient for REST API communication with a backend server and System.Text.Json for data serialization. Local data persistence for session state and user information is managed via Preferences, while MediaPicker and FilePicker enable image and file attachments respectively. The architecture supports seamless switching between different AI models and includes a dedicated "Model Square" for comparing various AI offerings.

Quick Start & Requirements

  • Primary install/run command: Clone the repository (git clone https://github.com/Nathan-code-development/AIApplication.git), navigate into the directory (cd AIApplication), configure API keys and backend URL, then build and run from Visual Studio.
  • Non-default prerequisites: .NET 8 SDK or later, Visual Studio 2022 (17.8+) or VS Code with MAUI workloads, and a development environment for target platforms (Android/iOS/macOS/Windows). A separate Spring Boot-based backend server with specific endpoints is required.
  • Configuration: Replace placeholder API keys in Services/AiApiService.cs and update the backend base URL in Services/ApiConfig.cs.
  • Relevant pages: Project repository: https://github.com/Nathan-code-development/AIApplication.git

Highlighted Details

  • Multi-Model Chat: Supports seamless switching between DeepSeek, Doubao, and Qwen AI models.
  • Rich Attachments: Allows sending images and various text file types (PDF, TXT, JSON) as context within chats.
  • Chat History: Automatically saves and groups conversations into topics, enabling users to browse and resume past interactions.
  • Model Square: Features a gallery showcasing 8 popular AI models with detailed specifications, capability radars, pricing, and user reviews.
  • User Management: Includes email verification, login, profile management (avatar, display name, bio), and secure API integration notes.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), or project roadmap are provided in the README.

Licensing & Compatibility

  • License type: MIT License.
  • Compatibility notes: The MIT license is permissive and generally compatible with commercial use and closed-source linking.

Limitations & Caveats

API keys are hardcoded directly into the client-side code (Services/AiApiService.cs) for demonstration purposes, posing a significant security risk for production environments. The provided demo backend compares passwords in plain text, necessitating secure hashing in real-world applications. A functional backend server with specific endpoints is a mandatory external dependency for the application to operate fully.

Health Check
Last Commit

2 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.