Skip to content

About

The Android app for Pyo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pyo for Android

The Android app for Pyo. Kotlin and Jetpack Compose.

Requirements

  • JDK 17
  • Android SDK with platform 37.1 and Build Tools 36.0.0

What the app does

  • Sign in to Pyo Cloud or a self-hosted Pyo with its URL. Keys are stored encrypted with the Android Keystore. Several accounts can be signed in.
  • Projects and services: deploy, restart, stop, scale, logs, deployment pages, rollback. Rollback asks for the phone's fingerprint, face or screen lock. Without a screen lock, rollback is refused.
  • Service pages: variables (secrets revealed on request), domains, volumes, scaling, cron jobs, firewall rules, the web firewall, and project settings.
  • Databases and storage: Postgres, MySQL and KV databases, backups and restore, extensions, logs, analytics, team backups, volumes, images and the registry.
  • Servers: clusters, servers, placement, maintenance, removal, and a join command for a new server.
  • Members and teams: invite, change roles, remove, create and rename teams.
  • Failed deploys: a background check runs about every 15 minutes and posts a notification for each new failure. Tapping it opens the deployment.
  • Vercel, read only: projects and recent deployments. The token is stored on the phone and sent to Vercel.
  • Move to Pyo: imports Vercel projects into Pyo. After you confirm, the app sends the Vercel token to your Pyo for that import. Pyo keeps it in memory and doesn't store it. Owners and admins only.

Limits:

  • Failed-deploy notices are checked in the background, not pushed. They can arrive up to about 15 minutes late, and not at all while the phone has no network or the OS stops background work.
  • Services can't be created from the app yet, and variables and domains can't be added or edited. Use the dashboard for those.

Build

The Gradle wrapper downloads Gradle 9.9.2 and checks its checksum.

./gradlew assembleDebug      # app/build/outputs/apk/debug/app-debug.apk
./gradlew installDebug       # install on a connected phone or emulator

CI

.github/workflows/build.yml builds the debug app on every push and pull request. Download it from the run's pyo-debug-apk artifact.

API spec

api/pyo.json is a copy of Pyo's OpenAPI spec from pyo-docs/openapi/pyo.json (Pyo 0.53.0). The API client is generated from it. Refresh it after each Pyo release.

License

Apache-2.0.

About

The Android app for Pyo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages