mirror of
https://github.com/LucasPickering/slumber
synced 2026-07-22 17:13:42 +00:00
No description
- Rust 99.5%
- Python 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| crates | ||
| docs | ||
| mise-tasks | ||
| schemas | ||
| src | ||
| static | ||
| tapes | ||
| test_data | ||
| .clippy.toml | ||
| .gitattributes | ||
| .gitignore | ||
| .rules | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| mise.toml | ||
| README.md | ||
| RELEASE.md | ||
| rust-toolchain.toml | ||
| slumber.yml | ||
Slumber
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, CLI, or Python package
- 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://shoal.lucaspickering.me/fish
post:
method: POST
url: https://shoal.lucaspickering.me/fish
body:
type: json
data:
{
"name": "Barry Bartlett",
"species": "Barracuda",
"age": 3,
"weight_kg": 6.2,
}
Create this file, then run the TUI with slumber.
For a more extensive example, see the docs.
Development
If you want to contribute to Slumber, see CONTRIBUTING.md for guidelines, development instructions, etc.
