8 releases (stable)

2.3.0 Nov 11, 2024
2.2.0 Oct 22, 2024
2.1.0 Sep 27, 2024
2.0.0-beta.1 Aug 28, 2024
1.8.1 Aug 11, 2024

#334 in HTTP client

Download history 1/week @ 2024-08-19 114/week @ 2024-08-26 218/week @ 2024-09-02 4/week @ 2024-09-09 38/week @ 2024-09-16 64/week @ 2024-09-23 66/week @ 2024-09-30 12/week @ 2024-10-07 10/week @ 2024-10-14 222/week @ 2024-10-21 10/week @ 2024-10-28 9/week @ 2024-11-04 150/week @ 2024-11-11 20/week @ 2024-11-18 7/week @ 2024-11-25 21/week @ 2024-12-02

199 downloads per month
Used in slumber

MIT license

505KB
11K SLoC

Slumber

Test CI crates.io Sponsor

Slumber example

Slumber is a TUI (terminal user interface) HTTP client. Define, execute, and share configurable HTTP requests. Slumber is built on some basic principles:

  • It will remain free to use forever
  • You own your data: all configuration and data is stored locally and can be checked into version control
  • It will never be enshittified

Features

Examples

Slumber is based around collections. A collection is a group of request recipes, which are templates for the requests you want to run. A simple collection could be:

# slumber.yml
requests:
  get: !request
    method: GET
    url: https://httpbin.org/get

  post: !request
    method: POST
    url: https://httpbin.org/post
    body: !json { "id": 3, "name": "Slumber" }

Create this file, then run the TUI with slumber.

For a more extensive example, see the docs.


lib.rs:

Command line interface for Slumber.

This crate is not semver compliant. The version is locked to the root slumber crate version. If you choose to depend directly on this crate, you do so at your own risk of breakage.

Dependencies

~43–58MB
~1M SLoC