{"id":15134358,"url":"https://github.com/restcli/restcli","last_synced_at":"2025-09-29T03:30:46.316Z","repository":{"id":44160780,"uuid":"276395595","full_name":"restcli/restcli","owner":"restcli","description":"A rest-cli for intellij http-request. ---\u003e https://blog.jetbrains.com/idea/2022/12/http-client-cli-run-requests-and-tests-on-ci/","archived":true,"fork":false,"pushed_at":"2022-12-20T02:07:39.000Z","size":23557,"stargazers_count":276,"open_issues_count":34,"forks_count":37,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-19T14:13:07.876Z","etag":null,"topics":["command-line","http-client","intellij-idea","jfex","kotlin","rest-client"],"latest_commit_sha":null,"homepage":"https://restcli.github.io","language":"Kotlin","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/restcli.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},"funding":{"custom":["https://paypal.me/quangson8128"]}},"created_at":"2020-07-01T14:11:53.000Z","updated_at":"2024-09-27T03:25:39.000Z","dependencies_parsed_at":"2023-01-29T23:30:55.296Z","dependency_job_id":null,"html_url":"https://github.com/restcli/restcli","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restcli%2Frestcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restcli%2Frestcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restcli%2Frestcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restcli%2Frestcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/restcli","download_url":"https://codeload.github.com/restcli/restcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234583683,"owners_count":18856280,"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":["command-line","http-client","intellij-idea","jfex","kotlin","rest-client"],"created_at":"2024-09-26T05:04:45.192Z","updated_at":"2025-09-29T03:30:38.947Z","avatar_url":"https://github.com/restcli.png","language":"Kotlin","readme":"Jetbrains released a new cli client.\n\nPlease check it.\n\nThis repository will no longer active development.\n\nThank you for trying \u0026 feedback.\n\nI learn so much from all you guys here.\n\nBlog: [http-client-cli-run-requests-and-tests-on-ci](https://blog.jetbrains.com/idea/2022/12/http-client-cli-run-requests-and-tests-on-ci/)\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/restcli/restcli\"\u003e\u003cimg src=\"images/logo.png\" alt=\"restcli\" width=\"200\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  restcli\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA missing commandline application for execute \u003ca href=\"https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html\" target=\"_blank\"\u003eIntelliJ HTTP Client file\u003c/a\u003e.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/restcli/restcli/releases/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/restcli-latest-brightgreen\"\n         alt=\"restcli\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/restcli/restcli/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue\"\n           alt=\"restcli\"\u003e\n    \u003c/a\u003e    \n  \u003ca href=\"https://paypal.me/quangson8128\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000\u0026amp;style=flat\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#download\"\u003eDownload\u003c/a\u003e •\n  \u003ca href=\"#credits\"\u003eCredits\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e •\n  \u003ca href=\"https://www.producthunt.com/posts/intellij-rest-cli\"\u003eProducthunt\u003c/a\u003e\n\u003c/p\u003e\n\n![screenshot](images/restcli_screenshots.png)\n\n## Key Features\n* Written in Kotlin 🤩\n* Execute Intellij HTTP request files\n* Running test script including:\n    - Embedded script inside HTTP request file\n    - Include external javascript test file\n* Loading and inject environment variables from\n    - http-client.env.json\n    - http-client.private.env.json\n* Cross-platform 💻🖥️\n  - Windows, macOS, and Linux ready.\n* Beautiful request log 🤑🤑🤑\n  - Request \u0026 response detail\n  - Test result table  \n* Easy to custom via command-line arguments 😎\n  - Custom logging request\n  - Inject environment name\n* Generate test report - JUnit format.  🥰🥰🥰\n* Support setNextRequest. So you can custom flexible the test flow. ✨✨✨\n\n##### Demo\n![demo-rest-cli](images/demo-rest-cli.gif)\n\n**1. Show detail request/response including test result**\n\n\u003cimg alt=\"request-with-test-success\" src=\"images/request-with-test-success.png\" width=\"480\"\u003e\n\u003cimg alt=\"request-with-test-failed\" src=\"images/request-with-test-failed.png\" width=\"480\"\u003e\n\n**2. Test result table**\n\n\u003cimg alt=\"test-result-table\" src=\"images/test-result-table.png\" width=\"480\"\u003e\n\n**3. Generate JUnit test report (XML) that can be viewed by other tools such as xunit-viewer**\n\n\u003cimg alt=\"generate-junit-test-report\" src=\"images/generate-junit-test-report.png\" width=\"480\"\u003e\n\n## How To Use\n\nThe fastest way to get rest cli is to download the jar from [releases tab](https://github.com/restcli/restcli/releases)\n\n```\nUsage: rest-cli [-hkV] [-d=\u003cenvironmentFilesDirectory\u003e] [-D=\u003cdecorator\u003e]\n                [-e=\u003cenvironmentName\u003e] [-l=\u003clogLevel\u003e] [-t=\u003crequestTimeout\u003e]\n                [-G=\u003cString=String\u003e]... [-P=\u003cString=String\u003e]... FILES...\nIntelliJ RestCli\n      FILES...     Path to one ore more http script files.\n  -d, --env-dir=\u003cenvironmentFilesDirectory\u003e\n                   Directory where config files are (default: current directory)\n                   (http-client.env.json/http-client.private.env.json).\n  -D, --decorator=\u003cdecorator\u003e\n                   Decorator for private env variables\n                   Valid values: NOOP, THREE_STAR, FULL_STAR, MIDDLE_STAR\n  -e, --env=\u003cenvironmentName\u003e\n                   Name of the environment in config file\n                   (http-client.env.json/http-client.private.env.json).\n  -G, --global-env=\u003cString=String\u003e\n                   Public environment variables\n  -h, --help       Show this help message and exit.\n  -k, --insecure   Disable ssl validation\n  -l, --log-level=\u003clogLevel\u003e\n                   Config log level while the executor running.\n                   Valid values: NONE, BASIC, HEADERS, BODY\n  -P, --private-env=\u003cString=String\u003e\n                   Private environment variables\n  -t, --timeout=\u003crequestTimeout\u003e\n                   Number of milliseconds for request timeout, default=3000\n  -V, --version    Print version information and exit.\n```\n\n#### Example\n```bash\n# Move to the folder that contains your http files.\n$ cd requests\n\n$ tree\n├── get-requests.http\n├── http-client.env.json\n├── http-client.private.env.json\n├── post-requests.http\n├── request-form-data.json\n├── requests-with-authorization.http\n├── requests-with-tests.http\n└── test_script.js\n\n$ java -jar /path/to/restcli.jar -e \"test\" get-requests.http\n```\n\nNote: This application required you to install `java` on your machine.\n\n## Download\n\nYou can [download](https://github.com/restcli/restcli/releases) the latest version of restcli for Windows, macOS, and Linux.\n\n## Credits\n\nThis software uses the following open-source packages:\n\n- [Jflex](https://jflex.de/) -  a lexical analyzer generator (also known as scanner generator) for Java.\n- [PicoCli](https://picocli.info/) - a mighty tiny command line interface\n- [okhttp](https://github.com/square/okhttp) - the way modern applications network. It’s how we exchange data \u0026 media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth.\n- [picnic](https://github.com/JakeWharton/picnic) - A Kotlin DSL and Java/Kotlin builder API for constructing HTML-like tables that can be rendered to text.\n- [mordant](https://github.com/ajalt/mordant) - Full-featured text styling for Kotlin command-line applications.\n\nThanks Jetbrains for a [free license](https://www.jetbrains.com/community/opensource/#support)\n\n\u003ca href=\"https://www.jetbrains.com/community/opensource/#support\"\u003e\n  \u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" alt=\"JetBrains Logo (Main) logo.\" width=\"200\" /\u003e\n\u003c/a\u003e\n\n## Support\n\nIf you need help, please don't hesitate to [file an issue](https://github.com/restcli/restcli/issues/new).\n \n\n## Sponsoring\n\nThis application is free and can be used for free, open-source, and commercial applications. `restcli` is under the MIT License (MIT). So hit the magic ⭐ button; I appreciate it!!! 🙏\n\n## 🤝 Contributing\nI appreciate your support and feedback!\n\nPlease file issues if you find bugs and have feature requests. If you can send small PRs to improve or fix bugs, that would be awesome too.\n\nFor larger PRs, please ping [@quangson91](https://twitter.com/quangson91) to discuss first.\n\n## 📝 License\n\nMIT License\n```\nCopyright (c) 2020 Duong Quang Son\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 all\ncopies 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 THE\nSOFTWARE.\n```\n---\n\n\u003ch2 class=\"text-white mb-4\"\u003eMade with \u003cspan class=\"heart\"\u003e❤\u003c/span\u003e by quangson91\u003c/h2\u003e\n\n\u003e [restcli.github.io](https://restcli.github.io/) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@quangson91](https://github.com/quangson91) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@quangson91](https://twitter.com/quangson91)\n\n## Reference\n\n- [restcli-node](https://github.com/J4YF7O/restcli-node) Node docker image with rest-cli command installed.\n\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/martinqvistgard\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/703595?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMartin Qvistgård\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#userTesting-martinqvistgard\" title=\"User Testing\"\u003e📓\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://medium.com/@willitheowl\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/1067460?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRobert Jack Will\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-matey-jack\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gsobczyk\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/1021528?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003egsobczyk\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=gsobczyk\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pil0t\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/820134?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVlad\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#userTesting-pil0t\" title=\"User Testing\"\u003e📓\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/npeters\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/935249?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNicolas Peters\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=npeters\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/xargon180\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/36171927?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003exargon180\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=xargon180\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/cylonid\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/12037864?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHannes U.\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=cylonid\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/sbenoistmics\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/83581282?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003esbenoistmics\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=sbenoistmics\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/karian7\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/247208?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKwangsu Kim\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/restcli/restcli/commits?author=karian7\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":["https://paypal.me/quangson8128"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestcli%2Frestcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frestcli%2Frestcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestcli%2Frestcli/lists"}