[PR #520] [MERGED] feat: add GitHub repository README tool for github plugin #1418

Closed
opened 2026-02-16 10:22:53 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/520
Author: @itning
Created: 3/20/2025
Status: Merged
Merged: 3/20/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (3)

  • 345a634 feat: add GitHub repository README tool and update dependencies
  • 502329d Merge remote-tracking branch 'origin/main'
  • 363ea69 refactor: rename GithubRepositoriesTool to GithubRepositoryReadmeTool for clarity

📊 Changes

5 files changed (+143 additions, -2 deletions)

View changed files

📝 tools/github/manifest.yaml (+1 -1)
📝 tools/github/provider/github.yaml (+1 -0)
📝 tools/github/requirements.txt (+1 -1)
tools/github/tools/github_repository_readme.py (+70 -0)
tools/github/tools/github_repository_readme.yaml (+70 -0)

📄 Description

New feature: Retrieve the content of a README file from a GitHub repository.

github api: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-a-repository-readme

image

image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/520 **Author:** [@itning](https://github.com/itning) **Created:** 3/20/2025 **Status:** ✅ Merged **Merged:** 3/20/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`345a634`](https://github.com/langgenius/dify-official-plugins/commit/345a6345cf444d6570f881e950ec1f07ea32a584) feat: add GitHub repository README tool and update dependencies - [`502329d`](https://github.com/langgenius/dify-official-plugins/commit/502329ddd5ca528c76b8cadc9684f4dd40fd0cf7) Merge remote-tracking branch 'origin/main' - [`363ea69`](https://github.com/langgenius/dify-official-plugins/commit/363ea69afa3b41b9fe85eccbbe6707bc46bb9d67) refactor: rename GithubRepositoriesTool to GithubRepositoryReadmeTool for clarity ### 📊 Changes **5 files changed** (+143 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/github/manifest.yaml` (+1 -1) 📝 `tools/github/provider/github.yaml` (+1 -0) 📝 `tools/github/requirements.txt` (+1 -1) ➕ `tools/github/tools/github_repository_readme.py` (+70 -0) ➕ `tools/github/tools/github_repository_readme.yaml` (+70 -0) </details> ### 📄 Description New feature: Retrieve the content of a README file from a GitHub repository. github api: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-a-repository-readme ![image](https://github.com/user-attachments/assets/730f5513-2d1a-4953-a6de-8e332a976f4f) ![image](https://github.com/user-attachments/assets/6d74f144-c6c7-45a3-a7d7-2130602cd540) ![image](https://github.com/user-attachments/assets/5b2cb833-8525-4a9c-8003-8e3de32dab3c) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:53 -05:00
yindo closed this issue 2026-02-16 10:22:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1418