slumber-1.0.0 is not a library.
Slumber
Disclaimer: Slumber is still early in development. It is ready to use, but updates still will have occasional breaking changes. Until version 1.0 is released, be prepared to have to change your config file after upgrades. I'll do my best to keep the upgrades as smooth as possible.
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
- Usable as a TUI or CLI
- Source-first configuration, for easy persistence and sharing
- Import from external formats (e.g. Insomnia)
- Build requests dynamically from other requests, files, and shell commands
- Browse response data using JSONPath selectors
- Switch between different environments easily using profiles
- And more!
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:
method: GET
url: https://httpbin.org/get
Create this file, then run the TUI with slumber
.
For a more extensive example, see the docs.