HeadlinesBriefing favicon HeadlinesBriefing.com

Emacs Extension Lets You Browse GitHub Repos Live

Hacker News •
×

Emacs users can now explore any GitHub repository without cloning, thanks to remoto.el. The tool hooks into Emacs’ file system handling, translating file operations into GitHub API calls via the gh CLI. Standard commands like find‑file, dired, and completion work against a remote repo, offering a read‑only view.

The extension registers a virtual file system that caches an entire repo tree in one HTTP call. Subsequent directory listings, file checks, and completions are served from memory, while file contents load on demand. Authentication, SSO, and private repos are handled transparently through gh, eliminating the need for manual token setup.

Designed for quick code reviews, README reads, and structural navigation, remoto.el sidesteps the overhead of cloning large projects. Its read‑only nature means no commits or pushes, and timestamps are synthetic. For now, the tool supports only GitHub, but future releases aim to cover GitLab and Codeberg. The package is available via use‑package and straight, though not yet on MELPA.