The modern API client that lives in your terminal.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by darrenburns about 1 month ago
With this release, Posting will watch loaded environment files and refresh the UI to reflect changes in them. There's some new config for hiding the collection browser on startup too, and a bunch of smaller changes. See the log below for more info.
collection_browser.show_on_startup
config to control whether the collection browser is shown on startup.pydantic-settings
crash workaround on empty config files.App.maximized
as it now clashes with a Textual concept.Full Changelog: https://github.com/darrenburns/posting/compare/1.12.3...1.13.0
Full Changelog: https://github.com/darrenburns/posting/compare/1.12.1...1.12.3
Note: 1.12.2 was yanked. It's equivalent to 1.12.1.
Published by darrenburns about 2 months ago
Full Changelog: https://github.com/darrenburns/posting/compare/1.12.0...1.12.1
Published by darrenburns 2 months ago
Full Changelog: https://github.com/darrenburns/posting/compare/1.11.0...1.12.0
Published by darrenburns 2 months ago
d
.D
(shift+d
).backspace
.shift+backspace
.collection_browser.position: 'right' | 'left'
config.Info
tab wraps instead of clipping out of view.Published by darrenburns 2 months ago
AUTO_FOCUS
behaviour, as it was causing focused widget to change unexpectedly on unmounting a screen.Full Changelog: https://github.com/darrenburns/posting/compare/1.10.0...1.10.1
Published by darrenburns 3 months ago
Posting's theme system has received an upgrade 🛠️ 🎨
100% of the UI is now colored based on the chosen theme - including syntax highlighting!
You can also now target more specific elements in the UI with your themes, for times where you disagree with Posting's use of semantic colors.
In the GIF below, keep an eye on the text in the URL bar, and the syntax highlighting of the JSON displayed in the text area.
With recent changes to the snapshot testing system, we can check how Posting's appearance changes right inside a pull request on GitHub!
https://github.com/user-attachments/assets/345c206c-8a74-4498-a648-c73162aa3721
Full Changelog: https://github.com/darrenburns/posting/compare/1.9.3...1.10.0
Published by darrenburns 3 months ago
Full Changelog: https://github.com/darrenburns/posting/compare/1.9.2...1.9.3
Published by darrenburns 3 months ago
Full Changelog: https://github.com/darrenburns/posting/compare/1.9.1...1.9.2
Published by darrenburns 3 months ago
Published by darrenburns 3 months ago
This release adds initial support for user defined themes 🎨.
Themes are simple YAML files which can be added to the Posting theme directory. You can find the default location of this directory by running posting locate themes
.
Here's the theme file for the theme above:
name: aurora
primary: '#4a90e2'
secondary: '#50e3c2'
accent: '#b8e986'
background: '#1c2331'
surface: '#2c3e50'
error: '#e74c3c'
warning: '#f39c12'
success: '#2ecc71'
panel: '#34495e'
dark: true
author: Darren Burns
description: An example theme.
homepage: https://github.com/darrenburns/posting
Copy this file into your themes directory and you'll be able to set aurora
as your theme using the config file (theme: aurora
), environment variable (POSTING_THEME=aurora
), or the command palette.
Share your creations with the community at https://github.com/darrenburns/posting/discussions/60!
There's also new support for themes loaded via X Resources.
There are a bunch of new configuration options for showing/hiding parts of the UI and enabling/disabling features.
Notably, themes will no longer automatically be previewed when you highlight them in the command palette by default. This can be re-enabled by setting command_palette.theme_preview
to false in the config file, or POSTING_COMMAND_PALETTE__THEME_PREVIEW=0
as an environment variable.
See the README for the full list of options.
There are a few fixes, including an important one for handling Unicode. .posting.yaml
files are now always read and written as UTF-8.
I've added a snapshot testing which covers all sorts of user interactions. These now run in CI, and should help maintain stability going forward.
Full Changelog: https://github.com/darrenburns/posting/compare/1.8.0...1.9.0
Published by darrenburns 3 months ago
Full Changelog: https://github.com/darrenburns/posting/compare/1.7.0...1.8.0
Published by darrenburns 3 months ago
This release adds some extra keybinds for opening text area content in your pager/json pager/editor.
It also adds warning toast popups if these aren't defined or cannot be executed.
A couple of focus related issues with jump mode are also fixed.
ctrl+P
(note the capital "P", that is ctrl+shift+p
on your keyboard!) in a TextArea opens pager, ctrl+E
opens editor. This is in addition to the existing f3
and f4
bindings.Full Changelog: https://github.com/darrenburns/posting/compare/1.6.0...1.7.0
Published by darrenburns 3 months ago
Adds ssl.ca_bundle
configuration option for specifying custom CA bundles.
Full Changelog: https://github.com/darrenburns/posting/compare/1.5.1...1.6.0
Published by darrenburns 3 months ago
Implements a temporary workaround for a bug with the Textual CommandPalette
(https://github.com/Textualize/textual/pull/4763).
Full Changelog: https://github.com/darrenburns/posting/compare/1.5.0...1.5.1
Published by darrenburns 3 months ago
The method selector and URL input are now accessible via Jump Mode using keybinds 1 and 2 respectively.
Full Changelog: https://github.com/darrenburns/posting/compare/1.4.0...1.5.0
Published by darrenburns 3 months ago
This release adds support for supplying custom SSL certificates to use in requests.
It also adds "focus shifts" - new configuration options to switch focus in response to events.
Here's how these new options look inside config.yaml
.
focus:
on_startup: collection
on_response: tabs
ssl:
certificate_path: 'absolute/path/to/certificate.pem'
key_file: 'absolute/path/to/key.key'
password: '***********'
A couple of tabs have also been renamed. Metadata
is now called Info
, and Parameters
is now called Query
.
ssl
config section)focus
config section:
focus.on_startup
to choose which widget gets focused on app launch.focus.on_response
to auto-shift focus on receiving a response.Metadata
tab to Info
Parameters
tab to Query
Full Changelog: https://github.com/darrenburns/posting/compare/1.3.0...1.4.0
Published by darrenburns 3 months ago
See the full list of keybindings and information + tips on the current focused widget.
https://github.com/user-attachments/assets/e8c2d89b-1c04-48b1-bf77-b0bc52241b08
ESC to dismiss
added to bottom of Jump overlay.
f1
or ctrl+?
(i.e. ctrl+shift+/
) to see all bindings and extra information/hints about the widget you're currently focusing.Full Changelog: https://github.com/darrenburns/posting/compare/1.2.0...1.3.0
Published by darrenburns 3 months ago
Adds two new keybindings to the response area.
ctrl+u
to move the cursor up half a page.ctrl+d
to move the cursor down half a page.https://github.com/user-attachments/assets/06642fe0-d86d-4241-bbcc-0d47bff3a9da
Published by darrenburns 3 months ago
This release adds some new features based on feedback I've received recently.
g
- move cursor to first line of responseG
- move cursor to last line of response%
- move cursor to matching bracketPOSTING_PAGER_JSON
config - allows you to use a custom pager for JSON responses (e.g. fx
)Here's an example of opening up a JSON response in fx
:
https://github.com/user-attachments/assets/4fe3b956-0796-4d0e-98b9-5c8275c3502a