Popularity
4.4
Stable
Activity
0.0
Declining
74
4
16
Programming language: Kotlin
License: MIT License
Tags:
Web
Latest version: v1.1.12
kottpd alternatives and similar libraries
Based on the "Web" category.
Alternatively, view kottpd alternatives based on common mentions on social networks and blogs.
-
ktor
Framework for quickly creating connected applications in Kotlin with minimal effort -
javalin
A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin] -
apollo-android
:robot: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform. -
http4k
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services. -
spark-kotlin
A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha -
skrape.it
A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion. -
hexagon
Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform. -
firefly
Firefly is an asynchronous web framework for rapid development of high-performance web application. -
fritz2
Easily build reactive web-apps in Kotlin based on flows and coroutines. -
A pure Kotlin, UI framework
A pure Kotlin UI framework for the Web (and desktop). -
vaadin-on-kotlin
Writing full-stack statically-typed web apps on JVM at its simplest -
alpas
🚀 The Rapid and Delightful Kotlin Web Framework. Easy, elegant, and productive! -
ShapeShift️
A Kotlin/Java library for intelligent object mapping and conversion between objects. -
lambda-kotlin-request-router
A REST request routing layer for AWS lambda handlers written in Kotlin -
tekniq
A framework designed around Kotlin providing Restful HTTP Client, JDBC DSL, Loading Cache, Configurations, Validations, and more -
bootique-kotlin
Provides extension functions and features for smooth development with Bootique and Kotlin. -
Pellet
An opinionated, Kotlin-first web framework that helps you write fast, concise, and correct backend services 🚀. -
Zeko-RestApi
Asynchronous web framework for Kotlin. Create REST APIs in Kotlin easily with automatic Swagger/OpenAPI doc generation -
komock
KoMock - Simple HTTP/Consul/SpringConfig http server framework written in Kotlin. Wiremock use cases -
voyager-server-spring-boot-starter
Easily create REST endpoints with permissions (access control level) and hooks includeded
Appwrite - The Open Source Firebase alternative introduces iOS support
Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Promo
appwrite.io
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of kottpd or a related project?
Popular Comparisons
README
kottpd
Kottpd - REST framework written in pure Kotlin. It is available from maven central repository. It supports plain HTTP and secured HTTPs.
<dependency>
<groupId>com.github.gimlet2</groupId>
<artifactId>kottpd</artifactId>
<version>0.2.0</version>
</dependency>
val server = Server() // default port is 9000
server.staticFiles("/public") // specify path to static content folder
server.get("/hello", { req, res -> res.send("Hello") }) // use res.send to send data to response explicitly
server.get("/hello_simple", { req, res -> "Hello" }) // or just return some value and that will be sent to response automatically
server.get("/do/.*/smth", { req, res -> res.send("Hello world") }) // also you could bind handlers by regular expressions
server.post("/data", { req, res -> res.send(req.content, Status.Created) }) // send method accepts status
// Filters
server.before("/hello", { req, res -> res.send("before\n") })
server.before({ req, res -> res.send("ALL before\n") })
server.after("/hello", { req, res -> res.send("\nafter\n") })
server.after({ req, res -> res.send("ALL after\n") })
// exceptions handler
server.exception(IllegalStateException::class, { req, res -> "Illegal State" })
server.start(9443, true, "./keystore.jks", "password") // for secured conection
server.start()