Skip to content

About

Android Harmony app

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

License: GPL v3

Brapmony

A native Android client for Harmony: Kotlin and Jetpack Compose, talking straight to your instance. Messages, servers, social, files, notifications and voice calls, all drawn by the app.

Download the APK · All releases · What is not finished yet

Direct messages, with Home, a server and More in a bar at the bottom A server's channels, one tap from the conversation The social feed: posts with replies, boosts and likes

Direct messages · a server's channels · the social feed

Install

The newest release has one APK, named for the commit it was built from (Brapmony-0.1.0-606ab10-debug.apk), and its notes say what changed. Every earlier release is on the releases page with its own APK, so a build stays downloadable after later ones are published.

  1. Open it on the phone or tablet and tap the downloaded file.
  2. Allow the install when Android asks. The APK is test-signed, so Play Protect may warn.
  3. On first launch, enter your instance's address and sign in.

Over a cable:

adb install -r Brapmony-0.1.0-606ab10-debug.apk

Android 8.0 (API 26) or newer. A signature mismatch means an older build signed with a different key: uninstall it once.

The app also checks for a newer build by itself, once a day at most and only while it is open. When one is published it offers it with a Download button that goes straight to the APK, so a tap downloads it and the next tap installs it over the running build. The switch is in You → Updates; docs/builds.md says what it asks GitHub and why it asks it that way.

Names, keys and checksums: docs/builds.md.

What it does

  • Direct messages, servers, channels and threads, paged.
  • Messages with mentions, custom and unicode emoji, images, links, attachments and stickers, plus reactions, replies, edits, deletes and pins.
  • Server management: channels, roles, members, invites and bans.
  • A social feed — following, local and the fediverse — with profiles, follow and block lists, and posting.
  • Drive: your files and the ones shared with you, with owners and quotas.
  • Notifications: a local inbox filtered by kind, and taps that open the screen they name.
  • Voice and video channels over LiveKit.
  • Your account's own look: theme, accent colour, density and text size.

Screenshots

The app's own render tests, with fixture data: JVM captures, not device photos. More in docs/evidence/.

The instance picker: a wordmark, an address field and Connect The notification inbox, grouped by day, with unread rows toned The file browser: quota in the app bar, a filter row, files with size, kind and owner

Connecting to an instance · notifications · Drive

A voice channel before joining: who is already in it, and one Join button The message actions sheet: quick reactions above reply, copy, thread, pin, edit and delete The account screen in the light theme: identity, then grouped settings rows

Joining a voice channel · message actions · the account screen in the light theme

A tablet layout: the servers as a rail, the conversation list, and the conversation

On a tablet: the servers as a rail beside the conversation

Status

Work in progress: no end-to-end encryption or key recovery, no push notifications, and several media and administration flows are missing. Not a drop-in replacement for the official client. docs/parity-audit.md has the gaps; docs/parity-matrix.md tracks each screen.

Try it with a throwaway account.

Build

JDK 21 and the Android command-line tools:

sdkmanager 'platform-tools' 'platforms;android-37.0' 'build-tools;37.0.0'
export ANDROID_HOME=/path/to/android-sdk
export JAVA_HOME=/path/to/jdk21

./gradlew :app:assembleDebug :app:testDebugUnitTest :app:lintDebug

The debug APK lands in app/build/outputs/apk/debug/app-debug.apk. AGP 9.5.1 supplies Kotlin, so there is no org.jetbrains.kotlin.android plugin; the wrapper pins Gradle 9.9.1 and its SHA-256.

Package io.github.wwpol.brapmony, compiled and targeted at SDK 37. Signing keys, SDK paths and generated APKs stay out of Git: a release build uses a keystore from outside the tree, or the test key.

Test

JVM only, no device:

./gradlew :app:testDebugUnitTest :app:lintDebug

Some suites draw real composables through Robolectric, so a screen's pixels are compared without an emulator. Anything needing a real screen runs on an emulator, never on a phone in use.

Release tooling and the documentation's links, which need Node 24:

npm ci
npm test

Run it

demo.sh builds, installs on an attached emulator and opens:

export ANDROID_HOME=/path/to/android-sdk
./demo.sh

The build points at an instance on the host gateway (http://10.0.2.2:54480; override with NATIVE_INSTANCE_URL and NATIVE_ANON_KEY). Unset, it starts on the instance picker.

doctor.sh repairs a launch that aborts before any app code runs — the platform failing to mount the app's device-protected data — without losing data:

./doctor.sh --serial emulator-5554
./doctor.sh --serial emulator-5554 --repair --apk app/build/outputs/apk/debug/app-debug.apk

upgrade-test.sh installs two builds one over the other and checks the data survived. Signing configurations: docs/builds.md.

Documentation

Contributing

Bugs, features and pull requests: CONTRIBUTING.md. Security reports go to SECURITY.md, not a public issue.

License

Copyright (C) 2024-present the WWPOL contributors. Free software under the GNU General Public License, version 3 or later; no additional terms.

AndroidX, Kotlin, OkHttp, Coil and LiveKit are Apache 2.0; see COPYRIGHT.

About

Android Harmony app

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages