/divkit

DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app

Primary LanguageSwiftOtherNOASSERTION

DivKit Playground app

GitHub stars

DivKit 🐋 is an open source Server-Driven UI (SDUI) framework. It allows you to roll out server-sourced updates to different app versions. Also, it can be used for fast UI prototyping, allowing you to write a layout once and then ship it to iOS, Android, and Web platforms. DivKit is an excellent choice to start using server-driven UI in your project because it can be easily integrated as a simple view in any part of your app. At the starting point, you don’t need a server integration. You can include all JSON on the client-side to try it in a real-world application.

Also, we’ve made a sandbox for you to experiment with. You can try different samples in the web editor and see the results on the web or in the Android demo app, both of which are available on Google Play. We’ll publish the iOS demo app shortly. The UI in the demo can be updated live: the sandbox connects to the demo app via web sockets. You can use the DivKit website to find a lot of handy samples and documentation, but feel free to ask us anything here in the comments or via the Telegram community chat.

Documentation | Medium tutorial | Habr tutorial.

Telegram: News | English-speaking chat | Чат на русском.

Twitter

Demo App

Get it on Google Play

Project structure

Client

Client side libraries for rendering UI on Android, iOS and Web.

Android, iOS, Web

Json-builder

Server side libraries for building JSON in DivKit format.

TypeScript, Kotlin

Schema

JSON schema that describes DivKit data format.

Api Generator

Used for generating general Api for all platforms from Schema.

Test data

Samples and test data.