LastChat  by Cocolalilal

Feature-rich AI assistant app for Android

Created 7 months ago
279 stars

Top 92.9% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

LastChat is a feature-rich AI assistant application for Android, forked from RikkaHub and significantly enhanced with Claude Opus and GPT Codex models. It targets Android users seeking a privacy-focused, highly personalized AI chat experience, offering advanced capabilities, multi-modal inputs, and robust local-first data storage. The primary benefit is a powerful, customizable, and private AI companion directly on mobile devices.

How It Works

This project diverges from its RikkaHub origin by incorporating advanced AI models like Claude Opus and GPT Codex. Its core innovation lies in a RAG-based memory system that leverages embeddings to allow assistants to recall details from past conversations, fostering more coherent interactions. The application supports diverse multi-modal inputs, including text, images, video, and audio. Architecturally, it features integrated Python (via Chaquopy) and JavaScript (via QuickJS) engines, enabling script execution and extensibility. Web search capabilities provide real-time information access, while a strict local-first data storage policy ensures user privacy, with optional secure WebDAV backups for data synchronization.

Quick Start & Requirements

As an Android application, installation typically involves building the project from source code or obtaining a pre-compiled APK. The development stack relies heavily on Kotlin and Jetpack Compose for the UI. Essential dependencies include Koin for dependency injection, Room and DataStore for persistent storage, WorkManager and AlarmManager for background task reliability, Chaquopy for seamless Python integration, and QuickJS for JavaScript execution. Specific hardware requirements, such as GPU or CUDA versions, are not detailed, but a compatible Android environment is necessary.

Highlighted Details

  • Multi-Provider Support: Facilitates easy setup with pre-defined provider presets and allows for custom provider configurations.
  • RAG Memory System: Enables assistants to maintain context and "remember" information from previous interactions through vector embeddings.
  • Rich Multi-Modal Inputs: Users can interact using text, images, video, and audio, offering versatile input methods.
  • Integrated Scripting Engines: Built-in support for Python (Chaquopy) and JavaScript (QuickJS) allows for custom logic and extended functionalities.
  • Local-First Data Storage: All chat history and vector memory are stored exclusively on the user's device, prioritizing privacy.
  • WebDAV Backup: Offers secure data synchronization and backup to any WebDAV-compatible server.
  • Modern UI/UX: Features a Material You 3 design for a fluid, expressive, and personalized user interface.
  • Image Generation Module: Includes a dedicated interface for generating images using supported AI models.
  • Text-to-Speech (TTS): Supports system TTS or alternative providers for voice output.

Maintenance & Community

The provided README does not contain information regarding notable contributors, sponsorships, community channels (such as Discord or Slack), or a public roadmap, making it difficult to assess the project's ongoing maintenance and community engagement.

Licensing & Compatibility

The README does not explicitly state the software license under which LastChat is distributed. Consequently, its compatibility for commercial use, integration with closed-source projects, or specific usage restrictions remains undetermined.

Limitations & Caveats

This project is a fork of RikkaHub, and as such, it may contain unique modifications, features, or potential divergences not present in the original repository. It is exclusively an Android application, limiting its deployment and use to the Android ecosystem. The README provides no details on alpha/beta status, known bugs, performance benchmarks, or potential deprecations.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
8
Issues (30d)
18
Star History
64 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.