btail is a command-line utility for viewing the tail of files with an interactive terminal user interface. It allows you to monitor log files in real-time with features like live updates, search functionality, syntax highlighting, and easy navigation.
Download binary files from releases
Make sure you have go installed on your system
go install github.com/galalen/btail@latest
Basic usage: Options:
-n <number>
: Set the number of lines to display (default: 5)-f
: Enable follow mode to watch for new lines
Examples:
btail -n 10 -f path/to/file.log
- nxadm/tail and grafana/tail: For inspiring the core file tailing functionality.
- bubbletea: For powering the interactive terminal UI.
Contributions are welcome! Please feel free to submit a Pull Request.
[MIT License]