React renderer for building interactive command-line apps with components and Flexbox layouts in the terminal.
antonmedv/fx
A terminal JSON viewer and processor that lets you browse, fold and transform JSON interactively in the shell.
Open-source alternative to:jq
- Stars
- 20,693
- Forks
- 495
- Open issues
- 6
- Last commit
- 14 days ago
What is it?
fx is a command-line tool written in Go for viewing and processing JSON in the terminal. It opens JSON in an interactive, navigable tree view, so you can expand and collapse nodes instead of scrolling through raw output.
Beyond viewing, fx can run transformations on the JSON it reads. You can apply JavaScript expressions or functions to the input from the command line, which makes it useful for quick filtering, extracting fields or reshaping data inside a pipeline.
The project's full documentation is hosted at fx.wtf and covers installation and usage. It is licensed under MIT and is part of a small set of terminal tools by the same author that also includes a file manager and a command helper.
Key features
- 01Interactive tree view for navigating and folding JSON in the terminal.
- 02Transform JSON with JavaScript expressions from the command line.
- 03Works as a filter in shell pipelines.
- 04Written in Go as a single command-line binary.
Use cases
- Inspecting large API responses without scrolling through raw output.
- Extracting or reshaping fields from JSON in shell scripts and pipelines.
- Exploring unfamiliar JSON files from logs or configuration dumps.
Topics
FAQ
- What is fx?
- A terminal JSON viewer and processor that lets you browse, fold and transform JSON interactively in the shell. fx is a command-line tool written in Go for viewing and processing JSON in the terminal. It opens JSON in an interactive, navigable tree view, so you can expand and collapse nodes instead of scrolling through raw output.
- Is fx free to use? What license does it have?
- fx is open source under the MIT license. Check the license terms before using it in commercial products.
- Is fx still maintained?
- Actively maintained. The last commit to fx was on Oct 8, 2026.
- What can I use fx for?
- Inspecting large API responses without scrolling through raw output. Extracting or reshaping fields from JSON in shell scripts and pipelines. Exploring unfamiliar JSON files from logs or configuration dumps.
- Where can I get fx?
- The source code and installation instructions are on GitHub: https://github.com/antonmedv/fx
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A terminal markdown reader and renderer that displays .md files and repos with styled formatting in the CLI.
A Rust crate for building terminal user interfaces (TUIs) with reusable widgets and a simple rendering model.
A terminal TUI for browsing, connecting to, and managing SSH hosts defined in your ~/.ssh/config file.
A modern terminal file manager written in Go, built with Bubble Tea, for browsing and managing files from the command line.
A tiny, fast terminal file manager in C for browsing, batch renaming, disk usage analysis and launching apps.