v1.7.17

A lightweight Java framework for modern apps

Build efficient, scalable applications with a unified CLI and Web architecture. Zero boilerplate, maximum performance.

High Performance

Engineered for speed with minimal overhead. Handles high-throughput workloads with ease.

86,000+
Requests / Second

Simple & Elegant

No main() method required. Just pure logic.

JAVA
package com.example;

import org.tinystruct.AbstractApplication;
import org.tinystruct.system.annotation.Action;

public class HelloApp extends AbstractApplication {

    @Action("hello")
    public String hello() {
        return "Hello, World!";
    }
    
    @Action("users/{id}")
    public User getUser(String id) {
        return userService.findById(id);
    }
}

Unified Architecture

Write your logic once and expose it as both a Command Line Interface and a Web API instantly.

Multiple Servers

Built-in support for Netty, Tomcat, and Undertow. switch between them with a simple flag.

AI Ready (MCP)

Native integration with Model Context Protocol for building next-gen AI applications.

Real-time SSE

Push updates to clients instantly with built-in Server-Sent Events support.

Lightweight

Tiny footprint with minimal external dependencies. Perfect for microservices.

Zero Configuration

Convention over configuration principles. Start coding immediately without XML hell.