tinystruct
Active·★ 334·Apache-2.0·Updated 2026-05-27
★ Dev Tooling★ API Integration
A lightweight, modular Java application framework for web and CLI development, designed for AI integration and plugin-based architecture. Enabling developers to create robust solutions with ease for building efficient and scalable applications.
tinystruct is a simple, high-performance Java framework designed for both web and command-line applications. It emphasizes minimal configuration, annotation-based routing, and a built-in lightweight HTTP server for efficient development.
#Java Framework#Web Framework#CLI Tool#High Performance#Minimal Configuration#Annotation-based#Lightweight HTTP Server#Backend Development
01
Features
01No `main()` method required for direct CLI execution.
02Unified design for both CLI and Web applications from a single codebase.
03Built-in lightweight HTTP server, removing the need for separate containers.
04Minimal configuration philosophy for increased developer productivity.
05Annotation-based routing for clean and intuitive application development.
02
Compatibility
Java
Runtime
Verified via docs
JDK 17+
Requirement
Verified via docs
Maven
Build Tool
Verified via docs
03
Quick start
1
$ git clone https://github.com/tinystruct/tinystruct.git
2
$ cd tinystruct
3
$ mvn clean install
04
Use cases
↳Developing high-performance web applications and APIs.
↳Building robust command-line interface (CLI) tools.
↳Creating hybrid applications combining web and CLI functionalities.
↳Implementing backend services for AI tasks and script automation.
05
Alternatives
Gemini CLI★ 104.7k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
dagster★ 15.6k
An orchestration platform for the development, production, and observation of data assets.
Scrapling★ 55.0k
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
gptme★ 4.3k
Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.
Related searches
Comments
Log in to leave a comment
- SSam NguyenApr 19, 2026
Web and CLI from the same codebase is a clean design choice.
- Kendall LeeApr 13, 2026
Good for Java developers who want minimal overhead for simple services.
- SSage BrownMar 26, 2026
Lightweight Java framework that doesn't impose heavy abstractions.
- RRebel JacksonFeb 27, 2026
Modular architecture means you take what you need.