# astaxie/bat

Go implement CLI, cURL-like tool for humans

Repository: https://github.com/astaxie/bat
Canonical: https://ross.abutalabs.com/products/astaxie-bat
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2022-10-29T11:43:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4166, "days_push": 1404, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2564, forks 219 (observed 2026-08-28T04:07:01.096178+00:00)

## What it is
Bat is a cURL-like command-line HTTP client written in Go, inspired by HTTPie, designed for testing, debugging, and interacting with HTTP servers. It offers an intuitive syntax with built-in JSON support, forms, file uploads, authentication, and proxies.

## Use cases
- send http requests from the command line
- test and debug rest apis
- post json to an api endpoint
- upload files via http from terminal
- download files like wget
- call apis with basic authentication

## When to choose
- you want an HTTPie-like tool but prefer a Go-based single binary
- you need quick, human-friendly HTTP requests for testing and debugging
- you want built-in JSON, form, and file upload support in a CLI

## When to avoid
- you need advanced features like sessions, plugins, or async requests found in HTTPie
- you require scripted HTTP with fine-grained control (use curl or a library instead)
- you need a tool under active development - releases have been infrequent since 2022

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: http-client, cli, developer-tools
- domain: developer-tools, apis, web-development
- platform: cli, cross-platform, go
- tags: curl-alternative, httpie-inspired, http-debugging, api-testing, command-line, docker

## Member repositories
- astaxie/bat (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:01.096178+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:23:27.326579+00:00, confidence not recorded.
  - readme: https://github.com/astaxie/bat (fetched 2026-08-28T04:07:01.096178+00:00, sha 5b445fde3a64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
