
Modrinth · Minecraft mod
Tango Web API
An API to bundle Webservers and Webinterfaces for your Mods
Quick answer
Which Tango Web API release should I use?
Tango Web API 1.0.0 targets 1.21.8 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Tango Web API required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Tango Web API 1.0.0 need?
1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Tango Web API without breaking your instance.
Built for Tango Web API 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 1.21.8 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does Tango Web API add?
TangoWebAPI
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.
Features
- Shared HTTP server (Java HTTP) for all mods, start/stop in common code.
- Simple API for routes:
get/post/registerRoutewith mod namespace (/modid/...). - Static file serving per mod (
serveStaticwith safe path handling). - Built-in health/info/route listing:
/tango-webapi/health,/tango-webapi/info,/tango-webapi/routes. - Configuration via file (
config/tango-webapi.properties) or env/system props. - Error pages (404/405/503) with simple HTML templates.
Configuration
File: config/tango-webapi.properties
host=0.0.0.0
port=8080
maxRequestBytes=1000000
Or via env/system properties:
TANGO_WEBAPI_HOST/tango.webapi.hostTANGO_WEBAPI_PORT/tango.webapi.portTANGO_WEBAPI_MAX_BYTES/tango.webapi.max_bytes
API for other mods (examples)
// Simple text route at /mymod/ping
TangoWebAPI.get("mymod", "/ping", ctx -> ctx.sendText(200, "pong"));
// JSON response
TangoWebAPI.post("mymod", "/data", ctx -> ctx.sendJson(200, "{\"ok\":true}"));
// Static assets from config/mymod/static under /mymod/static/**
TangoWebAPI.serveStatic("mymod", "static", Path.of("config", "mymod", "static"));
Built-in endpoints
GET /tango-webapi/health– statusGET /tango-webapi/info– host/port/max-bytesGET /tango-webapi/routes– all registered routes incl. prefix routes
Testing
- After game start:
http://localhost:8080/tango-webapi/health/info/routes - Register your own route and hit it via browser/curl.
- Serve a static page under your mod path and verify it loads.
Project description from Modrinth.
Pick your setup
Tango Web API by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.10
2 loader builds1.21.8
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Tango Web API versions and loaders
1.0.0
tango-webapi-neoforge-1.0.0.jar
16 Jan 2026
1.0.0
tango-webapi-fabric-1.0.0.jar
16 Jan 2026
1.0.0
tango-webapi-neoforge-1.0.0.jar
17 Dec 2025
1.0.0
tango-webapi-fabric-1.0.0.jar
17 Dec 2025
Looking for an older file? The official Modrinth project page is in Resources.