The Habit

com.scuba323.thehabit
by ⚡tephen stephen@vanderwarker.family

Track app usage and sync to Nostr.

The Habit is a minimalist Android application that tracks your daily app usage and anchors that data to the Nostr network. Features: - Real-time tracking of device app usage & screen time. - Nostr Integration (Kind 30345). - Home screen widget support. - Privacy first: End-to-end NIP-44 encrypted telemetry. - Amber & external Nostr signer support.

First release: Aug 29, 2026, 3 total releases.

Most recent release: Sep 27, 2026.

Website Repo

Appears in 2 app stacks.

0 sats / 0 zaps received in the past year.

Sats Received

Underlying data available via MCP: app_zaps, app_releases.

Zap Count

Underlying data available via MCP: app_zaps, app_releases.

Releases

  • Sep 27, 2026 2.0.2
    ### Added - **NIP-58 Nostr Badges & Achievements Dashboard**: Added dedicated `BadgesActivity` with real-time tracking of Available, Awarded, and On-Profile badges. - **Dynamic Kind 30009 Badge Discovery**: Automatic relay querying for issuer badge definitions (`ea0817bcb...`) matching `wellbeing-thehabit-*`, enabling dynamic updates and new badge definitions without requiring APK updates. - **NIP-58 Profile Badge Management**: Toggle to activate awarded badges on Nostr profile (Kind 30008) with protective confirmation dialog and NIP-65 outbox broadcasting. - Single NIP-01 multi-filter WebSocket subscription (`["REQ", subId, filterAwards, filterProfile, filterDefs]`) with immediate Citrine localnet resolution and robust timeout latch. - **Amber NIP-55 Login Onboarding**: Added dedicated onboarding slide with one-tap Amber login requesting bundled permissions (Kind 30345 telemetry signing, NIP-44 encryption/decryption, and public key access). - **Citrine Local Offline Relay Integration**: Added native support for Citrine offline relay (`ws://127.0.0.1:4869`), local event broadcasting via `com.shared.NOSTR` Intent, and toggle in Relay settings. - **Multi-Relay History Deduplication**: Implemented parallel multi-relay fetching with per-day latest-event deduplication (`ConcurrentHashMap`), atomic countdown latch, and instant WebSocket closure upon EOSE/CLOSED. - **Dark Cyberpunk Theme Unification**: Unified application styling with `#160F24` background, glass card surfaces with `#322846` stroke borders, `#E0AAFF` header accents, `#00E676` live indicators, and pill action buttons across Settings, Relays, Logs, and Onboarding. - Added Android Quick Settings Tile (thehabit-android TileService) for glanceable status and quick actions.
    More…
    - Added modern adaptive launcher icon support (mipmap-anydpi-v26) with safe-zone insets. - Standardized 512x512 square master assets and circular-masked legacy mipmaps across all densities. ### Fixed - Fixed NIP-44 decrypted plaintext parsing in `cleanCiphertext()` by eliminating spurious Base64 `=` padding on decoded JSON content, restoring past days' habit history display. - Removed brittle `resolveContentProvider` checks in `NostrUtils.kt` enabling seamless background NIP-55 ContentProvider queries across Android 11+. ### Changed - Preserved existing valid 64-char ID and 128-char signature in `fixEventId()` to prevent invalidating external Amber signatures. - Refined home screen widget layout and data presentation.
  • Sep 3, 2026 2.0.1
  • Aug 29, 2026 2.0.0