{"id":51015757,"url":"https://github.com/lusingander/routegraph","last_synced_at":"2026-06-21T10:02:37.072Z","repository":{"id":356661692,"uuid":"1233440840","full_name":"lusingander/routegraph","owner":"lusingander","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-09T04:33:50.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-09T06:34:52.359Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lusingander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-05-09T00:59:04.000Z","updated_at":"2026-05-09T05:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lusingander/routegraph","commit_stats":null,"previous_names":["lusingander/routegraph"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/lusingander/routegraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Froutegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Froutegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Froutegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Froutegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lusingander","download_url":"https://codeload.github.com/lusingander/routegraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Froutegraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34605335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2026-06-21T10:02:36.372Z","updated_at":"2026-06-21T10:02:37.067Z","avatar_url":"https://github.com/lusingander.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# routegraph\n\nroutegraph is a static analyzer for Go web router definitions.\n\nIt currently focuses on [Echo](https://echo.labstack.com/) and extracts route\nregistrations such as `Group`, `GET`, `POST`, `Any`, and `Add` into a flat\nendpoint list. Nested groups, simple string constants, limited function splits,\nstruct fields, chained group calls, and simple route tables are supported.\n\n## Install\n\n```sh\ngo install github.com/lusingander/routegraph/cmd/routegraph@latest\n```\n\n## CLI\n\nRun `routegraph` with a target directory or package pattern:\n\n```sh\nroutegraph ./...\nroutegraph ./internal/server\n```\n\nExample output:\n\n```text\nGET   /api/v1/users        listUsers   internal/routes/user.go:24\nPOST  /api/v1/users        createUser  internal/routes/user.go:25\nGET   /api/v1/admin/stats  stats       internal/routes/admin.go:18\n```\n\nUse `--format json` for machine-readable output:\n\n```sh\nroutegraph --format json ./...\n```\n\nUnknown dynamic paths are kept instead of being dropped:\n\n```text\nGET  \u003cunknown\u003e/users  listUsers  internal/routes/user.go:31\n```\n\n## Library\n\nroutegraph can also be used as a Go library via `routegraph.Analyze`.\nThe library API is intentionally small for now.\n\n## Development\n\nThis project is implemented with the help of Codex.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flusingander%2Froutegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flusingander%2Froutegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flusingander%2Froutegraph/lists"}