Introducing Agas 1.0.0

mahdi - Sep 11 - - Dev Community

I'm excited to announce the release of Agas version 1.0.0, a powerful and flexible tool designed to simplify HTTP requests from the terminal. Whether you're testing APIs, working with GraphQL, or managing RESTful services, Agas provides a streamlined interface for making requests without the need for a web browser or additional software.

What is Agas?

Agas is a command-line HTTP client built to offer flexibility, ease of use, and customization. It allows developers to perform complex HTTP operations with simple commands. It supports GET, POST, PUT, DELETE requests, and provides options for setting custom headers, request bodies, and more.

Key Features of Agas

1. Simple and Intuitive Commands

Agas simplifies complex HTTP requests by providing a user-friendly command-line interface. You can perform actions such as sending GET or POST requests by running a single command:

agas @get http://localhost:3000/ -d '{"key": "value"}' -H "Authorization: Bearer token"
Enter fullscreen mode Exit fullscreen mode

2. Docker-Compatible

Agas is Docker-ready, making it easy to deploy and use in containerized environments. Simply pull the Docker image and run Agas directly from your terminal:

docker pull bitsgenix/agas
docker run agas
Enter fullscreen mode Exit fullscreen mode

3. No Docker? No Problem!

For users who prefer not to use Docker, Agas can be installed locally. By cloning the repository and running a simple install command, you can integrate Agas into your system:

git clone https://github.com/m-mdy-m/agas.git
cd agas
sudo make install
Enter fullscreen mode Exit fullscreen mode

Once installed, Agas becomes available as a global command, allowing you to run HTTP requests from any terminal session.

4. Custom Headers and Data Support

Agas supports the inclusion of custom headers and request data, making it ideal for working with APIs requiring authentication, tokens, or other custom configurations:

agas @post http://api.example.com/resource -d '{"data": "value"}' -H "Authorization: Bearer YOUR_TOKEN"
Enter fullscreen mode Exit fullscreen mode

5. Flexible Output Options

Agas offers options to control how and where the output is displayed. You can see detailed request and response summaries, including status codes, response time, data size, and the full response body.

6. Built with Efficiency in Mind

Agas is optimized for speed and efficiency, making it an excellent tool for testing and debugging applications during development. It’s lightweight and designed to execute commands quickly, providing feedback in real-time.

7. Cross-Platform Compatibility

Whether you are on Linux, macOS, or Windows (via WSL or Docker), Agas works seamlessly across platforms, ensuring developers can use it regardless of their operating system.

Why Use Agas?

Agas is perfect for developers who need a quick, reliable way to test and interact with APIs. It reduces the overhead of using external tools like Postman or Insomnia and integrates effortlessly into any CI/CD pipeline, making it a practical solution for automation and scripting tasks.

Getting Started

To start using Agas, you have two options:

1. Using Docker:

docker pull bitsgenix/agas
docker run agas
Enter fullscreen mode Exit fullscreen mode

2. Without Docker:

git clone https://github.com/m-mdy-m/agas.git
cd agas
sudo make install
Enter fullscreen mode Exit fullscreen mode

After installation, simply type agas in your terminal to start using the tool.

Conclusion

Agas 1.0.0 is a versatile, efficient, and customizable solution for developers who need to interact with HTTP APIs from the terminal. Its ease of use, cross-platform compatibility, and support for Docker make it a valuable tool for any developer’s workflow. Explore the full potential of Agas and simplify your HTTP requests today.

For more details, visit the repository:

Agas GitHub Repository

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player