# flipkart-incubator/proteus

Proteus : A JSON based LayoutInflater for Android

Repository: https://github.com/flipkart-incubator/proteus
Canonical: https://ross.abutalabs.com/products/proteus
Language: Java
License: Apache-2.0
License Family: permissive
Topics: proteus, java, android, data-binding, json, layout-engine, data, binding, functions, dynamic-layout
Last push: 2021-11-22T11:55:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4514, "days_push": 1745, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1312, forks 190 (observed 2026-08-28T04:04:20.234461+00:00)

## What it is
Proteus is a JSON-based layout engine for Android that acts as a drop-in replacement for LayoutInflater, inflating native Android views at runtime from JSON layouts instead of compiled XML. It supports runtime data bindings, formatters, and custom views/attributes, enabling server-driven UI control without WebViews.

## Use cases
- render android ui from json layouts at runtime
- server-driven ui for native android apps
- update app layouts from backend without app release
- replace xml layoutinflater with json-based inflation
- bind data to android views dynamically
- build a/b tested or dynamic native screens

## When to choose
- you need to change native Android layouts from a backend without shipping app updates
- you want server-driven UI with native views instead of WebViews
- you need runtime data binding with custom views, attributes, and functions

## When to avoid
- your layouts are static and rarely change - standard XML layouts are simpler
- you need a actively developed project - the latest release is from 2021
- you want cross-platform server-driven UI rather than Android-only

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, templating, state-management
- domain: mobile-development, frontend, android-tools
- platform: jvm
- tags: layout-inflater, server-driven-ui, dynamic-layouts, data-binding, json-layouts, runtime-ui, android, mobile

## Member repositories
- flipkart-incubator/proteus (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.234461+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:49:04.894139+00:00, confidence not recorded.
  - readme: https://github.com/flipkart-incubator/proteus (fetched 2026-08-28T04:04:20.234461+00:00, sha ec61a618474b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
