Skip to content

carban/postbear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postbear

Postbear is the Postman alternative in your terminal

image
image

Installation

You have two options to use Postbear:

  1. Just run in your terminal:
go install github.com/carban/postbear@latest
  1. Or clone this repo and build the code with:
go build -o postbear

Usage

TUI mode

postbear

Read .http file

postbear read [.http filepath]

CLI mode

postbear run [method] [endpoint]

Examples

All the examples here uses fooapi.com an API created by me some months ago. The platform provides realistic dummy data across several categories, which you can use to mock your projects and ideas. Here is the repo

TUI Mode image1

TUI Mode reading .http file image2

CLI Mode image3

Command List

Command Description
tab Move Around
shift + tab Reverse Tab
n New Request (in requests list panel)
r Remove Request (in requests list panel)
enter Send Request
ctrl + s Save Request in a .http file
shift + Arrow Keys Change Tabs (Params/Body/Header)
enter Move from key input to value input (in Params tab)
enter Add a new row from value input (in Params tab)
key up / key down Move around params (in Params tab)
ctrl + e Open Environment Variables page
ctrl + h Open Help Page
ctrl + c Quit

Acknowledgement

This project were inspired by Gostman

Contributing

This is a personal project any feedback is welcome. for major changes, please open an issue first to discuss what you would like to change.

Please star it ⭐, It helps others find the project!

License

MIT License

About

Postbear is the Postman alternative in your terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages