Kotlin DSL

Open-source Kotlin projects categorized as DSL

Top 18 Kotlin DSL Projects

  • GitHub repo Balloon

    :balloon: A lightweight popup like tooltips, fully customizable with an arrow and animations.

  • GitHub repo kotlinx.html

    Kotlin DSL for HTML

  • GitHub repo MaterialDrawerKt

    A Kotlin DSL wrapper around the mikepenz/MaterialDrawer library.

  • GitHub repo Only

    :bouquet: An easy way to persist and run code block only as many times as necessary on Android. (by skydoves)

  • GitHub repo kohttp

    Kotlin DSL http client

  • GitHub repo valiktor

    Valiktor is a type-safe, powerful and extensible fluent DSL to validate objects in Kotlin

    Project mention: Data class validation | reddit.com/r/Kotlin | 2021-03-14


  • GitHub repo better-parse

    A nice parser combinator library for Kotlin

  • GitHub repo kotlin-csv

    Pure Kotlin CSV Reader/Writer

  • GitHub repo kotlin-jpa-specification-dsl

    This library provides a fluent DSL for querying spring data JPA repositories using spring data Specifications (i.e. the JPA Criteria API), without boilerplate code or a generated metamodel.

    Project mention: What is the Specification Pattern | reddit.com/r/programming | 2021-03-04

    If you are using Kotlin, kotlin-jpa-specification-dsl provides a very convenient way to generate Specifications from KPropertys.

  • GitHub repo units-of-measure

    Type-safe dimensional analysis and unit conversion in Kotlin.

    Project mention: Type-safe Units with Measured | reddit.com/r/Kotlin | 2021-01-23

    A somewhat related project but have you taken a look at https://github.com/kunalsheth/units-of-measure

  • GitHub repo KidAdapter

    kotlin dsl for kids to simplify RecyclerView.Adapter logic

  • GitHub repo ksvg

    A Multiplatform Kotlin SVG image DSL.

  • GitHub repo kaadin

    Kotlin DSL for Vaadin

    Project mention: The state of JVM desktop frameworks: TornadoFX | dev.to | 2021-01-31

    Kaadin, a DSL to create user interfaces with Vaadin

  • GitHub repo tekniq

    A framework designed around Kotlin providing a full-featured HTTP Framework, Restful HTTP Client, JDBC DSL, Loading Cache, Configurations, Validations, and more

  • GitHub repo Kandy

    Sweet Android libraries written in Kotlin

  • GitHub repo MapNeat

    MapNeat is a JVM library written in Kotlin that provides an easy to use DSL (Domain Specific Language) for transforming JSON to JSON, XML to JSON, POJO to JSON in a declarative way.

  • GitHub repo breeze-framework

    基于Kotlin的整合代码框架,为标准库和其他框架提供各种有用的扩展。Integrated code framework based on Kotlin, provides many useful extensions for standard library and some frameworks. (by DragonKnightOfBreeze)

  • GitHub repo xemantic-kotlin-swing-dsl

    Express your swing code easily in kotlin

    Project mention: In 2021, should I be using a GUI builder or writing by hand? | reddit.com/r/java | 2021-01-19
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-03-14.


What are some of the best open-source DSL projects in Kotlin? This list will help you:

Project Stars
1 Balloon 1,809
2 kotlinx.html 1,146
3 MaterialDrawerKt 509
4 Only 467
5 kohttp 437
6 valiktor 280
7 better-parse 251
8 kotlin-csv 246
9 kotlin-jpa-specification-dsl 203
10 units-of-measure 71
11 KidAdapter 54
12 ksvg 50
13 kaadin 41
14 tekniq 28
15 Kandy 18
16 MapNeat 17
17 breeze-framework 7
18 xemantic-kotlin-swing-dsl 3