Repolode
LucasPickering

LucasPickering/slumber

A terminal (TUI) HTTP client that defines and runs REST requests from version-controllable YAML collections.

Open-source alternative to:PostmanInsomnia

Stars
1,230
Forks
40
Open issues
9
Last commit
5 days ago

What is it?

Slumber is a terminal user interface HTTP client for defining, running and sharing REST requests. Requests are organized into collections of recipes, which are templates that can be run from the TUI, the command line, or a Python package.

All configuration and data is stored locally in plain files, so a collection can be checked into version control and shared with a team. Requests can be built dynamically from other requests, files and shell commands, and environments are switched through profiles. Responses can be browsed and filtered with JSONPath selectors, and existing collections can be imported from formats such as Insomnia.

Key features

  • 01Runs as a terminal TUI, a CLI, or a Python package
  • 02Stores collections as source files that can be version controlled
  • 03Builds requests dynamically from other requests, files and shell commands
  • 04Filters response data with JSONPath selectors
  • 05Switches environments with profiles
  • 06Imports collections from external formats such as Insomnia

Use cases

  • Testing REST APIs without leaving the terminal
  • Sharing a set of API requests with a team through a Git repository
  • Scripting HTTP requests from Python or the command line
  • Migrating existing Insomnia requests to a text-based workflow

Quick start

  1. 1

    Install Slumber by following the installation guide linked in the README

  2. 2

    Create a slumber.yml file with the example collection from the README

  3. 3

    Run the TUI from the directory containing the file

    slumber

Topics

FAQ

What is slumber?
A terminal (TUI) HTTP client that defines and runs REST requests from version-controllable YAML collections. Slumber is a terminal user interface HTTP client for defining, running and sharing REST requests. Requests are organized into collections of recipes, which are templates that can be run from the TUI, the command line, or a Python package.
Is slumber free to use? What license does it have?
slumber is open source under the MIT license. Check the license terms before using it in commercial products.
Is slumber still maintained?
Actively maintained. The last commit to slumber was on Oct 17, 2026.
What can I use slumber for?
Testing REST APIs without leaving the terminal Sharing a set of API requests with a team through a Git repository Scripting HTTP requests from Python or the command line Migrating existing Insomnia requests to a text-based workflow
How do I install slumber?
Install Slumber by following the installation guide linked in the README Create a slumber.yml file with the example collection from the README Run the TUI from the directory containing the file: slumber
Where can I get slumber?
The source code and installation instructions are on GitHub: https://github.com/LucasPickering/slumber

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects