{"id":17931076,"url":"https://github.com/ibnz36/qli","last_synced_at":"2025-03-24T04:31:36.839Z","repository":{"id":204495479,"uuid":"712017094","full_name":"ibnz36/qli","owner":"ibnz36","description":"🐳 extremelly small rust binary to generate http requests using json/yaml","archived":false,"fork":false,"pushed_at":"2023-10-30T16:31:00.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T02:11:25.500Z","etag":null,"topics":["cli","fast","http","json","request","rust","yaml"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/qli","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibnz36.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"ko_fi":"brian3647"}},"created_at":"2023-10-30T16:18:16.000Z","updated_at":"2023-11-07T12:44:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"60405612-60f5-40c7-8246-83c392d7468b","html_url":"https://github.com/ibnz36/qli","commit_stats":null,"previous_names":["brian3647/qli","ibnz36/qli"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Fqli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Fqli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Fqli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibnz36%2Fqli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibnz36","download_url":"https://codeload.github.com/ibnz36/qli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211255,"owners_count":20578380,"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":["cli","fast","http","json","request","rust","yaml"],"created_at":"2024-10-28T21:19:33.322Z","updated_at":"2025-03-24T04:31:36.598Z","avatar_url":"https://github.com/ibnz36.png","language":"Rust","funding_links":["https://ko-fi.com/brian3647"],"categories":[],"sub_categories":[],"readme":"# qli 🐳\n\nExtremelly small rust binary to generate http requests using json/yaml.\n\n![License](https://img.shields.io/github/license/Brian3647/qli)\n![GitHub issues](https://img.shields.io/github/issues/Brian3647/qli)\n![Build status](https://img.shields.io/github/actions/workflow/status/Brian3647/qli/rust.yml)\n\n## Installation\n\n_Requires [cargo (rustlang)](https://www.rust-lang.org/)_\n\nFor the CLI, run `cargo install qli` and use it with the `qli` command.\nFor the library, just run `cargo add qli`\n\n## Usage (library)\n\n`qli` exports 2 functions, `from_yaml` and `from_json`, which generate and send a web request and return an anyhow result with the response. It also exports the `RequestConfig` struct, but it isn't realy useful outside the library.\n\n## Usage (CLI)\n\n### Command usage:\n\n```\nqli\n\nUSAGE:\n    qli [FLAGS] [OPTIONS] \u003cpath\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n    -v, --verbose\n\nOPTIONS:\n    -o, --output \u003coutput\u003e\n\nARGS:\n    \u003cpath\u003e\n```\n\n### example yaml/json file structure:\n\n```yaml\n# test.yaml\n\nurl: http://localhost:3000\nmethod: get\nheaders:\n    X-header1: my-header\nbody: |\n    { \"abc\": \"dce\" }\n```\n\n```jsonc\n// test.json\n\n{\n    \"url\": \"https://localhost:3000\",\n    \"method\": \"get\",\n    \"headers\": {\n        \"my-header\": \"1234\"\n    },\n    \"body\": \"my body\"\n}\n```\n\n_note that for simplicty reasons `body` needs to be a string, so we recommend using yaml if you want to have an easier time writing json bodies._\n\n## Acknowledgments\n\nThis project was inspired by [requestr](https://github.com/Semptic/requestr), which is licensed under the MIT License. The original license can be found [here](https://github.com/Semptic/requestr/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnz36%2Fqli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibnz36%2Fqli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibnz36%2Fqli/lists"}