Subwire

•
2
•

Provides a configurable HTTP/REST server to securely interact with diverse services within a homelab and beyond.

Subwire serves as a robust HTTP/REST server, specifically engineered for the unique challenges of homelab environments, enabling seamless interaction with various internal and external services. It addresses common pain points of existing solutions by offering granular per-scope TLS verification, allowing for flexible handling of self-signed or internal CA certificates without compromising public call security. The tool supports multiple named targets, eliminating base-URL lock-in, and incorporates a strong security policy to prevent Server-Side Request Forgery (SSRF) by blocking link-local and cloud-metadata endpoints by default, while still permitting deliberate internal access. This makes it ideal for integrating disparate services, from monitoring Prometheus metrics to interacting with local LLMs, all through a unified and secure interface.

主要功能

01Secure authentication management via environment variables for various auth types (Basic, Bearer, API Key).
021 GitHub stars
03Granular per-scope TLS verification, merging internal CAs with public trust stores.
04Support for multiple named HTTP targets/profiles and absolute URLs for diverse services.
05Robust security policy to prevent SSRF, with configurable allow/deny lists and default blocking of link-local/metadata endpoints.
06Unified `http_request` tool for flexible API interactions, including GET, POST, JSON bodies, custom headers, and timeouts.

使用案例

01Consolidating access to disparate internal and external HTTP/REST services through a single server.
02Connecting Large Language Models (LLMs) to local services or external authenticated APIs.
03Checking Prometheus metrics and interacting with container APIs in a homelab environment.