{"id":36465125,"url":"https://github.com/awbraunstein/zpages","last_synced_at":"2026-01-12T00:02:00.905Z","repository":{"id":57552195,"uuid":"172966083","full_name":"awbraunstein/zpages","owner":"awbraunstein","description":"Go utilities for generating helpful debug and internal pages for server inspection.","archived":false,"fork":false,"pushed_at":"2019-03-02T01:43:18.000Z","size":15684,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T15:58:12.865Z","etag":null,"topics":["debugging","go","infrastructure","server","tools","webserver"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awbraunstein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-27T18:15:22.000Z","updated_at":"2021-08-17T23:58:43.000Z","dependencies_parsed_at":"2022-09-26T18:50:36.408Z","dependency_job_id":null,"html_url":"https://github.com/awbraunstein/zpages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awbraunstein/zpages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awbraunstein%2Fzpages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awbraunstein%2Fzpages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awbraunstein%2Fzpages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awbraunstein%2Fzpages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awbraunstein","download_url":"https://codeload.github.com/awbraunstein/zpages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awbraunstein%2Fzpages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28328691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging","go","infrastructure","server","tools","webserver"],"created_at":"2026-01-12T00:02:00.818Z","updated_at":"2026-01-12T00:02:00.900Z","avatar_url":"https://github.com/awbraunstein.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zpages\n[![MIT licensed](https://img.shields.io/github/license/awbraunstein/zpages.svg)](LICENSE)\n[![GoDoc](https://godoc.org/github.com/awbraunstein/zpages?status.svg)](https://godoc.org/github.com/awbraunstein/zpages)\n[![Build Status](https://travis-ci.org/awbraunstein/zpages.svg?branch=master)](https://travis-ci.org/awbraunstein/zpages)\n[![Coverage Status](https://img.shields.io/codecov/c/github/awbraunstein/zpages.svg)](https://codecov.io/gh/awbraunstein/zpages)\n[![Go Report Card](https://goreportcard.com/badge/github.com/awbraunstein/zpages)](https://goreportcard.com/report/github.com/awbraunstein/zpages)\n\nGo utilities for generating helpful debug and internal pages for server inspection. Works out of the box with `net/http` based web servers.\n\n## Installation\n\n`go get -u github.com/awbraunstein/zpages`\n\n## Usage\n\nJust add the handlers/middleware that you want and run your server. It is recommended to put these pages behind some sort of internal auth to avoid leaking this information to users.\n```golang\nfunc main() {\n\tmux := http.NewServeMux()\n\trequestzHandler, err := zpages.NewRequestz()\n\tif err != nil {\n\t\tlog.Fatalf(\"Unable to initialize Requestz handler; err=%v\", err)\n\t}\n\tmux.Handle(\"/healthz\", requestzHandler.Middleware(zpages.NewHealthz()))\n\tstatuszHandler, err := zpages.NewStatusz()\n\tif err != nil {\n\t\tlog.Fatalf(\"Unable to initialize Statusz handler; err=%v\", err)\n\t}\n\tmux.Handle(\"/statusz\", requestzHandler.Middleware(statuszHandler))\n\tmux.Handle(\"/requestz\", requestzHandler.Middleware(requestzHandler))\n\tlog.Println(\"Listening on %s...\", *httpAddr)\n\thttp.ListenAndServe(\":8080\", mux)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawbraunstein%2Fzpages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawbraunstein%2Fzpages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawbraunstein%2Fzpages/lists"}