Skip to content

digit1024/LunaAI

Repository files navigation


🌙 Luna AI

Your brilliant AI companion for desktop and mobile!

A modern, native application that brings powerful AI conversations to your desktop, phone, and tablet with seamless MCP integration.

✨ What is Luna AI?

Luna AI is your intelligent companion that combines the power of modern AI with the beauty of native integration. Available on desktop and mobile, Luna brings you:

  • 🤖 Smart Conversations - Real-time streaming responses that feel natural and engaging
  • 📱 Mobile & Desktop - Use Luna on your phone, tablet, or desktop - all in sync
  • 🔧 MCP Superpowers - Connect to tools and services through Model Context Protocol
  • 🎨 Beautiful Interface - Native design that feels right at home
  • 💾 Memory Management - Save, organize, and revisit your conversations
  • 🔌 Flexible Backends - Support for multiple AI providers and local models

🚀 What Can Luna Do?

🎯 Core Features

  • Real-time Chat: Watch responses stream in with smooth, non-blocking UI
  • Cross-Platform: Desktop and mobile apps that sync seamlessly
  • Voice Mode: Speech recognition and text-to-speech for hands-free conversations
  • Conversation History: Never lose a brilliant idea - save and search all your chats
  • MCP Integration: Connect to external tools, APIs, and services
  • File Attachments: Share documents and images directly in conversations
  • Keyboard Shortcuts: Navigate like a pro with efficient keyboard controls (desktop)

🔧 MCP Magic

Luna's MCP integration opens up a world of possibilities:

  • File Operations: Read, write, and manage files directly from conversations
  • Web Search: Fetch real-time information from the internet
  • Email Management: Send, receive, and organize emails
  • Task Management: Integrate with your todo lists and productivity tools
  • Custom Tools: Extend Luna's capabilities with your own MCP servers

💡 Examples of What You Can Do

# Ask Luna to help with programming
"Write a Rust function that sorts a vector of integers"

# Get real-time information
"What's the current weather in Warsaw?"

# File management
"Read the contents of my project's README file"

# Email tasks
"Send an email to my team about the project update"

# Web research
"Find the latest news about AI developments"

# Task management
"Add 'fix the bug in login module' to my todo list"

🔌 Supported Backends

Luna AI supports multiple AI providers, giving you flexibility and choice:

🌐 Cloud Providers

  • OpenAI - GPT-4, GPT-3.5, and other OpenAI models
  • Anthropic - Claude models with advanced reasoning
  • Google - Gemini models and Google AI services
  • Azure OpenAI - Enterprise-grade OpenAI deployments

💻 Local Models

  • Ollama - Run local models like Llama, Mistral, and more
  • Custom endpoints - Connect to any OpenAI-compatible API

🔧 Configuration

Easily switch between backends in the settings or configure multiple providers for different use cases. See the Configuration Guide for detailed setup instructions.

🛠️ Installation

Desktop Application

Building from Source

git clone https://github.com/digit1024/LunaAI.git
cd LunaAI
cargo build

Running

cargo run

Running as Server

Run Luna in server mode to access it from mobile devices and other clients:

cargo run -- --server

Mobile App

The mobile app is available in the mobile_app/ directory. Built with Flutter, it connects to the desktop server via WebSocket.

See the Mobile App README for installation instructions.

🏗️ Architecture

Luna AI is built with modern technologies:

  • Desktop: Rust with COSMIC desktop framework for native integration
  • Mobile: Flutter for cross-platform mobile support (Android, iOS)
  • Server Mode: HTTP/WebSocket server for multi-device access
  • tokio: Async runtime for smooth performance
  • MCP Protocol: Tool calling and external service integration
  • Real-time Streaming: Live response updates across all platforms

📸 Screenshots

🖥️ Desktop

Desktop Conversation

Beautiful conversations on the COSMIC desktop

Desktop Conversation History

Manage and revisit your conversation history

Desktop Settings

Configure your AI backends and preferences

Desktop MCP Integration

Powerful MCP tool integration and configuration

📱 Mobile

Mobile Conversation

Chat with Luna on the go

Mobile Voice Mode

Voice mode for hands-free conversations

Mobile Settings

Mobile settings and configuration

🤝 Contributing

We welcome contributions! Whether it's bug reports, feature requests, or code contributions, feel free to:

  • Open an issue
  • Submit a pull request
  • Join the discussion

📄 License

MIT License - Feel free to use, modify, and distribute!


Ready to experience intelligent desktop computing?

Clone the repo and start chatting with Luna today! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •