Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of server applications (Web applications or APIs) that run inside a cloud platform.
Hexagon is designed to fit in applications that conform to the Hexagonal Architecture (also called Clean Architecture, Onion Architecture or Ports and Adapters Architecture). Its design principles also fit into this architecture.
This is free and open source software.
Key Features
- The HTTP server: supports HTTPS, HTTP/2, mutual TLS, static files (serve and upload), forms processing, cookies, sessions, CORS and more.
- The HTTP client: which supports mutual TLS, HTTP/2, cookies, form fields and files among other features.
- Template Processing: allows template processing from URLs (local files, resources or HTTP content) binding name patterns to different engines.
- Modular – each feature (Port) or adapter is isolated in its own module. Use only the modules you need without carrying unneeded dependencies.
- Pluggable Adapters – every Port may have many implementations (Adapters) using different technologies. You can swap adapters without changing the application code.
- Batteries Included – contains all the required pieces to make production-grade applications: logging utilities, serialization, resource handling and build helpers.
Website: github.com/hexagontk/hexagon
Support: GitHub Code Repository
Developer: Juanjo Aguililla and Hexagon contributors
License: MIT License
Hexagon is written in Kotlin. Learn Kotlin with our recommended free books and free tutorials.
Related Software
| Kotlin Web Frameworks | |
|---|---|
| Ktor | Asynchronous framework for creating microservices, web applications and more |
| Javalin | Simple web framework for Java and Kotlin |
| http4k | Lightweight but fully-featured HTTP toolkit |
| Spark | Simple expressive web framework for Java and Kotlin |
| KVision | Object oriented web framework for Kotlin/JavaScript |
| Kobweb | Modern framework for full stack web apps |
| Hexagon | Build server applications (Web applications or APIs) that run inside a cloud platform |
| Jooby | Modern, performant and easy to use web framework for Java and Kotlin |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

