Giter Club home page Giter Club logo

hac's Introduction

        ,--,                          
      ,--.'|   ,---,         ,----..  
   ,--,  | :  '  .' \       /   /   \ 
,---.'|  : ' /  ;    '.    |   :     :
|   | : _' |:  :       \   .   |  ;. /
:   : |.'  |:  |   /\   \  .   ; /--` 
|   ' '  ; :|  :  ' ;.   : ;   | ;    
'   |  .'. ||  |  ;/  \   \|   : |    
|   | :  | ''  :  | \  \ ,'.   | '___ 
'   : |  : ;|  |  '  '--'  '   ; : .'|
|   | '  ,/ |  :  :        '   | '/  :
;   : ;--'  |  | ,'        |   :    / 
|   ,/      `--''           \   \ .'  
'---'                        `---`    

A handy API client for your terminal!


HAC is an API client like Postman that runs on your terminal. We have the goal of making easy to test and document APIs while being completely offline, free and open source.

Preview

Expand to see more examples

Creating a new request

Making a new request

Error on invalid uri

Table of contents

Installation

This section should guide you through the hac installation process.

You can get hac with cargo, or get the latest release tag.

Installing with cargo

Note

you need rust v1.76 or newer

You can get hac from crates.io with:

cargo install hac-client

Building from source

Clone the repository into your machine, and you'll be able to run, or build by following the steps below:

git clone https://github.com/wllfaria/hac
cd hac
cargo run

# alternatively, you can run:
cargo build --release
# or if you have just:
just build
# the binary will be located at target/release/hac

Important

hac is in its very early stages of development, new features are added constantly, and we have many features planned, feel free to report any bugs, ask for features or discuss ideas.

Documentation

Note

Documentation is still a work in progress

Documentation can be found in the hac wiki

Customization

Customizing hac is as simple as editing toml files on the config directory, which can be in different places based on your system and maybe in your environment variables, but you can run the following command to know where hac is looking for your configuration:

# this command will print the path to the configuration directory hac is trying to load
hac --config-dir

Note

You can check all the configuration options and what they mean in the wiki secion for customizing hac

hac comes with a set of default configurations, you can check more on the wiki, or if you prefer, you can dump the default configuration and colorscheme to the configuration directory by using:

hac --config-dump

Tip

If you want to save the config to a file, you can do as follows.

hac --config-dump > hac.toml

Contributing

All contributions are welcome! Just open a pull request. Please read CONTRIBUTING.md

Changelog

Changelogs can be found here

hac's People

Contributors

wllfaria avatar loganwalls avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.