github.com/nxadm/tail ↗

[Revamped] Go package for reading from continuously updated files (tail -f)

An animated visualization of nxadm/tail's Git history from October 2012 to December 2020, built by 41 contributors. The codebase reached 1,271 lines, mostly Go. The video runs 1 minute 46 seconds.

Render your own repo

Turn any GitHub repository into a video like this — free sample in seconds.

Visualize your own →

Open this visualization on its own page →

Language

Go

Contributors

41

Lines of Code

1,271

From

2012-10-09

To

2020-12-24

Advertisement

About nxadm/tail

nxadm/tail is a Go library that provides tail functionality for reading from continuously updated files, mimicking the behavior of the Unix `tail -f` command. The package includes robust support for file truncation and move detection, making it suitable for use with log rotation tools. It works across all major operating systems supported by Go, including Linux, BSD variants, macOS, and Windows, with compatibility back to Go 1.12.

The project is an actively maintained replacement for the abandoned hpcloud/tail library. It addresses the original project's open issues and pull requests while adding new features, fixing bugs, and keeping dependencies current with modern Go tooling and modules. The library provides a straightforward API for monitoring file changes and includes example code in its repository for debugging and reference purposes.

Advertisement

Share this video