Tango Web API
by Pankraz01
Tango Web API is a library that gives other mods one shared embedded HTTP server, so each mod can expose its own endpoints and static files without writing its own web layer.
What it does
Tango Web API runs a single HTTP server that mods share. A mod registers routes under its own namespace, such as modid/..., and can serve static files from its own folder. The shared server starts and stops with the game, so each mod does not need its own copy of the web code. The library also provides built-in routes at tango-webapi/health, tango-webapi/info and tango-webapi/routes, and it returns simple HTML error pages for 404, 405 and 503 responses.
Host, port and the maximum request size are set through environment or system properties: tango.webapi.host, tango.webapi.port and tango.webapi.max bytes. Files are published for Fabric and NeoForge, for game versions 1.21.8 – 1.21.11. Either side can run Tango Web API, and neither needs it. It is released under the MIT License and is not open source.
Key features
Shared HTTP server
One embedded server handles requests for every mod that uses the library, so dependent mods skip building their own.
Namespaced routes
get, post and registerRoute calls attach endpoints to a mod's own namespace, keeping paths from clashing between mods.
Built-in status routes
Health, info and route listing endpoints are available without extra code, so server owners can check what is running.
Configurable host and limits
Host, port and maximum request size can be changed through environment or system properties.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Mod web dashboards
A mod can show its settings or status in a browser page served from its own namespace.
Server status pages
Server owners can query the health and route endpoints to see which mods are answering requests.
Who it’s for: Mod developers who want their mod to expose HTTP endpoints or pages, and server owners who run several mods that use the library.
Questions
Does Tango Web API have to be installed on both sides?
Which loaders does Tango Web API support?
Which game versions have files?
In the catalog
Tango Web API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from Pankraz01
Similar mods
What the author says
A single shared webserver mod for Fabric/NeoForge that removes boilerplate for other mods. TangoWebAPI provides one embedded HTTP server that mods can use to expose their own endpoints or static assets. Or via env/system properties: - TANGO_WEBAPI_HOST / tango.webapi.host - TANGO_WEBAPI_PORT / tango.webapi.port …
Official listing
- Modrinth page
- modrinth.com/mod/tango-webapi
- Owner
- Pankraz01
- Published
- 2025-12-17
- Updated on Modrinth
- 2026-01-16
- Facts verified
- 2026-10-15
