kweb-core icon indicating copy to clipboard operation
kweb-core copied to clipboard

A Kotlin web framework

Kweb 🦆

Build Status

Quick Start

Read Getting Started from the User Manual.

Overview

Kweb is a new way to create beautiful, efficient, and scalable websites in Kotlin, where server-browser communication is handled automatically.

Example

import kweb.*

fun main() {
  Kweb(port = 16097) {
    doc.body {
      h1().text("Hello World!")
    }
  }
}

API Stability

Kweb's API is likely to change between now and our 1.0.0 release, so you may need to modify your code to stay current with Kweb versions. We won't do this without a good reason.

Learn More