{"id":17560096,"url":"https://github.com/aldor007/ngx_url_parser","last_synced_at":"2026-05-03T04:36:22.560Z","repository":{"id":151171486,"uuid":"46890008","full_name":"aldor007/ngx_url_parser","owner":"aldor007","description":"Yet another url parser, written in C.","archived":false,"fork":false,"pushed_at":"2018-07-12T11:58:44.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T04:30:35.850Z","etag":null,"topics":["nginx","ngx-url-parser","parser","uri","uri-parser","uriparser","url","url-parser"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/aldor007.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}},"created_at":"2015-11-25T22:03:16.000Z","updated_at":"2023-09-08T17:04:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"13a3fadf-2377-453f-9fca-f53e62307963","html_url":"https://github.com/aldor007/ngx_url_parser","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"b69adaf49682a1fde1b0d97f26ab51c530b74932"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldor007%2Fngx_url_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldor007%2Fngx_url_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldor007%2Fngx_url_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldor007%2Fngx_url_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aldor007","download_url":"https://codeload.github.com/aldor007/ngx_url_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246169498,"owners_count":20734671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["nginx","ngx-url-parser","parser","uri","uri-parser","uriparser","url","url-parser"],"created_at":"2024-10-21T11:10:20.512Z","updated_at":"2026-05-03T04:36:17.540Z","avatar_url":"https://github.com/aldor007.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/aldor007/ngx_url_parser.svg)](https://travis-ci.org/aldor007/ngx_url_parser)\n[![Coverage Status](https://coveralls.io/repos/aldor007/ngx_url_parser/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/aldor007/ngx_url_parser?branch=master)\n\nngx_url_parser\n==============\nYet another url parser, written in C.\n\nThis repository contains url parser extracted from source code of NGINX. There are some changes in code it but concept is same as in NGINX.\n\nUsage:\n----\nInclude ngx_url_parser.h and then\n```C\nconst char * str = \"https://user:password@mkaciuba.pl:555/path/?query#fragment\";\n// struct in which result will be stored\nngx_http_url url;\n\n// run parser\nint status = ngx_url_parser(\u0026url, str);\nif (status != NGX_URL_OK) {\n    printf(\"Error processing url!\\n\");\n    return 1;\n}\n\nprintf(\"Url = %s\\n\", str);\nprintf(\"\\nParse status %d\", status);\nprintf(\"\\n scheme = %s\", url.scheme);\nprintf(\"\\n Host = %s\", url.host);\nprintf(\"\\n Port = %s\", url.port);\nprintf(\"\\n Path = %s\", url.path);\nprintf(\"\\n Query = %s\", url.query);\nprintf(\"\\n Fragment = %s\", url.fragment);\nprintf(\"\\n Auth = %s\", url.auth);\nprintf(\"\\n\");\n\n// free memory\nngx_url_free(\u0026url);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldor007%2Fngx_url_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faldor007%2Fngx_url_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldor007%2Fngx_url_parser/lists"}