Build a Browser by Kotlin
summary
Mozilla repacks browser functionality as reusable Android Components written in Kotlin and demonstrates building a working browser by wiring concept engine, session, toolbar and feature components together. The demo uses GeckoView as the default engine and can swap to the system WebView at runtime, adds tracking protection, reader view and an “awesome bar” autocomplete, and runs live with a few small demo hiccups but successful page loads. Concrete claims: components are Maven artifacts, engines are pluggable, and feature wiring actually runs.
AI-written summary · about
chapters (12)
- 0:00Start
- 3:03Goals
- 3:55Components?
- 5:55Browser Engine
- 6:39GeckoView
- 8:02Engine Components
- 32:40Extension functions
- 34:22Functions & Sealed classes
- 34:47data classes
- 35:09Type aliases
- 36:49Scoped flow
- 37:46Flow operators
related talks
39mBuilding a Browser Extension with Kotlin
57mBuilding dynamic web apps with Kotlin, WebComponents and Htmx
33mBuilding modern web apps with Kotlin and WebAssembly
24mKotlin and Compose WASM for the UI challenged
41mIt Just Works
22mChrome and Android: Past, Present, Future
45mAn Android, a Desktop, and a web developer enter in a bar
25mFirefox for Android
