ATAC(1)

NAME

ATACA simple API client (postman like) in your terminal

SYNOPSIS

$brew install atac

INFO

3.5k stars
124 forks
0 views

DESCRIPTION

A simple API client (postman like) in your terminal

README

ATAC ⚔📩

Rust License: MIT GitHub Release

Demo Animation

Table Of Contents

Description

ATAC is Arguably a Terminal API Client. It is based on well-known clients such as Postman, Insomnia, or even Bruno, but inside your terminal without any specific graphical environment needed.

The philosophy of ATAC is to be free, account-less, and offline for now and forever.

How to install

Packaging status

crates.io package

Install with cargo

[!IMPORTANT] First, make sure your rust version is at least 1.82

Simply use:

cargo install atac --locked
Arch package

Install from Arch

You can use pacman to install:

pacman -S atac
Homebrew package

Install with Homebrew

Simply use:

brew install atac
Scoop package

Install with Scoop

Simply use:

scoop install atac
Fedora copr Release

Install from Fedora copr

Simply use:

dnf copr enable joxcat/atac
dnf install atac
Docker Image Version

Docker package

Pull the image from https://hub.docker.com/r/juliencaposiena/atac

GitHub Release

Binary

The binaries from the latest release can be found here

[!IMPORTANT] Remember to run it from a terminal. For example, you can add the binary into your PATH. You won't be able to run it like other graphical applications since it needs CLI arguments.

[!TIP] Note for macOS users. After downloading the binary you may need to run the command sudo xattr -rd com.apple.quarantine ~/bin/atac (modify to reflect the path where atac is located).

Compile by yourself

[!IMPORTANT] First, make sure your rust version is at least 1.82

Simply clone the repository and use:

cargo run
cargo run -- -h

[!TIP] Build the latest release

cargo build --release

Features

Current

FeaturesATACPostmanInsomnia
Manage collections & requests:white_check_mark::white_check_mark::white_check_mark:
HTTP Client:white_check_mark::white_check_mark::white_check_mark:
Methods:white_check_mark::white_check_mark::white_check_mark:
- GET:white_check_mark::white_check_mark::white_check_mark:
- POST:white_check_mark::white_check_mark::white_check_mark:
- PUT:white_check_mark::white_check_mark::white_check_mark:
- PATCH:white_check_mark::white_check_mark::white_check_mark:
- DELETE:white_check_mark::white_check_mark::white_check_mark:
- OPTIONS:white_check_mark::white_check_mark::white_check_mark:
- HEAD:white_check_mark::white_check_mark::white_check_mark:
- TRACE:white_check_mark::x::x:
- CONNECT:white_check_mark::x::x:
AuthenticationPartial:white_check_mark::white_check_mark:
- Basic auth:white_check_mark::white_check_mark::white_check_mark:
- Bearer token:white_check_mark::white_check_mark::white_check_mark:
- Digest:white_check_mark::white_check_mark::white_check_mark:
- JWT:white_check_mark::white_check_mark::white_check_mark:
- OAuth1-2, AWS:x: :soon::white_check_mark::white_check_mark:
Headers:white_check_mark::white_check_mark::white_check_mark:
Body:white_check_mark::white_check_mark::white_check_mark:
- Multipart form:white_check_mark::white_check_mark::white_check_mark:
- URL Encoded form:white_check_mark::white_check_mark::white_check_mark:
- File:white_check_mark::white_check_mark::white_check_mark:
- Plain text:white_check_mark::white_check_mark::white_check_mark:
- JSON, XML, HTML, Javascript:white_check_mark::white_check_mark::white_check_mark:
Full response:white_check_mark::white_check_mark::white_check_mark:
- Status code:white_check_mark::white_check_mark::white_check_mark:
- Cookies:white_check_mark::white_check_mark::white_check_mark:
- Headers:white_check_mark::white_check_mark::white_check_mark:
- Duration:white_check_mark::white_check_mark::white_check_mark:
Scripting:white_check_mark:Partial:x:
- Pre-request script:white_check_mark::x::x:
- Post-request script:white_check_mark::white_check_mark::x:
Asynchronous requests:white_check_mark::white_check_mark::white_check_mark:
Per-request settings:white_check_mark::white_check_mark::white_check_mark:
- Use proxy:white_check_mark::white_check_mark::white_check_mark:
- Allow redirects:white_check_mark::white_check_mark::white_check_mark:
- Store cookies:white_check_mark::white_check_mark::white_check_mark:
Export to other languages (HTTP, cURL, PHP Guzzle, NodeJS Axios, Rust Reqwest):white_check_mark::white_check_mark::x:
WebSocket Client:white_check_mark::white_check_mark::white_check_mark:
Message:white_check_mark::white_check_mark::white_check_mark:
- Text:white_check_mark::white_check_mark::white_check_mark:
- Binary:white_check_mark::x::x:
- Ping:white_check_mark::x::x:
- Pong:white_check_mark::x::x:
- Close:white_check_mark::x::x:
GraphQL:x: :soon::white_check_mark::white_check_mark:
gRPC:x: :soon::white_check_mark::white_check_mark:
MQTT:x: :soon::white_check_mark::x:
Free:white_check_mark:DependsDepends
Lightweight, fast and efficient:white_check_mark::x::x:
Data storageYour own committable, readable, versioned and retro-compatible files (JSON or YAML)Tied to your accountTied to your account
Offline:white_check_mark::x::x:
Real-time collaboration:x: (not planned):white_check_mark::white_check_mark:
Full command line usage:white_check_mark:Partial:x:
Environment files and variables:white_check_mark: (committable, readable and versioned):white_check_mark::white_check_mark:
View options:white_check_mark::white_check_mark::white_check_mark:
Global configuration file:white_check_mark::white_check_mark::white_check_mark:
- HTTP/HTTPS Proxy:white_check_mark::white_check_mark::white_check_mark:
- Toggle syntax highlighting:white_check_mark::x::x:
- Save responses:white_check_mark::question::question:
Import from other file formats:white_check_mark::white_check_mark::white_check_mark:
- Postman v2.1.0 and Postman environment import:white_check_mark::white_check_mark::white_check_mark: / :x:
- OpenAPI import:white_check_mark: (AI generated, prone to bugs):white_check_mark::white_check_mark:
- cURL import:white_check_mark::white_check_mark::white_check_mark:
Themes:white_check_mark::white_check_mark::white_check_mark:
Remappable key bindings:white_check_mark::white_check_mark::white_check_mark:

TODO v1.0.0

TODO v2.0.0

  • To add

    • Maybe GraphQL requests
    • Maybe MQTT requests
    • Maybe gRPC requests
  • To improve

    • Auto-completion on env file variables

Ideas (will think about it later)

  • Base URL property and authorization on collections
  • VScode plugin to see and send requests

Documentation

Here is the documentation: https://atac.julien-cpsn.com/

If you think something is missing, please contribute!

Others

Vim key-bindings

You can read more about it here: https://github.com/Julien-cpsn/ATAC/releases/tag/v0.14.0

NeoVim integration

Thanks to @NachoNievaG you can have an ATAC floating window inside your nvim https://github.com/NachoNievaG/atac.nvim

Themes

You can read more about it here: https://github.com/Julien-cpsn/ATAC/releases/tag/v0.18.0

Technical precisions

Tested on

  • Console Host
    • Windows 11 (Pro)
    • WSL2 Debian 12
    • Windows 10 (Pro)
    • Windows 8.1 (N)
  • Ubuntu Desktop Terminal
    • Ubuntu 23.04 64-bit
    • Ubuntu 17.10
    • Pop!_OS 20.04
  • (Arch, Manjaro) KDE Konsole
  • (Arch, NixOS) Kitty
  • Linux Mint
  • (OpenSuse) Alacritty
  • (Chrome OS) Crostini
  • Apple
    • macOS Monterey 12.7.1 (Intel-Chip)
    • macOS Sonama 14.4 (M1 Max, Apple Silicon-Chip)

(List from here)

Dependencies

Category / LibraryVersionComment
Request
reqwest0.13.2Send requests
reqwest-middleware0.5.1Wrapper around reqwest to allow for client middleware chains
reqwest-websocket0.6.0Wrapper around reqwest to handle web-socket requests
TUI
ratatui0.30.0Terminal UI framework
crokey1.4.0Used to parse, use key bindings files and some utilities
tui-big-text0.8.2Display big texts. Only used for displaying ATAC in the homepage.
tui-tree-widget0.24.0Display tree-like lists. Used for displaying the collections.
tui-scrollview0.6.2Display scrollable panels
edtui0.11.1Text area that handle a lot of features. Used for editing request URL, body, messages, payloads, scripts.
throbber-widgets-tui0.10.0Display loading UI elements. Used when request is pending.
ratatui-image10.0.5Display response images.
image0.25.9Decode images.
Main functionalities
syntect5.3.0Syntax highlighting
serde1.0.228Serialize & Deserialize application data into files
jsonxf1.1.1Pretty print JSON
toml0.9.11Serialize & Deserialize application config files
boa_engine0.21.0Create Javascript runtimes. Used for pre and post request scripts
parse_postman_collection0.2.4Deserialize Postman collection files
curl-parser0.6.0Parse cURL request files
openapiv32.2.0Parse OpenAPI spec files
clap4.5.57Command Line Argument Parser
directories6.0.0Use system files
arboard3.6.1Copy response body to clipboard
jsonwebtoken10.3.0Create and encode JSON Web Tokens (JWT)
digest_auth0.3.1Digest auth
Async
tokio1.49.0Handle asynchronous requests
parking_lot0.12.5Smaller, faster and more flexible implementation of RwLock and Mutex. Used everywhere.
Utils
strum0.27.2Enum facilities
lazy_static1.5.0Allows for more flexible constants. Mainly used for accessing CLI arguments everywhere
nestify0.3.3Used to nest struct definitions
walkdir2.5.0Recursively retrieve files
snailquote0.3.1Unescape string
indexmap2.13.0Ordered hashmap. Used in environments to preserve files' values order
rayon1.11.0Allows the usage of multiple threads in for loops
thiserror2.0.18Create custom errors
anyhow1.0.101Result that can contain any error
clap-verbosity-flag3.0.4Add verbosity flag to the CLI
clap_complete4.5.65Generate completion file
clap_mangen0.2.31Generate man pages
regex1.12.3Regex. Using for parsing requests URL
chrono0.4.43Time utils
uuid1.20.0UUID generator
base640.22.1Decode base64 strings
textwrap0.16.2Wrap text to max length
Tracing
tracing0.1.44Log events
tracing-subscriber0.3.22Utilities for implementing and composing tracing subscribers
tracing-log0.2.0Log crate compatibility for tracing
reqwest-tracing0.7.0Opentracing middleware implementation for reqwest-middleware

Binary size

The binary file size goes from ~5 MB to ~15 MB depending on the platform. I try to keep it as small as possible, unfortunately for me, I bundle a Javascript runtime.

Contributors

Maintainers

Packagers

Star history

Star History Chart

License

The MIT license for this project can be seen here

SEE ALSO

clihub3/4/2026ATAC(1)