# fvbock/endless

Zero downtime restarts for go servers (Drop in replacement for http.ListenAndServe)

Repository: https://github.com/fvbock/endless
Canonical: https://ross.abutalabs.com/products/endless
Language: Go
License: MIT
License Family: permissive
Last push: 2021-11-27T08:54:05+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4182, "days_push": 1740, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4156, forks 343 (observed 2026-08-28T04:08:36.573973+00:00)

## What it is
A Go library providing zero-downtime restarts for HTTP and HTTPS servers. It acts as a drop-in replacement for http.ListenAndServe, handling graceful restarts via signals like SIGHUP.

## Use cases
- deploy new Go server binaries without dropping connections
- gracefully restart an HTTP server on SIGHUP
- run multiple servers from one binary with socket handoff on restart
- terminate hanging requests after a grace period during shutdown
- hook custom code before or after restart signals

## When to choose
- you run a Go HTTP/HTTPS server directly (no reverse proxy) and want zero-downtime restarts
- you want a minimal code change replacing http.ListenAndServe
- you need signal hooks and configurable shutdown/hammer behavior

## When to avoid
- your server sits behind a load balancer or reverse proxy that already handles rolling restarts
- you need actively maintained alternatives with broader features (e.g. oklog/run or built-in graceful shutdown in modern frameworks)
- you are not serving HTTP/HTTPS from Go

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, web-framework, concurrency
- domain: web-development, backend
- platform: go
- tags: zero-downtime, graceful-restart, hot-reload, sighup, drop-in-replacement, devops, linux, macos

## Member repositories
- fvbock/endless (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.573973+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:51.835631+00:00, confidence not recorded.
  - readme: https://github.com/fvbock/endless (fetched 2026-08-28T04:08:36.573973+00:00, sha 8780dd9a0e9f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
