- Overview
- Quick Tutorial Video
- Latest Improvements
- Features
- Requirements
- Installation
- Usage
- Configuration
- Contributing
- Disclaimer
- License
LMSA is now available for download on the Google Play Store with exciting new features |
- Improved Reasoning Model Integration: Enhanced interaction with various reasoning models
- File Upload Support: Chat with your documents right from your Android device!
- Refreshed User Interface: Completely revamped UI for better usability
- Instructional Video Guide: New helpful video tutorial for getting started
- Model Information Toggle: Added ability to show/hide loaded model information
- App Refresh Capability: Easily refresh the entire app to load a different model after changes on the computer
- Enhanced Sidebar: Upgraded side bar UI for improved navigation
- Tablet Support: Optimized interface for tablet devices
- Improved Reasoning Model Integration: Enhanced interaction with various reasoning models
- Refreshed User Interface: Completely revamped UI for better usability
- Instructional Video Guide: New helpful video tutorial for getting started
- Model Information Toggle: Added ability to show/hide loaded model information
- App Refresh Capability: Easily refresh the entire app to load a different model after changes on the computer
- Enhanced Sidebar: Upgraded side bar UI for improved navigation
- Tablet Support: Optimized interface for tablet devices
LMSA (LM Studio Assistant) is an open-source Android front-end application for LM Studio. It provides a clean, user-friendly interface to interact with language models on your Android device. LMSA is designed with privacy in mind, offering a tracking-free and ad-free experience for users who want to leverage the power of large language models on their mobile devices.
- No Tracking: Your data and interactions remain private.
- Ad-Free: Enjoy a clean, distraction-free experience.
- System Prompt: Set and modify the system prompt to guide your AI interactions.
- Adjustable Temperature: Fine-tune the LLM's creativity directly from your device.
- Clean Design: Intuitive and minimalistic UI for effortless navigation.
- Model Display: Easily view the currently loaded language model on your device.
- Open Source: Transparent codebase, open for community contributions and audits.
- LM Studio Integration: Seamless connection with LM Studio's powerful language model capabilities.
Before using LMSA, ensure that the following requirements are met:
- Android Device: You must have a device running Android 7.0 (Nougat) or higher.
- LM Studio: LM Studio must be installed and running on a network-accessible computer.
- Network Configuration:
- CORS (Cross-Origin Resource Sharing) must be enabled in LM Studio settings to allow cross-origin requests from LMSA.
To set up the LMSA application on your development environment:
-
Clone the repository:
git clone https://github.com/techcow2/lmsa.git
-
Navigate to the project directory:
cd lmsa
-
Set up the web application:
- The project consists of HTML, CSS, and JavaScript files
- Main files include:
index.html
- The main application interfacestyles.css
- Styling for the applicationapp.js
- Core application logicreasoning.js
- AI interaction handlingdelete-all-chats.js
- Chat management functionalityempty-message-modal.js
- UI componentshelp.js
- Help documentationabout.js
- About page information
-
Testing locally:
- Open
index.html
in a web browser to test the application - Alternatively, use a local web server:
# Using Python's built-in HTTP server python -m http.server
- Open
-
Building for Android:
- Use a WebView wrapper or framework like Cordova/PhoneGap to package the web application for Android
- Follow the framework's documentation for specific build instructions
Now available on the Google Play Store for easy installation on Android devices.
- Supported Devices: Android 6.0 and higher
- Features: The Google Play version includes all functionality of the web application plus additional mobile-optimized features
- Updates: The app will receive regular updates through the Play Store
- Run LM Studio: Start LM Studio on your computer.
- Enable Server: Run the server within LM Studio.
- Load Model: Load the model of your choice in LM Studio.
- Network Configuration:
- Ensure CORS and network sharing are enabled in LM Studio settings.
- Copy IP Address: Find and copy the IP address of your computer.
- Connect LMSA to LM Studio:
- Launch the LMSA app on your Android device.
- Navigate to the Settings menu in LMSA.
- Enter the copied IP address in the designated field.
- Tap 'Close' to save the settings.
- Interact with the Model: Start interacting with the AI model through LMSA's clean interface.
- Navigate to the Settings menu.
- Find the "System Prompt" section.
- Enter your desired system prompt to guide the AI's behavior.
- During a conversation, locate the temperature slider.
- Adjust the slider to increase (more creative) or decrease (more focused) the temperature.
The currently loaded model will be displayed at the top of the main interface.
We welcome contributions to LMSA! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear, descriptive messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
LMSA is a third-party application and is not affiliated with LM Studio or its developers. This app is independently developed to provide an Android front-end interface for interacting with LM Studio. Use of this app is at your own discretion, and the developers of LMSA are not responsible for any issues arising from its use.
LMSA is released under the MIT License. Feel free to use, modify, and distribute the code as per the license terms