Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gate CLI Browser

Gate is a terminal-native browser for readable web documents, especially developer documentation.

It fetches HTML, converts the meaningful document structure to Markdown, and renders it either in a keyboard-driven TUI or as command output.

Usage

python main.py
python main.py https://docs.python.org/3/
python main.py "python docs"
python main.py --dump https://example.com
python main.py --no-tui https://example.com
python main.py --dial

After installing the package, the same commands are available through gate.

pip install -e .
gate https://docs.python.org/3/
gate "python docs"
gate --dial

The address bar accepts URLs, link numbers, or plain search text. Plain text opens a web search results page that works without JavaScript.

TUI Keys

  • Up / k: scroll up
  • Down / j: scroll down
  • u: scroll up by a page
  • d / Space: scroll down by a page
  • digits then Enter: open a numbered link
  • o or g: open a URL or search
  • b: back
  • f: forward
  • r: reload
  • /: search the current document
  • n: next search match
  • N: previous search match
  • Esc: cancel typed input or a link number
  • q: quit

Stargate

Run gate --dial, open gate://dial, or type dial in the TUI URL bar.

Supported Content

Gate preserves document order and renders headings, paragraphs, links, code blocks, inline code, lists, blockquotes, tables, rules, and image alt text. Relative links are resolved against the current page URL.

About

A basic python based browser for the cli

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages