GitHub - SyntaxError2505/jlook: A cli json pretty maker for piping · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
SyntaxError2505
jlook
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>51 Commits<br>51 Commits
images
images
src
src
.gitignore
.gitignore
LICENSE
LICENSE
Makefile
Makefile
README.md
README.md
test.json
test.json
View all files
Repository files navigation
Jlook
because your json deserves better
jlooks functions including linting and syntax highlighting in bash pipes
Usage
After installing jlook, it is really easy to use. Just call the executable trough a shell like
jlook
It will ask for a single-line input of valid JSON and, after confirming by pressing enter, try to print out a goodlooking and readable version of whatever you typed in. Also, so you don't have to copy it in every time, you can pipe a string into it like this in bash:
cat test.json | jlook
It will just print out the pretty result which you can pipe pipe into any utility you like. E.g tee to write output into a file like this:
cat test.json | jlook | tee pretty_test.json
Building
Jlook does not depend on any libraries beyond glibc. You will need the gnu c compiler gcc and the make build system. It is designed to be used on a unix-like-system which means that it will probably compile on something else but is not tested.
A build process would look like this:
git clone https://github.com/SyntaxError2505/jlook.git<br>cd jlook
# If you just want to build it:<br>make DEBUG=0 # Remove DEBUG if you wan't a debug build. Debug builds are slower and bigger.
# If DEBUG mode was on, remove debug exectutable before installation<br>make clean
# Installing it globally<br>sudo make install DEBUG=0 # Debug builds are not intended for installation. This is how to install a release build. Specify install directory by setting PREFIX:<br>sudo make install PREFIX=path/to/install/directory # Default is /usr/local/bin/
Uninstalling
We offer a uninstall target that you can use in the directory like this:
sudo make uninstall
it does the same as:
sudo rm -f $(which jlook)
About
A cli json pretty maker for piping
Resources
Readme
License
MIT license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
v1.2.0
Latest
Jul 1, 2026
+ 2 releases
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
93.8%
Makefile<br>6.2%
You can’t perform that action at this time.