Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

gh-here

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-here

A local GitHub-like file browser for viewing code

Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
12
9.09%
Maintainers
2
Weekly downloads
 
Created
Source

gh-here

Local GitHub-style file browser for viewing codebases. Browse directories, view files with syntax highlighting, and explore git diffs.

Installation

npx gh-here

Or install globally:

npm install -g gh-here

Usage

gh-here                           # Start server on available port
gh-here --open                    # Start and open browser
gh-here --port=8080               # Use specific port
gh-here --open --browser=safari   # Open in Safari

Features

  • Directory browsing with file icons
  • Syntax highlighting for 30+ languages
  • README preview with markdown rendering
  • Language statistics
  • Git status indicators
  • Diff viewer with line numbers
  • Search files
  • Copy/download files
  • Rename/delete files and folders
  • .gitignore filtering
  • Dark/light themes
  • Keyboard navigation

Keyboard Shortcuts

KeyAction
j/k or arrowsNavigate files
Enter or oOpen file/folder
hGo up directory
/ or sFocus search
tToggle theme
iToggle .gitignore
dShow diff (if git changes)
rRefresh
?Show shortcuts

Development

npm install
npm start

Dependencies

  • express
  • highlight.js
  • marked
  • @primer/octicons

Keywords

github

FAQs

Package last updated on 31 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts