5 releases (3 stable)

new 2.0.0 Sep 6, 2024
2.0.0-beta.1 Aug 28, 2024
1.8.1 Aug 11, 2024
1.8.0 Aug 9, 2024

#118 in #rest

Download history 135/week @ 2024-08-05 131/week @ 2024-08-12 7/week @ 2024-08-19 133/week @ 2024-08-26

406 downloads per month
Used in 4 crates

MIT license

430KB
10K 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:

Core frontend-agnostic functionality for Slumber, agnostic of the front end.

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

~36–51MB
~880K SLoC