Show HN: Posting v1 – The modern HTTP client that lives in your terminal
184 points| nsdarren | 1 year ago |github.com
I just released version 1.0 of Posting, an open source terminal application I've been working on which you might find useful if you work with, test, or develop HTTP APIs!
Posting (https://github.com/darrenburns/posting) is an HTTP client, not unlike Postman and Insomnia. However, as a TUI application, it works over SSH and enables efficient keyboard-centric workflows. Your requests are stored locally in simple readable YAML files, meaning they're easy to read and version control.
Some other features include:
- "Jump mode" navigation - Environments/variables with autocompletion - Syntax highlighting powered by tree-sitter - Vim keys support in much of the UI - Various builtin themes - A config system - "Open in $EDITOR" - A fuzzy search command palette for quickly accessing functionality.
Posting is written in Python using the Textual[1] framework, which I also help maintain.
Although 1.0 has been released, it's not yet feature complete. I'd love to hear feedback from the community to make sure I'm on the right track and learn what's important to people.
So, if you have any thoughts, feature requests, or opinions, big or small, I'd love to hear them. At this early stage, your ideas can really help shape the roadmap of the project!
Thanks, Darren
[1] Textual: https://github.com/Textualize/textual
gregwebs|1 year ago
nsdarren|1 year ago
sprobertson|1 year ago
nsdarren|1 year ago
kbd|1 year ago
Thanks for improving my workflow, Darren!
nsdarren|1 year ago
yoavm|1 year ago
the one thing that worries me is compatibility - I echo the voices asking for hurl support. it kinda sucks that each of these programs invents its own format.
it would also be great to be able to run these requests as part of a CI pipeline, without opening the TUI. supporting a format like hurl would add this ability automatically, because the same files could be used by other clients.
p.s. upon trying it out the first things i missed is "how do I create a new collection?" and "how do I exit?". it felt that both should have been a command in the command plate. in the end if created the collection manually as a folder and exited using Ctrl+C, but I'm still not sure if that was the intended way.
nsdarren|1 year ago
Hiding how to quit the app was just another attempt to win over the Vim crowd!
(Yes ctrl+c is the intended way, it’s in the docs now and I’ll add it to the app footer)
timvdalen|1 year ago
halfmatthalfcat|1 year ago
saila|1 year ago
- It took me a while to find the Metadata tab to edit a request's name, I guess because I don't think of the name and description as metadata (even if in a technical sense they are, relative to the request config). My inclination would be to make this the first tab and rename it to Info.
- I somehow managed to save two requests into the same file with no warning/confirmation from the UI.
- When using the up/down arrows to navigate between requests in a collection, I found it counterintuitive to have to hit Enter to actually select the request.
nsdarren|1 year ago
There are a couple of UX sharp edges to clear up for sure - a bit more validation, confirmations, etc to be added.
tusharsadhwani|1 year ago
nsdarren|1 year ago
leetrout|1 year ago
https://marketplace.visualstudio.com/items?itemName=humao.re...
Iwan-Zotow|1 year ago
Curious if it works in VSCODE terminal, did you try it?
D13Fd|1 year ago
nsdarren|1 year ago
astrodude|1 year ago
I developed Just-API (https://github.com/kiranz/just-api) with YAMLs for automation testing of APIs.
waiyan13|1 year ago
BTW, have you looked at Bruno before deciding to develop yourself?
nsdarren|1 year ago
I had a look at the Bruno website for the first time a few weeks ago, although I haven't tried it for myself yet. I'm definitely inspired by and agree with a lot of the principles behind Bruno: local first, developer friendly, readable/Git-friendly collections and so on.
I think I share a lot of the same motivations as Bruno's creator - I feel the landscape of HTTP API testing clients may actually have regressed in recent years from a developer's perspective, as the companies behind Postman/Insomnia etc. figure out how to monetise them.
erksa|1 year ago
Great including themes, but for light mode it's only one. Does Posting/Textual support no theming falling back on the configured terminal that runs it?
nsdarren|1 year ago
There's no fallback to the ANSI theme of the terminal as it breaks a lot of Textual's features.
There is a PR open at the moment relating to detecting the terminal background colour I believe, so in the future we could probably use that to choose a reasonable fallback.
eigenvalue|1 year ago
nsdarren|1 year ago
sibeliuss|1 year ago
billowycoat|1 year ago
CodeWriter23|1 year ago
nsdarren|1 year ago
connordavenport|1 year ago
flufluflufluffy|1 year ago
edit: omg I didn’t even notice the vim keybinds I’m sold
zorrn|1 year ago
nsdarren|1 year ago
goalonetwo|1 year ago
All HTTP APIs that are all made to interact with JSON.
bartvk|1 year ago
joseangel_sc|1 year ago
dlvhdr|1 year ago
tills13|1 year ago
rochak|1 year ago
timetraveller26|1 year ago
lylejantzi3rd|1 year ago
billowycoat|1 year ago
4lejandrito|1 year ago