dark-enstein / scour

just not curl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning: MAINTENANCE

Scour

Scour is a command-line tool developed in Go, offering functionalities similar to curl. It allows users to make HTTP requests and interact with UNIX sockets.

Features

  • Supports HTTP methods: GET, POST, PUT, DELETE.
  • Ability to pass custom request headers and data.
  • Supports verbose output for debugging.
  • Can connect through an abstract Unix domain socket.

Installation

Clone the repository and build the project:

    git clone https://github.com/dark-enstein/scour.git
    cd scour
    make build

Usage

Basic HTTP Request

    scour [flags] <url>

Flags:

  • --verbose or -v: Enable verbose mode.
  • -X: Specify the request method (GET, POST, etc.).
  • -d: Pass request data.
  • -H: Custom request headers.

Example

    scour -v -X GET https://example.com

Docker Support

Build a Docker image using the provided Dockerfile:

    make docker-build

Testing

Run tests with:

    make test

Contributing

Contributions are welcome. Please submit pull requests or open issues for any bugs or feature requests.

About

just not curl

License:MIT License


Languages

Language:Go 95.7%Language:Shell 2.2%Language:Makefile 1.9%Language:Dockerfile 0.3%