Ducttapeworks

Polyscope

Read files and logs, wherever they live.

A folder on your machine or on a server, an S3 bucket, an Azure blob container, the files inside a Kubernetes pod, every container log in a namespace or on a Docker engine, the CloudWatch logs of an AWS region, or a Linux host's systemd journal, side by side in one read-only viewer. For Windows, macOS, Linux and VS Code. Free and open source.

  1. INFO Started checkout-api 2.14.1 in 5.912 seconds
  2. INFO POST /api/checkout user=u-18823 201 184ms order=48213
  3. INFO GET /api/cart/9a1e user=u-20117 200 11ms
  4. WARN Payment gateway slow: 2312ms for authorize
  5. INFO POST /api/checkout user=u-20117 201 2398ms order=48214
  6. ERROR Order 48215 failed: payment declined (card_declined)
  7. INFO GET /api/cart/77b0 user=u-31002 200 9ms
  8. INFO POST /api/checkout user=u-31002 201 203ms order=48216
  9. DEBUG Cache hit ratio 0.94 over the last minute

One sidebar for every place your logs end up

Set each place up once as a Source. Polyscope signs in the way your existing tools already do, so there are no new credentials to manage.

SourceWhat it showsSigns in with
Local FilesystemA folder on this machine, or a UNC share on WindowsYour own file permissions
SSH FilesA folder on a server, read over SFTP, through bastions if your ~/.ssh/config says soYour SSH agent, a key file, or a password
S3-compatible StorageA bucket, or the keys under a prefix, on AWS S3, Google Cloud Storage, MinIO, Ceph and othersAccess keys (HMAC keys for GCS), or an AWS profile (SSO included)
Azure Blob StorageA container in a storage account, or the blobs under a prefix, Data Lake Gen2 accounts includedA connection string, a SAS, or your Azure CLI sign-in (az login)
Kubernetes FilesA folder inside every pod of one Deployment, StatefulSet or DaemonSetYour kubeconfig, as kubectl does
Kubernetes LogsEvery container's log in a namespace, grouped by workload, with pod health and restartsYour kubeconfig, as kubectl does
Docker LogsEvery container's log on a Docker engine, or Podman, grouped by Compose project and service, with container health and restartsYour Docker contexts, as docker does: local socket, TCP with TLS, or SSH
CloudWatch LogsThe log groups of an AWS region, each opening as one log of all its streams, or stream by stream, without calling any API billed per useAn AWS profile (SSO included), or access keys
systemd JournalThe journal of every system unit that has logged on a Linux host, with its active state, over SSH or on this machineOver SSH, as SSH Files does; on this machine, your own user
Following a container's log in a Kubernetes namespace, its pods grouped by workload

Built for reading, not editing

A real viewer
Tabs, syntax and log-level highlighting, search, a minimap and line wrapping. Gzip and zstd files open decompressed. It's the editor behind VS Code, opened read-only.
Logs that keep up
Follow a container's log or a growing file live. Pause to read, then pick up where you left off. A crashed container's previous log is one toggle away, in the same tab.
Files of any size
Files over 50 MB open end-first in a paged viewer that jumps to any line and searches the whole file with a regular expression, without loading it into memory.
Always know where you are
Label Sources with an environment like prod or staging. Its colour follows you onto every tab and the status bar.
Read-only and private
Polyscope never writes to what it reads and collects no telemetry. Secrets are encrypted with your operating system's secure storage.
In VS Code too
The extension brings the same Sources sidebar to VS Code, VSCodium, Cursor and Windsurf, and runs on the remote machine under Remote-SSH, WSL and Dev Containers.

Take a look

The Large File Viewer, a crashed container's previous run, and the rest of the app around your Sources.

The Large File Viewer, searching a log for errors

In VS Code too

The Polyscope icon in the activity bar opens the same Sources sidebar as the app. Files open read-only in VS Code's own editor, labelled with their Source and tinted with its Environment's colour. Followed files, container logs, CloudWatch logs, systemd journals and Large Files open in a Polyscope viewer tab that appends live lines and pages through multi-gigabyte files. Under Remote-SSH, WSL and Dev Containers it runs on the remote machine, with that machine's SSH, AWS, Azure, Kubernetes and Docker config.

The Polyscope sidebar in VS Code, following a container's log in a Kubernetes namespace

Install

Desktop app

Download it from the latest release on GitHub.

  • Windows Installer .exe, or a portable .exe or .zip that runs without installing
  • macOS .dmg for Apple silicon or Intel
  • Linux .AppImage, .deb or .rpm

The downloads aren't code-signed yet, so your system will warn you the first time you open Polyscope. How to get past the warning.

VS Code extension

Search for Polyscope in the Extensions view, or install it from your editor's marketplace.

code --install-extension ducttapeworks.polyscope