← All projects

Project · 2025

Tinylog

A terminal log viewer that tails, filters and colours a million lines without lag.

RoleSolo project
WhereOpen source
Year2025
StackRust, CLI

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

  1. 01Memory-mapped the file so opening a gigabyte takes no longer than opening a kilobyte.
  2. 02Indexed lines lazily, only the ones near the screen.
  3. 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

Screenshots

Next projectGridlock →