Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 592 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 592 Bytes

scraper

Simple CLI tool to scrape a GitHub repository (optionally a private one) and combine all the Markdown files it finds into a single file. This file can then be easily uploaded to ChatGPT, Deepseek, Qwen, etc.

Usage

Create a .env.local file with the following variables:

  • REPO_OWNER: The owner of the GitHub repository.
  • REPO_NAME: The name of the GitHub repository.
  • GITHUB_TOKEN: The GitHub personal access token.

For instance:

REPO_OWNER=your_org_name
REPO_NAME=your_repo_name
GITHUB_TOKEN=your_github_token

Installation

uv run scraper