{"id":15014249,"url":"https://github.com/wllfaria/hac","last_synced_at":"2025-05-16T04:04:49.819Z","repository":{"id":232262365,"uuid":"783866198","full_name":"wllfaria/hac","owner":"wllfaria","description":"A terminal API Client that comes in handy. // Lightweight alternative to postman","archived":false,"fork":false,"pushed_at":"2024-10-18T02:16:39.000Z","size":6385,"stargazers_count":194,"open_issues_count":7,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T15:55:42.318Z","etag":null,"topics":["api","api-client","insomnia","postman","rust"],"latest_commit_sha":null,"homepage":"","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/wllfaria.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2024-04-08T18:18:08.000Z","updated_at":"2025-05-06T12:38:58.000Z","dependencies_parsed_at":"2024-05-28T12:08:49.206Z","dependency_job_id":"012137ed-d8e8-425b-9811-f580d264bb0c","html_url":"https://github.com/wllfaria/hac","commit_stats":null,"previous_names":["wllfaria/httpretty","wllfaria/reqtui","wllfaria/hac"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wllfaria%2Fhac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wllfaria%2Fhac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wllfaria%2Fhac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wllfaria%2Fhac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wllfaria","download_url":"https://codeload.github.com/wllfaria/hac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"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":["api","api-client","insomnia","postman","rust"],"created_at":"2024-09-24T19:45:22.309Z","updated_at":"2025-05-16T04:04:49.800Z","avatar_url":"https://github.com/wllfaria.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n            ,--,                          \n          ,--.'|   ,---,         ,----..  \n       ,--,  | :  '  .' \\       /   /   \\ \n    ,---.'|  : ' /  ;    '.    |   :     :\n    |   | : _' |:  :       \\   .   |  ;. /\n    :   : |.'  |:  |   /\\   \\  .   ; /--` \n    |   ' '  ; :|  :  ' ;.   : ;   | ;    \n    '   |  .'. ||  |  ;/  \\   \\|   : |    \n    |   | :  | ''  :  | \\  \\ ,'.   | '___ \n    '   : |  : ;|  |  '  '--'  '   ; : .'|\n    |   | '  ,/ |  :  :        '   | '/  :\n    ;   : ;--'  |  | ,'        |   :    / \n    |   ,/      `--''           \\   \\ .'  \n    '---'                        `---`    \n\n\nA handy API client for your terminal!\n\n\u003c/div\u003e\n\n\u003chr /\u003e\n\n`HAC` is an API client like Postman that runs on your terminal. We have the\ngoal of making easy to test and document APIs while being completely offline,\nfree and open source.\n\n![Preview](./extra/preview.gif)\n\n\u003cdetails\u003e\n\u003csummary\u003eExpand to see more examples\u003c/summary\u003e\n\n![Creating a new request](./extra/new-request.gif)\n\n![Error on invalid uri](./extra/error-request.gif)\n\n\u003c/details\u003e\n\n## Table of contents\n- [Try it](#try-it)\n- [Installation](#installation)\n- [Documentation](#usage)\n- [Customization](#customization)\n- [Contributing](#contributing)\n- [Changelog](#changelog)\n\n## Try it\n\n### Nix ❄️\n\nIf you already have Nix setup with flake support, you can try out hac with the\nnix run command:\n\n```sh\nnix run github:wllfaria/hac\n```\n\nNix will build and run hac.\n\nIf you want to pass arguments this way, use e.g. `nix run github:wllfaria/hac -- -h`\n\n## Installation\n\nThis section should guide you through the hac installation process.\n\nYou can get hac with cargo, or get the latest release [tag](https://github.com/wllfaria/hac/tags).\n\n### Installing with cargo\n\n\u003e [!NOTE]\n\u003e you need rust v1.76 or newer\n\nYou can get hac from crates.io with:\n\n```sh\ncargo install hac-client\n```\n\n### Building from source\n\nClone the repository into your machine, and you'll be able to run, or build by \nfollowing the steps below:\n\n```sh\ngit clone https://github.com/wllfaria/hac\ncd hac\ncargo run\n\n# alternatively, you can run:\ncargo build --release\n# or if you have just:\njust build\n# the binary will be located at target/release/hac\n```\n\n\u003e [!IMPORTANT]\n\u003e hac is in its very early stages of development, new features are added constantly,\n\u003e and we have many features planned, feel free to report any bugs, ask for features or\n\u003e discuss ideas.\n\n## Documentation\n\n\u003e [!NOTE]\n\u003e Documentation is still a work in progress\n\nDocumentation can be found in the [hac wiki](https://github.com/wllfaria/hac/wiki)\n\n## Customization\n\nCustomizing hac is as simple as editing toml files on the config directory, which can\nbe in different places based on your system and maybe in your environment variables, but\nyou can run the following command to know where hac is looking for your configuration:\n\n```sh\n# this command will print the path to the configuration directory hac is trying to load\nhac --config-dir\n```\n\n\u003e [!NOTE]\n\u003e You can check all the configuration options and what they mean in the wiki secion\n\u003e for customizing hac\n\nhac comes with a set of default configurations, you can check more on the\n[wiki](https://github.com/wllfaria/hac/wiki), or if you prefer, you can dump the default\nconfiguration and colorscheme to the configuration directory by using:\n\n```sh\nhac --config-dump\n```\n\n\u003e [!TIP]\n\u003e If you want to save the config to a file, you can do as follows.\n\n```sh\nhac --config-dump \u003e hac.toml\n```\n\n## Contributing\n\nAll contributions are welcome! Just open a pull request. Please read [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## Changelog\n\nChangelogs can be found [here](./CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwllfaria%2Fhac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwllfaria%2Fhac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwllfaria%2Fhac/lists"}