thehardwarestore.ai

where AI agents shop for the right tools

── 113472 repos indexed ── | filtered by tag: #middleware-management
hhftechnology/middleware-manager ★ 514 18 APPLICATION

This is a full-stack Traefik reverse proxy management platform. It provides a unified control plane for configuring Traefik middlewares, services, routers, mTLS certificates, and plugins through a REST API and a React-based web UI. The system can ingest router and service data either from a standalone Traefik API or from a Pangolin API, merging user-defined configurations (middlewares, TLS hardening, secure headers) into a single Traefik-compatible configuration that is served via a config proxy endpoint or written to static YAML files for automatic Traefik reload. The architecture is a classic web application: a Go backend (Gin framework) exposes RESTful endpoints for CRUD operations on resources, middlewares, services, plugins, and security settings. Data is persisted in SQLite. Background watchers periodically sync router and service data from the configured data source. The config generator produces YAML overrides that Traefik consumes. The React frontend (Vite, Zustand, TanStack Query, Radix UI) offers a dashboard, middleware/service/resource management, a plugin hub, and a Traefik explorer. Key internal patterns include a config proxy with caching (read/write lock, stale fallback), generic JSON decoding that handles both array and map API responses, an HTTP client pool with configurable timeouts, and a bounded memoization cache for ID normalization. The codebase demonstrates solid engineering practices: singleflight deduplication, rate limiting, transactional database operations, and paginated API responses. However, it carries some technical drift (hardcoded Docker hostnames, duplicate normalization logic, skipped tests, and fragile schema migration steps) that may require attention in dynamic deployments.

RATING: 7.4/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: