Skip to main content

Android development CLI by Rafael Alves

Project description

rf — Android Development CLI

Automação inteligente para desenvolvimento Android.

      /\        /\
     /  \      /  \
 ╔═══════════════════════╗
 ║  ◉               ◉  ║
 ╠═══════════════════════╣
 ║  ▸ rf  ·  leafar      ║
 ║  android  ai  agent   ║
 ╚═══════════════════════╝
   powered by Rafael Alves

Instalação

# Via script (recomendado — instala tudo automaticamente)
curl -fsSL https://raw.githubusercontent.com/faelmg18/leafar/main/install.sh | sh

# Via pipx (ambiente isolado)
pipx install rf-leafar

# Via pip (macOS: use pip3)
pip3 install rf-leafar

Requisitos: Python 3.10+, Node.js, Android SDK (adb no PATH)

pipx instala o rf em ambiente isolado — não interfere no Python do sistema e remove limpo com pipx uninstall rf-leafar.

Testando sem instalar permanentemente

# Instala, usa e remove
pip3 install rf-leafar
rf init
# ... quando terminar:
pip3 uninstall rf-leafar -y

O rf requer Python 3.10+, Node.js e adb no PATH — certifique-se que o ambiente Android está configurado (Android Studio instalado).

Primeiros passos

cd /seu-projeto-android
rf init    # configura o projeto automaticamente
rf chat    # abre o terminal de desenvolvimento

Comandos

rf init          # Detecta package, configura ferramentas, gera CLAUDE.md
rf chat          # Abre o terminal de desenvolvimento
rf ask "..."     # Executa uma tarefa diretamente
rf run           # Build + instala + lança o app no emulador
rf screenshot    # Captura a tela do emulador
rf navigate      # Navega para uma tela do app
rf debug         # Depura um problema no app

O que o rf faz

Conecta seu projeto Android a um conjunto de ferramentas de automação:

Categoria Ferramentas
Emulador screenshot, tap, swipe, input de texto, teclas
ADB comandos diretos, hierarquia de UI, activity atual
App launch, stop, install APK
Código leitura, escrita e busca em arquivos
Gradle build, install, testes

Integrações

Configure dentro do terminal conforme precisar:

  • 🐙 GitHub/github-login
  • ☁️ Azure DevOps/azure-login
  • 🎨 Figma — via plugin

Licença

MIT © Rafael Alves

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rf_leafar-0.1.8.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rf_leafar-0.1.8-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file rf_leafar-0.1.8.tar.gz.

File metadata

  • Download URL: rf_leafar-0.1.8.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for rf_leafar-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7136f5b4f24724c2dacb9b1457dc72f0d18526e91e3ca1a4706014502856c5ab
MD5 5d75d0d8a046ba463b1c37ac170fba75
BLAKE2b-256 aac28fa9f393afa259e2697e2bb540c26d578a0cea6e2a944b75fec93c73ff8d

See more details on using hashes here.

File details

Details for the file rf_leafar-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: rf_leafar-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 56.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for rf_leafar-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 64645f073b564d4a11ab38139331adf9d44a3318f2043e3772a1ebc15e1b32e9
MD5 1a6cf614f36cd90f5ee5d27cd9e9e533
BLAKE2b-256 90d026abd46a7fa524fea3e16d11d21385f4afc7adc9f0260e83fcb70e4fc80a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page