Skip to content

cwchentw/browse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

browse

A lightweight lynx(1) wrapper for a seamless terminal browsing experience.

Features

  • Terminal Friendly: Automatically wraps text to an optimal width of 80 characters.
  • Smart Paging: Full support for your preferred $PAGER.
  • Editor Compatible: Safely handles interactive editors (like vim, nano, emacs) as pagers using smart temporary file management to prevent terminal distortion.

Prerequisites

  • lynx (The text web browser)

Installation

Copy the browse script to any directory in your $PATH and ensure it is executable:

chmod +x browse
cp -p browse ~/bin/

Usage

Basic Browsing

browse "https://mozilla.org"

Using a Custom Pager

PAGER=less browse "https://mozilla.org"

Using an Editor as a Pager

PAGER=vim browse "https://mozilla.org"

License

Copyright (c) 2026 BytBard. Licensed under the MIT License.

Contributors

Languages