Testing Software

Ohkami – declarative web framework

Ohkami is a declarative web framework focused on type-safe request handling and flexible asynchronous execution. Its API allows developers to associate HTTP methods and paths with handler functions directly, without requiring procedural macros for ordinary route definitions. The framework uses a unified abstraction for request handlers and middleware, making it possible to combine application endpoints with reusable processing components.

A notable aspect of Ohkami is its support for different execution environments. Applications can use several native asynchronous runtimes, with additional support for serverless platforms such as Cloudflare Workers and AWS Lambda. The framework also integrates OpenAPI generation with its routing and request-handling model, helping documentation reflect the actual behaviour of application endpoints. Ohkami provides facilities for conventional HTTP APIs, streaming responses and interactive connections, while allowing developers to test request handling without starting a network listener.

This is free and open source software.

Key Features

  • Declarative, macro-free HTTP routing with type-safe handlers.
  • Support for GET, POST, PUT, PATCH, DELETE and OPTIONS routes.
  • Nested applications and composable route definitions.
  • Typed extraction of path parameters and request data.
  • Unified Fang abstraction for handlers and middleware.
  • Global and route-specific middleware composition.
  • Authentication and security components, including Basic authentication, CORS, CSRF and JWT handling.
  • Support for Tokio, smol, nio, monoio and Compio runtimes.
  • Cloudflare Workers and AWS Lambda execution environments.
  • Automatic OpenAPI documentation generation integrated with application routes.
  • Server-Sent Events for streaming updates.
  • WebSocket communication.
  • Static directory serving with support for pre-compressed assets.
  • TLS support through rustls.
  • Graceful server shutdown on supported native runtimes.
  • Request-handling tests without opening network connections.

Website: github.com/ohkami-rs/ohkami
Support:
Developer: kanarus
License: MIT License

Ohkami is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Web Frameworks
axumErgonomic and modular web framework
warpComposable, web server framework
hyperProtective and efficient HTTP library
LocoWeb or API framework for Rust
GothamFlexible web framework that promotes stability, safety, security and speed
RocketAsync web framework focusing on usability, security, extensibility, and speed.
PoemFull-featured and easy-to-use web framework
ntexFramework for composable network services
TrilliumModular toolkit for building async web applications
zinoNext-generation framework for composable applications
IronExtensible, concurrency focused web development
VidiFast, robust, flexible, lightweight web framework
Xitca-WebHTTP library and web framework
ThrusterFast, middleware based, web framework
RwfFull-stack Rust platform for scalable, database-backed applications
nickelSimple and lightweight foundation for web applications
CotRust toolkit for fast, type-safe apps with built-in admin tools
GraphulExpress inspired web framework
RoaAsync web framework inspired by koa, lightweight but powerful
OhkamiIntuitive and declarative web framework

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted