Skip to content
New projectAndroid · v1.0.0 Released

अवलोकन · to observe

Avalokan.

Discover Nepal. Explore its heritage. Experience its stories.

A native Android heritage explorer for Nepal — historical places, cultural stories, festivals, and the details worth knowing before you go. Built with Kotlin, Jetpack Compose, and Material 3, backed by Firebase and cached offline with Room.

Download APK Source

v1.0.0 · 20 MB APK · Android 7.0+ · 22s launch film inside

Avalokan logo — Nepal Heritage Explorer

Nepal Heritage Explorer

4
Firestore collections
9
Compose screens
Offline-first
Reads after first sync
API 24+
Android support

Launch film

Open full size

Cut from real captures of the app running on a 1080×2400 emulator — no mockups, no invented screens. Assembled with HyperFrames.

One place for Nepal's places, stories, and happenings

Nepal holds centuries of history, living traditions, sacred places, architectural wonders, and festivals that bring communities together. Finding the stories behind those places — and what is happening next — usually means searching across many different sources.

Avalokan brings those experiences together in one app: discover destinations, read editorial stories, browse events, save places to a personal collection, and optionally sign in to sync a profile with Firestore. Content streams from Cloud Firestore into an offline-first Room cache, so the app still reads well on a mountain road with one bar of signal.

Content that feels curated

Places, stories, and events are separate Firestore collections — each with its own editorial layout instead of one generic detail screen.

Designed after the landscape

Forest green, sage, sand, and terracotta with Montserrat and Inter — an earthy system built to make heritage feel present, not archival.

Avalokan is a single-activity Compose app organised around a repository layer that hides two data sources. Snapshot listeners keep Firestore live, Room keeps the last known good state on disk, and ViewModels expose one state stream to the UI — so screens never care where the data came from.

Core experience

  • Explore heritage — landmarks, cultural destinations, and religious sites
  • Read stories — Story of the Day plus a full editorial reader
  • Find events — featured festival card, upcoming list, and booking CTA
  • Discover places — search and category-aware cards with save toggles
  • Save & collect — bookmarks live locally, no sign-in required
  • Your profile — name, bio, avatar, saved places, and stats
  • Account (optional) — anonymous by default, upgrade any time

The name matters

Avalokan (अवलोकन) means observation — looking closely at something with attention. That's the whole product thesis: look at Nepal properly, then tell its stories well.

Engineering decisions

Decisions behind the cache

Avalokan's hardest problems are not visual. They are about which source the interface reads, when cached data may be replaced, and where user state belongs. These are the decisions implemented in the repository today.

  1. Room is the stream the UI reads

    Context
    Content lives in Firestore, but the app has to open on a weak or absent connection without an empty screen.
    Choice
    Firestore snapshot listeners write into Room. Repositories expose the Room flow and map Room entities to domain models, so ViewModels see one state stream. Listener and snapshot failures are logged instead of cancelling the cached stream.
    Trade-off
    Screens never wait on the network for their first paint, but the UI can trail the server by a snapshot, and every synced collection needs a Room schema plus a mapping layer.

    Alternative (not implemented): Reading Firestore directly from ViewModels would remove the mapping layer but put a network dependency in the first paint. Not implemented.

  2. Only server-confirmed data may remove cache

    Context
    Firestore can report a document missing from its local cache before the server confirms a deletion, and a cold offline start can produce an empty cached snapshot.
    Choice
    A missing document is deleted only when the snapshot is server-confirmed. Cache replacement is skipped for empty cached snapshots, while an empty server snapshot remains authoritative.
    Trade-off
    A good Room cache is not wiped offline, but a real server-side deletion can leave a stale row visible until the next server snapshot arrives.
  3. Treat the database as a disposable cache

    Context
    Places, events, and stories are remote content. None of the Room tables hold user-created records.
    Choice
    The database registers a destructive fallback for schema changes, plus a real v9 to v10 migration that preserves cached rows while the classification columns are added.
    Trade-off
    Schema work stays cheap and the cache self-heals, but the fallback must be removed before any user-owned data is stored there. That contract is documented in AppModule.
  4. Relationships are ID lists, not foreign keys

    Context
    Content is document-shaped: a story references places, an event references places and other events, and each collection syncs independently.
    Choice
    Related IDs are stored as List<String> columns through Room type converters. Repositories resolve them into domain objects.
    Trade-off
    There is no database-level referential integrity and broken references must be handled in code. In exchange, each Firestore document maps to one row without joins or sync ordering.
  5. Device-local preferences stay out of Firestore

    Context
    Saved places, visited places, favourite events, theme, notifications, and the avatar belong to one install.
    Choice
    They live in Preferences DataStore behind a PreferencesStore interface. Synced content stays in Room.
    Trade-off
    These flags are fast and device-scoped, but they do not follow the user across devices or reinstalls.

Data model

The entities behind the app

The Room tables mirror three Firestore content collections, plus a small sync layer and device-local preferences. This is the subset that explains how the app is put together, not a full schema dump.

Avalokan Room entities, sync layer, and device-local preferences
EntityImportant fieldsResponsibilityNote
PlaceItemplacesFieldsid (PK), name, description, meta, imageUrl, primaryCategory, secondaryCategories, typologies, attributes, tags, locality, relatedPlaceIds, relatedEventIds, provenance fieldsResponsibilityRoom cache of a Firestore place document. Mapped to the domain Place at the repository boundary.NoteNo Room foreign keys; related content is referenced by string ID lists.
EventItemeventsFieldsid (PK), title, description, date, fee, joinLink, eventKind, locality, ticketing, priceBasis, participation, format, relatedPlaceIds, relatedEventIds, provenance fieldsResponsibilityCached events and festivals, including the fields needed for registration and classification.NoteType, reach, participation, and pricing stay independent so a technology conference is not forced into a festival type.
StoryItemstoriesFieldsid (PK), title, subtitle, description, author, date, readTime, placeIds, primaryCategory, typologies, tags, relatedEventIds, period, provenance fieldsResponsibilityEditorial stories, including Story of the Day and the full reader.NoteStories reference places and events by ID rather than by database relations.
SnapshotBatchsync layer (not persisted)Fieldsitems, isFromCacheResponsibilityMaps a Firestore snapshot to Room entities and applies the cache policy before writing.NoteKept separate from Firebase so the policy can be tested without an emulator.
PreferencesStoreDataStoreFieldsthemeChoice, notificationsEnabled, avatarLocalUri, savedPlaceIds, favoriteEventIds, visitedPlaceIdsResponsibilityDevice-local user state used by the profile, saves, and settings screens.NoteNot part of the Firestore content cache and not a Room entity.

Screens

Captured on a 1080×2400 emulator

Design system

Forest green#1B4332
Sage#6B8F7A
Sand#E8D7B7
Terracotta#C86F4A
Warm ivory#F5F3ED

Typography

Montserrat headings, Inter body

Layout

8dp grid, floating bottom bar

Window

Edge-to-edge with correct insets

Keep exploring

Related projects

Launch film music: Happy Beats Business Moves, Vol. 12 by Sascha Ende (ende.app), licensed under CC BY 4.0.