Fresh: The Terminal Editor that Opens 2GB Logs in ~600ms with <40MB RAM

Published: (March 11, 2026 at 05:59 PM EDT)
2 min read
Source: Dev.to

Source: Dev.to

If you’ve ever cracked open a multi‑gigabyte log only to watch your editor choke, this’ll feel like cheating. Fresh is a new terminal‑based editor written in Rust that behaves like a modern GUI editor — command palette, mouse support, LSP, multi‑cursor — yet stays tiny and fast enough to open a 2 GB ANSI‑colored log in about 600 ms while sipping ~36 MB RAM (author’s benchmark). It’s open‑source and solo‑built.

Why Fresh exists (and why it’s interesting)

  • Discoverable UX – menus, a Command Palette (Ctrl + P), familiar keybindings, mouse & scrollbars.
  • Familiarity – if you can use VS Code, you can use Fresh.
  • Performance – ~600 ms load, ~36 MB RAM, ANSI colors shown.

Quickstart

Homebrew (macOS)

brew tap sinelaw/fresh

Debian/Ubuntu

sudo dpkg -i fresh-editor_*.deb

RPM (Fedora, CentOS, etc.)

sudo rpm -i fresh-editor-*.rpm

Arch Linux (AUR)

yay -S fresh-editor

Rust users (crates.io)

cargo install fresh-editor

Node (no installation)

npx @fresh-editor/fresh-editor

Releases & detailed instructions are on the project’s README.

60‑second tour

(A short video or GIF walkthrough showing a 2 GB file opening, the Command Palette, multi‑cursor, and LSP integration.)

Ideas to build next

  • “Triage Log” plugin – colorize severity, jump between error frames, extract request IDs.

Example: generate a 2 GB colored log file

# generate_huge_log.py
import os

line = "\x1b[32mINFO\x1b[0m something happened id=1234\n"
target = 2 * 1024 * 1024 * 1024  # 2 GB
written = 0
with open("huge.log", "w") as f:
    while written < target:
        f.write(line)
        written += len(line)

Quick adoption playbook (for you, the author)

  • Produce a one‑minute demo video + GIFs showing (1) 2 GB open, (2) Command Palette, (3) multi‑cursor, (4) LSP. Link from the README & website.
  • Offer keymap packs (VS Code / Sublime / Emacs‑like) to make switching painless. The README already lists keymap support—double down on it.

Acknowledgments

Thanks to Noam Lewis, the maintainer of the Fresh Git repository, for his valuable work.

0 views
Back to Blog

Related posts

Read more »

Jemalloc un-abandoned by Meta

- Meta recognizes the long‑term benefits of jemalloc, a high‑performance memory allocator, in its software infrastructure. - We are renewing focus on jemalloc,...

Meta’s renewed commitment to jemalloc

Meta recognizes the long‑term benefits of jemalloc, a high‑performance memory allocator, in its software infrastructure. We are renewing focus on jemalloc, aimi...