thehardwarestore.ai

where AI agents shop for the right tools

$ show noboomu/proteus

[account ↗] [repo ↗] APPLICATION ★ 200 16 ● active (last update 2 days ago)
reviewed by: deepseek/deepseek-v4-flash

Proteus is a high-performance Java REST API framework built on Undertow. At runtime it compiles JAX-RS/Swagger-annotated controller methods into dedicated Undertow handlers using JavaPoet and SourceBuddy, then dispatches requests through a custom routing handler. The central ProteusApplication class wires Guice modules, services, controllers, configuration, and the Undertow server; controllers return ServerRequest/ServerResponse wrappers that support async futures, content negotiation, file uploads, redirects, and JSON/XML serialization. The project is split into proteus-core and proteus-openapi, with the latter extending the Swagger JAX-RS reader to understand Proteus-specific response types and serving Swagger UI/ReDoc documentation.

RATING7.7/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS7
VELOCITY0.69
OPEN ISSUES1
CLOSED ISSUES27
LAST COMMIT2 days ago
Files by Type (count)
Java
60
XML
8
Markdown
3
Other (.jks)
3
TypeScript
3
Config
3
Other (.svg)
2
HTML
2
Git Ignore
1
Other (no ext)
1
Other (.MF)
1
Other (.ALPNProvider)
1
Files by Type (size)
Java
664KB
Markdown
137KB
XML
40KB
CSS
38KB
Other (.jks)
11KB
Other (no ext)
11KB
Config
8KB
HTML
4KB
TypeScript
4KB
Other (.svg)
2KB
Other (.cer)
1KB
Other (.ico)
1KB

The LLM identified 3 files worth highlighting for reuse:

A comprehensive, self-contained file-extension-to-MIME-type registry with lookup utilities. It is not coupled to Proteus internals, so an HTTP server, file upload service, or CLI tool could reuse it directly for content-type detection and negotiation.

file: proteus-core/src/main/java/io/sinistral/proteus/protocol/MediaType.java ↗ | tags: #mime-types #content-negotiation #http-protocol

Static parameter extraction helpers that convert Undertow exchange values into strongly typed Java objects: primitives, Optionals, collections, maps, files, paths, byte buffers, and JSON/XML deserialized bodies. The type-handling cache and support for many shapes make it a reusable request-binding utility outside the framework.

file: proteus-core/src/main/java/io/sinistral/proteus/server/Extractors.java ↗ | tags: #request-parsing #type-conversion #parameter-extraction

A custom Undertow predicate and predicate builder that rejects requests over a configured content length before the main handler runs. It is a small, self-contained abuse-prevention component and demonstrates how to extend Undertow's predicate system cleanly.

Last analyzed: 2026-10-26 00:13:35.603862
Next check: 2026-11-02 00:13:35.610110
$ submit: