{"id":32348838,"url":"https://github.com/eidge/yurl","last_synced_at":"2025-10-24T08:00:14.545Z","repository":{"id":31429903,"uuid":"34993453","full_name":"eidge/yurl","owner":"eidge","description":"API requests in the command line made simple","archived":false,"fork":false,"pushed_at":"2015-06-08T08:57:29.000Z","size":216,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-07T06:35:36.493Z","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/eidge.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}},"created_at":"2015-05-03T16:58:35.000Z","updated_at":"2023-08-07T06:35:36.494Z","dependencies_parsed_at":"2022-08-29T08:51:21.693Z","dependency_job_id":null,"html_url":"https://github.com/eidge/yurl","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/eidge/yurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidge%2Fyurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidge%2Fyurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidge%2Fyurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidge%2Fyurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eidge","download_url":"https://codeload.github.com/eidge/yurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidge%2Fyurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280761813,"owners_count":26386245,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"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":"2025-10-24T08:00:11.627Z","updated_at":"2025-10-24T08:00:14.394Z","avatar_url":"https://github.com/eidge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Notice:** *WIP, it does not work yet.*\n\n# Yurl\n\n**Yurl** lets you define requests in a simple and readable sintaxe, extract repeated\ndata and save these to use later or share with fellow developers.\n\n## Usage\n\nYurl consists of **yml** configuration files and the **yurl CLI**.\n\n### YML Files\n\nA yurl file can represent one or more HTTP Requests and respects the following\nformat:\n\n```yml\n# ~/(...)/users_endpoint.yml\n\nbase_url: https://example.com\nheaders: # headers to include for every request in this file\n  AUTHENTICATION_TOKEN: 123456\n\nusers: # yurl users_endpoint.yml users\n  path: /users\n  method: GET\n  query_str:\n    age: 30\n    created_on: 30/02/1992\n\ncreate_user: # yurl users_endpoint.yml create_user\n  path: /users\n  method: POST\n  body_format: json # Can be one of: form_encoded|json|raw . Defaults to JSON\n  body:\n    first_name: John\n    last_name:  Doe\n    age:        34\n```\n\n### Yurl CLI\n\nThe Yurl CLI lets you make requests based on the yml files you've previously\ndefined.\n\nThe most basic usage is ```yurl YML_FILE REQUEST_NAME``` which allows you to\nmake a single request defined in the ```YML_FILE```.\n\n\n## WHYs\n\n### Why not Curl?\n\nCurl is a great tool but ends up having a complicated sintaxe and it has no\nbuiltin support to replay or save requests to perform later.\n\n### Why YAML?\n\nYAML sintax is simple enough that everyone can edit or create a file even if\nit is the first time using it.\n\nIt also maps well to most common data types used for API communication.\n\n### Why Go?\n\nI was curious about Go.\n\nIt's fast and easily supports cross-compiling and static linking, both being\nimportant when you want to release a simple self-contained program to run on the command\nline.\n\n## Developing\n\nMake sure you have ```go``` installed and your ```$GO_PATH``` defined.\n\nTo get the code, run:\n\n```bash\ngo get github.com/eidge/yurl\n```\n\nThe standard go tools are used, so to run/test/build/install, you should only\nneed to run:\n\n```bash\ngo run|test|build|install\n```\n\n## Contributing\n\n1. Create an issue for the feature/bug you're implementing\n2. Fork this repository\n3. Create a failing test if you're solving a bug\n4. Implement away! (All features must be tested)\n6. Make sure all tests pass\n7. Create a PR against master\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Hugo Ribeira\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidge%2Fyurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feidge%2Fyurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidge%2Fyurl/lists"}