
A lightweight Safari Web Extension for macOS that streamlines the extraction, copying, and rendering of GitHub README files. Designed for seamless integration into AI workflows, summarization pipelines, or rapid developer reference.
-
Seamless Integration Contextual activation on GitHub repository pages.
-
Instant Retrieval One-click access to the primary README.
-
Dual View Modes Toggle between raw Markdown and rendered HTML using
marked.js
. -
One-Click Copy Copy raw Markdown to clipboard for documentation or AI pipelines.
-
Adaptive UI Automatically matches system light and dark modes.
Note: “Copy as File” and “Download” are implemented in code but not exposed due to Safari Web Extension constraints.
git clone https://github.com/kgruiz/github-readme-viewer.git
cd github-readme-viewer
open github-readme-viewer.xcodeproj
# Build (⌘B) and Run (⌘R) once to register the extension
Enable in Safari ▸ Settings ▸ Extensions ▸ GitHub README Exporter
- Navigate to any GitHub repository in Safari.
- Click the extension’s toolbar icon.
- Toggle between raw and rendered views.
- Click Copy Content to copy the Markdown.
- macOS Host App: Swift & Cocoa container
- Safari Web Extension: HTML, CSS, JavaScript with
marked.js
- API: GitHub REST “Get Repository README” endpoint
- Fork the repository and create a branch (
feature/...
orfix/...
). - Implement changes with a clear commit message.
- Submit a pull request against
main
.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.