Show HN: Portable Giant File Viewer

github.com

35 points by sunny41 10 months ago

I’ve been dealing with huge log files lately, several GBs in size, and got frustrated with common tools such as Notepad++ freezing and crashing a server with limited RAM. I wanted something fast, relatively lightweight, and install-free for Windows. I have been searched around the web for a while but couldn't find an equivalent, so I built Giant Log Viewer.

Features:

- It is an equivalent of the Linux' `less` pager tool for Windows, but works on Linux and macOS too

- Opens multi-GB UTF-8 unstructured log/text files instantly (without loading everything into memory)

- Navigates through the file using keyboard shortcuts -- jump to the end of the file, go to previous line, etc.

- Limited text/regular expression searching

- Portable -- just unzip and run

- Open-source -- welcome to contribute or fork

Would love your feedback, and if it’s useful, feel free to star it, suggest improvements or even contribute! Depends on the needs of myself and other users, more features might be added.

zemlyansky 10 months ago

A browser-based alternative made with JS and streams: https://statsim.com/preview/

  • sunny41 10 months ago

    I was excited to hear about this and had a try. It seems it is not possible to jump to the end of the file.

quyse 10 months ago

As an alternative, on Windows I've always been using Far Manager [1], it supports viewing files of arbitrary size without loading them in RAM. Supports encodings, search, doesn't explode on binary files, etc.

[1] https://www.farmanager.com/

  • knowitnone 10 months ago

    Everything that is viewed is loaded in RAM or am I wrong? Perhaps it can load partial file? This looks like midnight commander.

cmiller1 10 months ago

The linked page appears to be down, I get an "Access to this site has been restricted" error.

  • sunny41 10 months ago

    Do you still get this error now?

sunny41 10 months ago

As AI is hot recently, there is also some AI in this tool -- the app icon is made using AI.

atmanactive 10 months ago

What about the colors? Dark mode? Is that hard-coded or adjustable?

  • sunny41 10 months ago

    Dark mode will be available in a week. The colors are hard-coded currently, but I can make it adjustable.

knowitnone 10 months ago

Less can be downloaded but I apprecaite you for this tool