July 10th, 2024

Show HN: Posting v1 – The modern HTTP client that lives in your terminal

Posting is a versatile HTTP client for terminals, enabling request storage in YAML files. It features navigation shortcuts, environments, syntax highlighting, themes, and Vim key bindings. Installation is easy with `pipx install posting`.

Read original articleLink Icon
Show HN: Posting v1 – The modern HTTP client that lives in your terminal

Posting is a robust HTTP client tool designed for terminal use, allowing users to store requests in YAML files for easy readability and version control. Key features include jump mode navigation, an environments/variables system with autocompletion, syntax highlighting, Vim key bindings, various themes, and a command palette for quick access. Installation is simple with `pipx install posting`. Requests are organized in collections, navigated through shortcuts and tab navigation. Environments and variables can be utilized, with support for loading variables from `.env` files. Configuration options include themes, layouts, and animation levels via files or environment variables. Posting also offers experimental support for importing OpenAPI 3.x specifications. For more details and usage instructions, refer to the Posting GitHub repository.

Related

Show HN: Qq: like jq, but can transcode between many formats

Show HN: Qq: like jq, but can transcode between many formats

The GitHub repository hosts `qq`, a tool using `jq` query syntax and `gojq` for configuration format transcoding. It offers interactive query building, multiple format support, and encoding performance focus. Installation options include source or releases. Contributions welcome.

Show HN: Adding Mistral Codestral and GPT-4o to Jupyter Notebooks

Show HN: Adding Mistral Codestral and GPT-4o to Jupyter Notebooks

Pretzel is an open-source tool enhancing Jupyter with AI code generation, inline tab completion, sidebar chat, and error fixing. Seamless transition from Jupyter is possible, maintaining compatibility. Installation via 'pip install pretzelai'.

Markdown: An effective tool for LLM interaction

Markdown: An effective tool for LLM interaction

Introducing 'Mark', a Markdown CLI tool for seamless interaction with GPT-4o models. It enables in-document threaded conversations, image tags, link references, and extensibility through standard input. Mark enhances user experience by optimizing interactions with LLMs. Installation requires an OpenAI API key and Python 3.10+.

Creating a Simple Pastebin Service in Python and Flask – Muhammad

Creating a Simple Pastebin Service in Python and Flask – Muhammad

A blog post describes creating a Pastebin service with Python and Flask. Users can paste text, select a language, and get a unique URL. Setup includes virtual environment, Flask, shortuuid, and pygments. Code manages submissions, displays content with syntax highlighting, and views pastes. Suggestions for project enhancements and author's services mentioned.

Mongo but on Postgres and with strong consistency benefits

Mongo but on Postgres and with strong consistency benefits

The Pongo project on GitHub offers a tool for utilizing MongoDB-like syntax on Postgres with strong consistency benefits. It supports data operations in Postgres and provides a MongoDB-compatible shim. Visit the GitHub repository for details.

Link Icon 22 comments
By @gregwebs - 6 months
Would be great to be able to use it with the hurl format to have a GUI for hurl: https://hurl.dev/docs/hurl-file.html
By @sprobertson - 6 months
This is great, I could see myself using it daily. The only hindrance I've found so far is navigating large responses. Would be cool to have some way to collapse chunks of JSON (a la https://github.com/antonmedv/fx), or even just more vim key navigation, like G/gg, %, {/}, and search.
By @kbd - 6 months
After never being happy with Postman or Insomnia and defaulting to 'curlie' for http requests, Posting is the first http gui that I'm actually sticking with. I have a terminal tab with it open all the time and it somehow manages to be more efficient than "up arrow+enter" (since you can just hit enter).

Thanks for improving my workflow, Darren!

By @yoavm - 6 months
this looks really great! since insomnia started requiring an account I never really settled on anything else.

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.

By @saila - 6 months
This is awesome. Here are a couple bits of feedback:

- 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.

By @tusharsadhwani - 6 months
This is already the best API testing client that I have found. It's lightweight, it's snappy, it's intuitive, and it can run on a VPS out of the box over an SSH connection, no proxying needed.
By @leetrout - 6 months
This looks pretty cool! I have yet to find something to pull me away from the Rest Client extension for VS code. I will give this a try and see how it shakes out but at a glance on my phone I am not seeing support for variables.

https://marketplace.visualstudio.com/items?itemName=humao.re...

By @D13Fd - 6 months
Nice. Textual is awesome. I used it to develop a screenshot database app for an online game. It was ridiculously easy and the resulting app is speedy.
By @astrodude - 6 months
This looks great. I love that it's using YAML files that can be version controlled and shared.

I developed Just-API (https://github.com/kiranz/just-api) with YAMLs for automation testing of APIs.

By @waiyan13 - 6 months
Kudos to you man. I also had the same idea of developing a similar TUI tool because I'm getting tired of Electron apps for this. Now I can use yours with a peace of mind.

BTW, have you looked at Bruno before deciding to develop yourself?

By @erksa - 6 months
This is great and feels very smooth to use. I really like the UX of it.

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?

By @eigenvalue - 6 months
Looks cool. Would be really nice if you could automatically generate the yaml files from an openapi.json file like the kind that are automatically generated by FastAPI.
By @sibeliuss - 6 months
This thing is cool. How did you do the visual terminal layout?
By @CodeWriter23 - 6 months
Does it support OAuth2 authentication/ token acquisition? I’d love to not have to put my access token / secret key into Postman. Happy to be a tester.
By @connordavenport - 6 months
This is fantastic, I love the jump mode navigation. Will be using this for the foreseeable future. Thanks for making it.
By @flufluflufluffy - 6 months
I’m going to use this from now on simply because of how much more fun it is xD

edit: omg I didn’t even notice the vim keybinds I’m sold

By @zorrn - 6 months
Does anyone know which terminal emulator is used in all the examples? Looks very good!
By @goalonetwo - 6 months
Am I the only one that hates what the internet became?

All HTTP APIs that are all made to interact with JSON.

By @dlvhdr - 6 months
This is amazing
By @tills13 - 6 months
We've strayed so far from God
By @rochak - 6 months
Everything looks great except for it being written in Python. I’ll work on developing something similar with Go.
By @lylejantzi3rd - 6 months
Am I the only one who prefers to use nodejs and fetch for this these days? Especially since I need it to work in Windows (and no, I can't install WSL).