Project · 2025
Tinylog
A terminal log viewer that tails, filters and colours a million lines without lag.
INFO
INFO
WARN
INFO
ERR
INFO
The problem
Every log viewer I tried either choked on big files or needed a server. I wanted something that opens instantly and stays out of the way.
The approach
- 01Memory-mapped the file so opening a gigabyte takes no longer than opening a kilobyte.
- 02Indexed lines lazily, only the ones near the screen.
- 03Kept the interface to a handful of keys that follow the muscle memory of less and vim.
The outcome
- 1Mlines tailed without lag
- 5msto open a 1GB file
- 800stars on GitHub