{"id":25833316,"url":"https://github.com/swirrl/grafter-url","last_synced_at":"2026-06-09T03:06:53.672Z","repository":{"id":30310499,"uuid":"33862271","full_name":"Swirrl/grafter-url","owner":"Swirrl","description":"Standalone clojure library to build URLs and process their components","archived":false,"fork":false,"pushed_at":"2019-10-28T12:51:29.000Z","size":26,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-03-15T14:20:44.848Z","etag":null,"topics":["clojure","uri","url"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Swirrl.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":"2015-04-13T10:28:51.000Z","updated_at":"2019-10-28T12:51:31.000Z","dependencies_parsed_at":"2022-09-02T15:50:42.709Z","dependency_job_id":null,"html_url":"https://github.com/Swirrl/grafter-url","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swirrl%2Fgrafter-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swirrl%2Fgrafter-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swirrl%2Fgrafter-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swirrl%2Fgrafter-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swirrl","download_url":"https://codeload.github.com/Swirrl/grafter-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241263864,"owners_count":19936058,"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":["clojure","uri","url"],"created_at":"2025-02-28T22:47:45.961Z","updated_at":"2025-11-24T07:04:32.558Z","avatar_url":"https://github.com/Swirrl.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grafter-url\n\n*DEPRECATED* \n\nA standalone Clojure library to help generate URLs and access their\nindividual components.\n\ngrafter-url defines an `IURL` protocol which is extended to both\n`java.net.URL`, `java.net.URI` and our own GrafterURL record type.\n\n## Usage\n\n````clojure\n(-\u003e (-\u003eurl \"http://www.example.org\")\n    (append-path-segments [\"path\" \"segments\"])\n    (set-scheme \"https\")\n    (set-query-params {\"query\" \"parameter\"})\n    (set-url-fragment \"fragment\"))\n\n;; =\u003e #\u003cGrafterURL https://www.example.org/path/segments?query=parameter#fragment\u003e\n````\n\n## java.net.URI Warning\n\nNote\n[there are bugs](https://blog.stackhunter.com/2014/03/31/encode-special-characters-java-net-uri/)\nin java.net.URI related to double encoding, and also not encoding\ncertain query parameters.  Some of these bugs may be inherited by the\nfunctions in this API.\n\n## TODO\n\n- Incremental Construction\n- API Improvements\n- Bug Fixing\n- Validation\n\n## License\n\nCopyright © 2015 Swirrl IT Ltd.\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswirrl%2Fgrafter-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswirrl%2Fgrafter-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswirrl%2Fgrafter-url/lists"}