Welcome to Kalgan!

A Rust framework for Web Developers.

Kalgan helps you to develop fast while keeping things simple and secure. It provides a robust set of features so you can focus on writing your app only.

It takes the best of the best web frameworks out there. It doesn't matter if you're new to Rust's ecosystem, if you're familiar with other frameworks you'll manage with Kalgan easily.

Current Version: 0.9.1

Get Started
routes:
    - hello_world:
        path: /hello-world
        controller: hello_world_controller::index
use kalgan::http::{ request::Request, response::Response };

pub fn index(_request: &Request) -> Response {
    render!("hello_world.html")
}
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>Hello World!</title>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
</html> 

Fast to develop

Get rid of boilerplate code and don't reinvent the wheel. Changes in your config, routes, messages or templates are taken on the fly!

For web developers

Kalgan makes things simpler and takes the best of other web frameworks. Even if you're new to Rust you'll find it easy to use.

As fast and secure as Rust is

Kalgan is robust and fast. High performance and strong security are guaranteed.

Decoupled Routing System

Routes are not hardcoded in the source code but encapsulated in a different component. This provides flexibility a cleaner structure.

Template Engine: Tera

Kalgan is integrated with Tera. Probably the best template engine for Rust out here.

i18n

Kalgan comes with a friendly translation system out of the box which integrates with Tera.

Cookies & Sessions

Kalgan provides full support to manage cookie and session objects easily.

And many more services

SQLx integration, cache system, SMTP mailer, security tools, error handling...

Console Terminal Kalgan