{"id":26042592,"url":"https://github.com/slimdestro/gourlnormalizer","last_synced_at":"2026-01-12T00:04:03.155Z","repository":{"id":59047723,"uuid":"535122929","full_name":"slimdestro/gourlnormalizer","owner":"slimdestro","description":"url normalizer[RFC 3986]-Golang","archived":false,"fork":false,"pushed_at":"2022-09-10T22:39:59.000Z","size":11,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T05:42:05.951Z","etag":null,"topics":["go","golang","golang-package","norm","normalization","rfc","rfc3986","seotools"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slimdestro.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":"2022-09-10T21:26:10.000Z","updated_at":"2023-02-02T07:06:24.000Z","dependencies_parsed_at":"2022-09-11T06:51:56.633Z","dependency_job_id":null,"html_url":"https://github.com/slimdestro/gourlnormalizer","commit_stats":null,"previous_names":["slimdestro/go-url-normalize"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/slimdestro/gourlnormalizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimdestro%2Fgourlnormalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimdestro%2Fgourlnormalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimdestro%2Fgourlnormalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimdestro%2Fgourlnormalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slimdestro","download_url":"https://codeload.github.com/slimdestro/gourlnormalizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimdestro%2Fgourlnormalizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28328771,"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":["go","golang","golang-package","norm","normalization","rfc","rfc3986","seotools"],"created_at":"2025-03-07T16:38:39.555Z","updated_at":"2026-01-12T00:04:03.137Z","avatar_url":"https://github.com/slimdestro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (+)go-url-normalize[RFC 3986]\n#### Normalize URL | Count unique normalized URL | Count unique normalized URL per TLD\n\n[![N|Solid](https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Go_Logo_Blue.svg/60px-Go_Logo_Blue.svg.png)](https://dev.to/slimdestro)\n \n## Installation\n\nInstall the package by doing go get:\n\n```sh\ngo get github.com/slimdestro/gourlnormalizer\n```\n\nThree exported methods that you can use in your modules are:\n\n```sh\nNormalizeURL(url string) \nCountUniqueNormalizedUrls(url []string)  \nCountUniqueNormalizedUrlsPerTopLevelDomain(url []string)   \n```\n\n## Example\n\n```sh\npackage main \n\nimport (\n\t\"fmt\"\n\t\"github.com/slimdestro/gourlnormalizer\"\n)\nfunc main() { \t \n\tnormalizedUrl,_ := normalizer.NormalizeURL(\"https://example.com?b=2\u0026a=1\")\n\tfmt.Println(normalizedUrl)\n        // compare both url to see what has changed\n \n\turls__ := []string{\"https://example.com?a=1\u0026b=2\", \"https://example.com?b=2\u0026a=1\"}\n\tfmt.Println(normalizer.CountUniqueNormalizedUrls(urls__))\n\t \n\turls___ := []string{\"https://tempo.com\", \"https://example.com\", \"https://subdomain.example.com\"}\n\tfmt.Println(normalizer.CountUniqueNormalizedUrlsPerTopLevelDomain(urls___))\n}\n \n```\n\n\n## Author\n\n[slimdestro(Mukul Mishra)](https://linktr.ee/slimdestro)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimdestro%2Fgourlnormalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslimdestro%2Fgourlnormalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimdestro%2Fgourlnormalizer/lists"}