Musheer360/SwiftSlate

Android accessibility service for AI-powered text transformation

What it solves

SwiftSlate is a system-wide AI text assistant for Android that eliminates the need to copy-paste text between apps and an AI chatbot. It allows users to transform, fix, or translate text directly within any app's input field by typing a short trigger command.

How it works

The app uses Android's Accessibility Service to monitor text changes in real-time. When a user types a specific trigger (e.g., ?fix), the service detects it and routes the request based on the command type:

  • AI Commands: The text is sent to a configured AI provider (like Gemini, Groq, or a local LLM via Ollama) using a round-robin API key rotation system. The original text is replaced in-place with the AI's response, with an animated spinner showing progress.
  • Text Replacer Commands: These run entirely offline, instantly replacing a trigger with a predefined string (e.g., a signature or canned response).
  • Text-Selection Menu: For apps where accessibility services are restricted, users can select text and choose SwiftSlate from the Android system popup menu to process the text.

Who it’s for

Android users who frequently use AI to refine their writing, translate text, or insert repetitive snippets across various messaging, email, and social media apps.

Highlights

  • Multi-Provider Support: Compatible with Google Gemini, Groq, and any OpenAI-compatible endpoint, including local LLMs.
  • Inline Replacement: Replaces text directly in the input field without app switching.
  • API Key Rotation: Supports multiple keys to bypass rate limits automatically.
  • Encrypted Storage: API keys are secured using AES-256-GCM and the Android Keystore.
  • Offline Capabilities: Includes local text replacer and clipboard commands that require no internet or API keys.
  • Privacy-Focused: Zero telemetry or tracking; text is only sent to the chosen AI provider.

Related

  • Project
  • Project
  • Project
  • Project
  • Project