Open-Source Tool

PeekAStokkLive Logs in Your Browser

A lightweight log viewer for developers. Point it at your log files or Docker containers and watch them stream into one web page, with filtering, pause and error highlighting. Built by our DevOps team for dev and staging servers, where full logging stacks are too much.

Free and open source (AGPL-3.0)

One Go binary, no database

Files, folders, globs and Docker

Forward logs from other servers

Why we built it

Working across many companies, developers and dev servers, we kept needing a quick way for developers to check application logs without handing out SSH access. Existing log viewers were built for production: heavy, complex or costly. PeekAStokk is the opposite: one small binary, almost no dependencies, and nothing to learn.

Features

Small tool, carefully built

Live streaming

Lines arrive over Server-Sent Events. The browser reconnects on its own and resumes exactly where it left off.

Rotation-safe tailing

Survives rename-and-recreate and copytruncate rotation, and waits for files that don't exist yet.

Infinite scrollback

Scroll up and older lines page in straight from the file on disk, all the way to the first line.

Filter and highlight

Substring filter with match highlighting; error and warning lines are tinted automatically.

Hundreds of files

Pick files from a searchable list. Only selected files are streamed, so the rest cost nothing.

Bounded memory

Ring-buffer history and capped queues everywhere. A slow browser is dropped, never allowed to stall tailing.

Docker logs, no socket

Reads container logs from a read-only mount of Docker's directory and tracks containers as they start and stop.

Forwarding

Run headless forwarders where the logs are and watch every server from one viewer, with buffering while offline.

Secure by default

Binds to localhost, optional Argon2id password, DNS-rebinding protection, and file paths never leave the server.

Get Started

Running in three steps

On a Linux server with systemd. Elsewhere, run go install github.com/shellsecrets/peekastokk@latest.

  1. 01

    Install

    The script picks the right binary for your CPU, verifies its checksum and sets up a hardened systemd service.

    curl -fsSL https://raw.githubusercontent.com/shellsecrets/peekastokk/master/install.sh | sudo sh
  2. 02

    Point it at your logs

    Add files, folders or glob patterns to /etc/peekastokk/config, or pass them on the command line.

    file = /var/log/nginx/*.log:edge
    file = /srv/api/log/production.log:api
  3. 03

    Open the viewer

    Start the service and open it in your browser, locally or behind nginx with TLS and a password.

    sudo systemctl enable --now peekastokk
    # open http://127.0.0.1:8844/
Many Servers, One Viewer

Forward logs from anywhere

The same binary runs as a viewer or as a headless forwarder. Each forwarder gets its own token, buffers lines in memory while the link is down, and pages older lines from its own disk when you scroll back. No syslog, SSH or third-party agents.

Want it set up on your servers?

Our DevOps team can install PeekAStokk behind nginx with TLS and a password, wire up forwarding from your other servers, and give your developers access.

PeekAStokk Questions

PeekAStokk FAQs

Licence, setup, storage and security.

Yes. It is open source under the GNU AGPL-3.0. You can use, change and share it freely; if you run a modified version as a network service, you must offer its source to that service's users.