# Streamlord > A Datastar toolchain for Kotlin. Datastar lives in strings your compiler never reads. Streamlord checks them in your editor, when the event is built, and before a byte reaches the browser, with adapters for Ktor and Spring. The SDK speaks the Datastar 1.0.5 Server-Sent Events protocol and is published to Maven Central under `io.github.markusaugust.streamlord`. The editors, a VS Code extension and an IntelliJ plugin, read Datastar as a language wherever it is written and need no part of the SDK. Every page in one file: https://streamlord-docs.netlify.app/llms-full.txt ## Start here - [Introduction](https://streamlord-docs.netlify.app/introduction/): A Datastar toolchain for Kotlin: an SDK for Ktor and Spring, assertions for your tests, an analysis for your CI, and two editor extensions. - [Install and modules](https://streamlord-docs.netlify.app/install/): You need one artifact, two if you want the DSL, three at most. Here is which. - [Your first stream](https://streamlord-docs.netlify.app/first-stream/): From an empty route to a patched element, and the bytes in between. - [The protocol](https://streamlord-docs.netlify.app/protocol/): Since 1.0, Datastar knows two SSE events. Everything else is built on those two. ## The adapters - [Ktor](https://streamlord-docs.netlify.app/ktor/): respondDatastar, readSignals, and the plugin that wires them together. - [Spring WebMVC](https://streamlord-docs.netlify.app/spring-webmvc/): datastarStream on a servlet response, and the one bean that configures it. - [Spring WebFlux](https://streamlord-docs.netlify.app/spring-webflux/): Mapping a Flow of Datastar events onto a reactive response. - [Live views](https://streamlord-docs.netlify.app/live-views/): A page whose state the server owns, kept up to date over a stream, and the URL that goes with it. - [Signals and codecs](https://streamlord-docs.netlify.app/signals/): Reading the browser's store as a map, or as your own data class. ## Markup - [The kotlinx.html DSL](https://streamlord-docs.netlify.app/html-dsl/): Every Datastar attribute, action and modifier of 1.0.5, as typed extension functions. - [Strings](https://streamlord-docs.netlify.app/strings/): A function that returns HTML is a first-class way to write markup here. - [Templates](https://streamlord-docs.netlify.app/templates/): Pebble, Thymeleaf, JTE, kte, FreeMarker, Velocity, Mustache: render, then pass the string. - [Casing](https://streamlord-docs.netlify.app/casing/): One name for a signal, in Kotlin and in the browser, and the keys the DSL writes for it. - [Choosing a style](https://streamlord-docs.netlify.app/choosing-a-style/): Three ways to write markup, served as equals, and what each one costs. - [Components and plain JavaScript](https://streamlord-docs.netlify.app/components/): Custom elements, third-party widgets and your own scripts next to a page the server morphs. ## The tooling - [The $ trap](https://streamlord-docs.netlify.app/dollar-trap/): Kotlin's dollar and Datastar's dollar are the same character and not the same thing. - [Testing](https://streamlord-docs.netlify.app/testing/): Assert the events your endpoint sent, in Ktor, in Spring, without a framework, and on a stream that stays open. - [The analysis](https://streamlord-docs.netlify.app/analysis/): The check your editor runs, as a library: one test over src/main/kotlin, a signal no page declares, and the same verdict behind a route. - [The editors](https://streamlord-docs.netlify.app/editors/): A VS Code extension and an IntelliJ plugin that read Datastar as a language. ## Running it - [Operations](https://streamlord-docs.netlify.app/operations/): Reconnects, heartbeats, proxies and threads: what a long-lived stream needs before it goes to production. - [Security](https://streamlord-docs.netlify.app/security/): Every byte from the browser is untrusted, and the protocol has more sharp edges than it looks. ## Beyond - [Native image](https://streamlord-docs.netlify.app/native-image/): Streamlord in a GraalVM native image: the build file, the serializers, the resources and the container, in the order you need them. - [Datastar Pro](https://streamlord-docs.netlify.app/datastar-pro/): Opt-in helpers that write the documented Pro attribute names. No Pro code, ever. - [Java](https://streamlord-docs.netlify.app/java/): Streamlord is a Kotlin library. If your service is written in Java, use the official Datastar Java SDK. - [Architecture](https://streamlord-docs.netlify.app/architecture/): Ports and adapters, and why the core imports no framework. - [Changelog](https://streamlord-docs.netlify.app/changelog/): What each release changed, and what it asks of your code. - [Roadmap](https://streamlord-docs.netlify.app/roadmap/): What is planned but not shipped, in the order it will land, and what to do in your own code until each one does. - [Licence and cost](https://streamlord-docs.netlify.app/licence/): What Streamlord costs, what you may do with it, what is not promised, and how to contribute or fork.