{"repo":"dubeyKartikay/peacock","free":true,"listed":false,"github":"https://github.com/dubeyKartikay/peacock","clone":"git clone https://github.com/dubeyKartikay/peacock.git","description":"Beautiful JSON log viewer for your terminal.","language":"Go","stars":13,"topics":["bubbletea","cli","developer-tools","go","golang","json","log-viewer","logging","logs","tail"],"license":"MIT","category":"cli-tools","readme_excerpt":"📈 Writeup: Making a Log Viewer 12× Faster — a Go pprof case study (52 → 651 lines/sec) Peacock A charming tail replacement for developers Pipe your JSON log output into peacock and get colorized, readable, filterable log streams in the terminal. Tail vs Peacock --- Installation Homebrew (Linux & macOS): One-liner (Linux & macOS) — installs the latest release to /.local/bin and updates your shell config: With Go: Manual — pre-built binaries for Linux, macOS, and Windows are available on the releases page. --- Follow Logs Pause / Resume Filter Logs Multiple Filters Remove Last Filter --- Usage CLI Flags Flag Default Description ------ --------- ------------- -f , --follow false Follow appended lines (like tail -f ) -n , --lines 10 Number of lines to read from end of file on startup --config Platform default Path to a custom config file Keybindings Key Action ----- -------- Space Pause / resume live tail / Enter filter mode (press Enter to apply) Esc Clear filter and exit filter mode Backspace Remove last active filter g Jump to top G Jump to bottom PageUp / Ctrl+B Scroll up one page PageDown / Ctrl+F Scroll down one page Ctrl+C Quit --- JSON Log Highlighting peacock parses each line as JSON and renders it with structured formatting and color: - Level : color-coded: ERROR / FATAL in red, WARN in yellow, INFO in green, DEBUG in cyan - Timestamp : dimmed, pulled from time or timestamp fields - Message : bright white, pulled from msg or message fields - Caller : pulled from caller","default_branch":null,"files":null,"tree":[],"storefront":"/r/dubeyKartikay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dubeyKartikay/peacock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}