{"id":28847636,"url":"https://github.com/livebud/mux","last_synced_at":"2026-02-02T01:19:26.553Z","repository":{"id":189462723,"uuid":"675547820","full_name":"livebud/mux","owner":"livebud","description":"A minimal but feature-rich HTTP router for Go","archived":false,"fork":false,"pushed_at":"2026-01-25T20:34:46.000Z","size":160,"stargazers_count":34,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-26T11:54:58.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/livebud.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-07T07:14:51.000Z","updated_at":"2026-01-25T20:34:50.000Z","dependencies_parsed_at":"2023-09-05T04:11:08.422Z","dependency_job_id":"c8c2d16d-d586-4443-9aa0-8b98d34d772a","html_url":"https://github.com/livebud/mux","commit_stats":null,"previous_names":["livebud/mux","livebud/router"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/livebud/mux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fmux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fmux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fmux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fmux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livebud","download_url":"https://codeload.github.com/livebud/mux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fmux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28998605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: 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":[],"created_at":"2025-06-19T19:40:59.722Z","updated_at":"2026-02-02T01:19:26.549Z","avatar_url":"https://github.com/livebud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mux\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/livebud/mux.svg)](https://pkg.go.dev/github.com/livebud/mux)\n\nA minimal but feature-rich HTTP router for Go. A viable alternative to [gorilla/mux](http://github.com/gorilla/mux).\n\n## Features\n\n- Trie-based router for better performance\n- Supports required, optional, regexp and wildcard slots\n- Smart slot delimiters (e.g. can match `/{from}-{to}`)\n- Well-tested with 100s of tests\n\n## Install\n\n```sh\ngo get github.com/livebud/mux\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/livebud/mux\"\n)\n\nfunc main() {\n  handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n    w.Write([]byte(r.URL.Path))\n  })\n  router := mux.New()\n  router.Get(\"/\", handler)\n  router.Get(\"/users/{id}\", handler)\n  router.Post(\"/users/{id}.{format}\", handler)\n  router.Get(\"/posts/{post_id}/comments/{id}\", handler)\n  router.Get(\"/fly/{from}-{to}\", handler)\n  router.Get(\"/v{major|[0-9]+}.{minor|[0-9]+}\", handler)\n  router.Get(\"/{owner}/{repo}/{branch}/{path*}\", handler)\n  http.ListenAndServe(\":3000\", router)\n}\n```\n\n## Contributors\n\n- Matt Mueller ([@mattmueller](https://twitter.com/mattmueller))\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivebud%2Fmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivebud%2Fmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivebud%2Fmux/lists"}