Home

Awesome

PocketPal AI 📱🚀

PocketPal AI is a pocket-sized AI assistant powered by small language models (SLMs) that run directly on your phone. Designed for both iOS and Android, PocketPal AI lets you interact with various SLMs without the need for an internet connection.

Table of Contents

📰 News & Announcements

Features

Installation

iOS

Download PocketPal AI from the App Store:

Download on the App Store

Android

Get PocketPal AI on Google Play:

Get it on Google Play

Usage

For a detailed guide on how to use PocketPal AI, check out the Getting Started Guide.

Downloading a Model

  1. Open the app and tap the Menu icon (☰).
  2. Navigate to the Models page.
  3. Choose a model from the list and tap Download.

Loading a Model

Advanced Settings

Chatting with the model

  1. Ensure a model is loaded.
  2. Navigate to the Chat page from the menu.
  3. Start conversing with your AI assistant!

Copying Text

Note: Preserving text formatting while copying is currently limited. We're working on improving this feature.

Development Setup

Interested in contributing or running the app locally? Follow the steps below.

Prerequisites

Getting Started

  1. Fork and Clone the Repository

    git clone https://github.com/a-ghorbani/pocketpal-ai
    cd pocketpal-ai
    
  2. Install Dependencies

    yarn install
    
  3. Install Pod Dependencies (iOS Only)

    cd ios
    pod install
    cd ..
    
  4. Run the App

    • iOS Simulator

      yarn ios
      
    • Android Emulator

      yarn android
      

Scripts

Contributing

We welcome all contributions! Please read our Contributing Guidelines and Code of Conduct before you start.

Quick Start for Contributors

  1. Fork the Repository

  2. Create a New Branch

    git checkout -b feature/your-feature-name
    
  3. Make Your Changes

  4. Test Your Changes

    • Run on iOS

      yarn ios
      
    • Run on Android

      yarn android
      
  5. Lint and Type Check

    yarn lint
    yarn typecheck
    
  6. Commit Your Changes

    • Follow the Conventional Commits format:

      git commit -m "feat: add new model support"
      
  7. Push and Open a Pull Request

    git push origin feature/your-feature-name
    

Roadmap

Feel free to open issues to suggest features or report bugs.

License

This project is licensed under the MIT License.

Contact

For questions or feedback, please open an issue.

Acknowledgements

PocketPal AI is built using the amazing work from:


Happy exploring! 🚀📱✨