{"id":26272151,"url":"https://github.com/zueai/github-subfolder-to-md","last_synced_at":"2025-10-28T10:11:04.114Z","repository":{"id":279229913,"uuid":"910131820","full_name":"zueai/github-subfolder-to-md","owner":"zueai","description":"simple commands to download any github repo subfolder with a combined-repo.md markdown file","archived":false,"fork":false,"pushed_at":"2024-12-30T15:28:20.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-13T19:06:30.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zueai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-30T15:15:39.000Z","updated_at":"2025-03-12T11:12:31.000Z","dependencies_parsed_at":"2025-02-24T14:29:43.045Z","dependency_job_id":"76bd09e2-e76b-4f78-b6ad-ca04bc5d31bc","html_url":"https://github.com/zueai/github-subfolder-to-md","commit_stats":null,"previous_names":["zueai/github-subfolder-to-md"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zueai/github-subfolder-to-md","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zueai%2Fgithub-subfolder-to-md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zueai%2Fgithub-subfolder-to-md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zueai%2Fgithub-subfolder-to-md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zueai%2Fgithub-subfolder-to-md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zueai","download_url":"https://codeload.github.com/zueai/github-subfolder-to-md/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zueai%2Fgithub-subfolder-to-md/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281419502,"owners_count":26497995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-14T07:17:06.020Z","updated_at":"2025-10-28T10:11:04.081Z","avatar_url":"https://github.com/zueai.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-subfolder-to-md\n\nSimple Bash script to save markdown files from any GitHub repository subfolder and combine them into a single markdown file. Useful for quickly creating markdown documentation context for open-source packages and libraries.\n\n## Installation\n\n```bash\n# Install dependencies (macOS)\nbrew install tree\n\n# Download the script to your home folder\ncurl -o ~/github-subfolder-to-md.sh https://raw.githubusercontent.com/zueai/github-subfolder-to-md/main/github-subfolder-to-md.sh\n\n# Make it executable\nchmod +x ~/github-subfolder-to-md.sh\n\n# Optional: Add to your PATH\necho 'export PATH=\"$HOME:$PATH\"' \u003e\u003e ~/.zshrc  # or ~/.bashrc\nsource ~/.zshrc  # or source ~/.bashrc\n```\n\n## Usage\n\n```bash\n~/github-subfolder-to-md.sh https://github.com/username/repo/tree/branch/subfolder-path\n```\n\nExample:\n\n```bash\n~/github-subfolder-to-md.sh https://github.com/remix-run/react-router/tree/main/docs\n```\n\nThis creates a combined markdown file named `username-repo-foldername-combined.md` in your current directory.\n\n## Dependencies\n\n- curl\n- jq\n- unzip\n- tree\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzueai%2Fgithub-subfolder-to-md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzueai%2Fgithub-subfolder-to-md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzueai%2Fgithub-subfolder-to-md/lists"}